stuff to buy!!

Tuesday, January 27, 2009

c:\documents and settings\user is not accessible access denied

I was working on this PC where the whole thing had gone down the crapper. I popped it into another PC, browsed to the files and bam.. no go.. error.. stop mr johnny five.

here's the error.

==
Documents and settings is not accessible. Access is denied.
c:\documents and settings\user is not accessible access denied

You must have permissions
==

Here is how I got it to work and the link, I didn't have to disable the File Sharing though, you may have to.


==

Prerequisites

Log on as an administrator

You must be logged on to Windows as an administrator in order to change security permissions for a file or a folder. If the computer is your personal computer, you are likely already logged on with an administrator account. If the computer is part of a network at work, you might have to ask the system administrator for help. To verify that you are logged on to Windows with a user account that is a computer administrator, visit the following Microsoft Web site:
http://support.microsoft.com/gp/admin (http://support.microsoft.com/gp/admin)

Start Windows XP Home Edition in safe mode

If you are running Windows XP Home Edition, you must start the computer in safe mode, and then log on with an account that has administrative rights in order to access the Security tab. Access to the Security tab is required in order to change security permission. If you are running Windows XP Professional, you do not have to start the computer in safe mode. For more information about how to start Windows XP in safe mode, click the following article number to view the article in the Microsoft Knowledge Base:
304449 (http://support.microsoft.com/kb/304449/ ) How to start the System Restore tool at a command prompt in Windows XP

Disable Simple File Sharing in Windows XP Professional

If you are using Windows XP Professional, you must disable Simple File Sharing. By default, Windows XP Professional uses Simple File Sharing when it is not joined to a domain. For additional information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
307874 (http://support.microsoft.com/kb/307874/ ) How to disable simplified sharing and set permissions on a shared folder in Windows XP

How to take ownership of a folder

You must have ownership of a protected folder in order to access it. If another user has restricted access and you are the computer administrator, you can access the folder by taking ownership.

To take ownership of a folder, follow these steps:
  1. Right-click the folder that you want to take ownership of, and then click Properties.
  2. Click the Security tab, and then click OK on the Security message (if one appears).
  3. Click Advanced, and then click the Owner tab.
  4. In the Name list, click your user name, or click Administrator if you are logged in as Administrator, or click the Administrators group. If you want to take ownership of the contents of the folder, select the Replace owner on subcontainers and objects check box.
  5. Click OK, and then click Yes when you receive the following message:
    You do not have permission to read the contents of directory folder name. Do you want to replace the directory permissions with permissions granting you Full Control?
    All permissions will be replaced if you click Yes.

    Note folder name is the name of the folder that you want to take ownership of.
  6. Click OK, and then reapply the permissions and security settings that you want for the folder and its contents.
==

==
http://support.microsoft.com/kb/308421
==

No comments:

Buy more Stuff!!!