Wednesday 25 April 2012

Windows 7 Search

http://msdn.microsoft.com/en-us/library/aa965711%28VS.85%29.aspx - Advanced Windows 7 Search Syntax Searching for a filename in Windows 7, prepend the search with filename: filename: Somefile.*

Thursday 27 January 2011

Changing System Restore Storage Space in Vista


vssadmin list shadowstorage - List ammount of shadow storage space

vssadmin resize shadowstorage /on=[drive letter]: /For=[drive letter]: /Maxsize=[maximum size]GB - Resize the shadow storage

vssadmin resize shadowstorage /on=C: /For=C: /Maxsize=15GB - Eg: Resize system restore space for drive C (using space on drive C) to 15GB.

Re-Enable Hibernate Option in Windows Vista

Found this trick here
In the command line type:
powercfg /hibernate on

Wednesday 10 November 2010

Blocked Files

Sometimes when you receive a file from another computer, say through live messenger or something similar, it ends up blocked. When you try to run it you get the following error "Windows cannot access the specified device, path, or file. You may not have the appropriate permission to access the item."

I found the solution here.

Right click in windows explorer on the item and then click on the "Unblock" button at the bottom as seen here:

Friday 26 March 2010

Symbolic Link Tools

Moving Apps or Games - Using symbolic links to make an app appear on one drive whilst they are stored on another
Shell based link tool
Looks like the most intuitive tool to me

Friday 7 August 2009

Symbolic Links in NTFS

How to use symbolic links in Vista
Tools for creating hard links in XP
See here as well

Using Junction


Junction tool for creating symbolic links
Use junction to list junctions:
Usage: [-s]
-s Recurse subdirectories
Examples:
To determine if a file is a junction, specify the file name:

junction c:\test

To list junctions beneath a directory, include the –s switch:

junction -s c:\

To create a junction c:\Program-Files for "c:\Program Files":

C:\>md Program-Files
C:\>junction c:\Program-Files "c:\Program Files"

To delete a junction, use the –d switch:

junction -d c:\Program-Files

Sunday 15 February 2009

IDE ATA and ATAPI disks use PIO mode after multiple time-out or CRC errors occur

These notes are taken from here

  1. In regedit.exe search for HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}
  2. Expand the registry node. You should see entries labeled "0000", "0001", "0002", etc.
  3. Double-click on each key entry and in the right side panel look for the subkey "DriverDesc". Verify that the "DriverDesc" reads "Primary IDE Channel" or "Secondary IDE Channel".
  4. Check to see if the registry entry "ResetErrorCountersOnSuccess" is already present and set to 1 (ie. "0x00000001"). If it is set to 0, double-click on "RestErrorCounterOnSuccess" and change the value to 1, close regedit, reboot your system, and after reboot check to see if DMA mode has been enabled.
  5. If "ResetErrorCountersOnSuccess" it is not present, then select the "Edit" menu, select "New" and click on "DWORD value".
  6. Enter the name "ResetErrorCountersOnSuccess" and press enter.
  7. Double-click on "ResetErrorCountersOnSuccess" and enter the value 1.
  8. Close regedit and reboot the system. After reboot, check the value of "Current Transfer Mode" for the channel(s) updated.