Microsoft KB Archive/810881

= &quot;Access is Denied&quot; Error Message When You Try to Open a Folder =

Article ID: 810881

Article Last Modified on 6/23/2005

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition

-





SYMPTOMS
When you try to open a folder in Microsoft Windows XP, you may receive the following error message, where  is the name of the folder that you cannot open:

is not accessible. Access is denied.



CAUSE
This issue may occur if the folder that you cannot open was created on an NTFS file system volume by using a previous installation of Windows, and then installing Windows XP. This issue may occur although you enter the correct user name and password. This issue occurs because the security ID for the user has changed. Although you use the same user name and password, your security ID no longer matches the security ID of the owner of the folder that you cannot open.

For example, although you use the same user name and password, you may no longer have permission to open the folder after you complete the following steps:
 * 1) Before you install Windows XP Professional, you change the actual location, or target location, of the My Documents folder to another volume.
 * 2) You format the primary partition.
 * 3) You install Windows XP Professional.



RESOLUTION
To resolve this issue, you must turn off Simple File Sharing, and then take ownership of the folder:  Turn off Simple File Sharing:  Click Start, and then click My Computer. On the Tools menu, click Folder Options, and then click the View tab. Under Advanced Settings, click to clear the Use simple file sharing (Recommended) check box, and then click OK.  Right-click the folder that you want to take ownership of, and then click Properties.</li> Click the Security tab, and then click OK on the Security message, if one appears.</li> Click Advanced, and then click the Owner tab.</li> In the Name list, click your user name, Administrator if you are logged in as Administrator, or click the Administrators group.

If you want to take ownership of the contents of that folder, click to select the Replace owner on subcontainers and objects check box.</li> Click OK.

You may receive the following error message, where  is the name of the folder that you want to take ownership of:

You do not have permission to read the contents of directory. Do you want to replace the directory permissions with permissions granting you Full Control? All permissions will be replaced if you press Yes.

</li> Click Yes.</li> Click OK, and then reapply the permissions and security settings that you want for the folder and the folder contents.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For additional information about file and folder permissions, click the following article number to view the article in the Microsoft Knowledge Base:

161275 Interaction of file and folder security on NTFS volumes

Keywords: kberrmsg kbprb kbfix KB810881

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.