Saturday, August 16, 2008

You receive an "Access is denied" error message when you try to access the Shared Documents folder in Windows XP

On a Windows XP-based computer that is using the NTFS file system, you can use the CACLS command to display or to modify the access control lists (ACLs) for directories and for files. To use the CACLS command to modify the ACLs of the Shared Documents folder in Windows XP, follow these steps:

1. Use administrative credentials to log on to Windows XP.
2. Click Start, click Run, type cmd, and then click OK.
3. At the command prompt, type the following commands, and then press ENTER after each command.

cd %allusersprofile%
cacls docume~1 /T /E /G everyone:F

OR

Try the registry edit solution

1. Start > Run > regedit.exe
2. Go to
HKEY_LOCAL_MACHINE
SYSTEM
CurrentControlSet
Control
Lsa
3. Change the value of a key called "restrictanonymous" to 0 instead of 1 or 2.
4. Don't change "restrictanonymoussam" value.
5. The value should be REG_DWORD and Hexadecimal Base. (That's the default for that key)
6. Restart your computer and access the resources on that PC, it should work properly.

It works with most XP Pro and Home Editions