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.

Wednesday, 21 January 2009

Disable Auto Play

Put the following in a registry file and execute it to disable AutoPlay on all drives
See more details here

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000ff


You can selectively drives with the following values (that can be 'Or'ed together)

Value Meaning
0x1 Disables AutoPlay on drives of unknown type
0x4 Disables AutoPlay on removable drives
0x8 Disables AutoPlay on fixed drives
0x10 Disables AutoPlay on network drives
0x20 Disables AutoPlay on CD-ROM drives
0x40 Disables AutoPlay on RAM disks
0x80 Disables AutoPlay on drives of unknown type
0xFF Disables AutoPlay on all kinds of drives

Thursday, 1 January 2009

Manually Installing/Uninstalling a Codec In Windows

To install

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
"something.XXX"="XXX.acm"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc]
"XXX.acm"="Some textual description here"


To uninstall

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
"something.XXX"=-

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc]
"XXX.acm"=-

Sunday, 27 April 2008

CACLS

Give full rights permissions to users on a directory
cacls {dir} /E /G BUILTIN\Users:F

For more details see here