Can't Access the Documents and Settings folder

G

glamart

Any reason why Documents and Settings folder can't be accessed? I
tried to change permissions for the folder (including in Safe Mode)
and got access denied?
Any ideas will be appreciated.
 
W

wwwmikey

Any reason why Documents and Settings folder can't be accessed? I
tried to change permissions for the folder (including in Safe Mode)
and got access denied?
Any ideas will be appreciated.

You have to take ownership of the folder before you can edit it. By
default "system" owns the folder not administrator so you do no have
rights to access the folder.
Right click and go to properties then security and give the
administrator ownership.
 
D

dean-dean

Vista has hidden junctions, which, in Windows Explorer, are shown as hidden
shortcuts, with File Folder properties; they are used, in part, to redirect
program installations that rely on the old XP folder names and XP
locations). "Documents and Settings" is one of those junctions, and not a
folder as such (and yes, when clicked on, will give you an "access denied"
message). For more info, see:

http://www.devsource.com/article2/0,1895,1999637,00.asp
 
B

Bruce Sanderson

What I don't see in the page dean-dean referred you to is that the folder
called "Users" is essentially a replacement for "Documents and Settings".

The reason you get access denied on the Junctions is becuase of the "Deny"
permission for the "Everyone" group. Some people have suggested removing
this, but Microsoft recommends not doing so becuase it can result in infinte
loops in some applications.
 
R

Rock

glamart said:
Any reason why Documents and Settings folder can't be accessed? I tried to
change permissions for the folder (including in Safe Mode) and got access
denied?
Any ideas will be appreciated.

You don't need access to this folder, among others. Why? Because all it
contains is a pointer to the actual folder in Vista where the files are
kept. Vista has certain folders that are the same as in XP. They are in
Vista for compatibility purposes for legacy software, however they don't
hold actual data. They are what is called a junction point (similar to a
shortcut). All it contains is a pointer. You should not change the access
permissions on these folders. It could cause problems for legacy apps.

Any folder that is shown dimmed with the shortcut arrow and gives an access
denied message is one of these. To see the actual folder it points to open
an elevated command prompt (from Start type in cmd, then right click on it
at the top and choose Run as Administrator). Navigate to the folder that
has the folder in question and give the command
dir /al

Junctions are indentified by <Junction> and the folder it points to is
listed at the end of the line in brackets. For Documents and Settings the
real folder is C:\Users.

From a post by Jimmy Brush, MVP, here is a list of all these folders

Windows XP Location Windows Vista Location
\Documents and Settings \Users
\Documents and Settings\$USER$\My Documents \Users\$USER$\Documents
\Documents and Settings\$USER$\My Documents\My Music \Users\$USER$\Music
\Documents and Settings\$USER$\My Documents\My Pictures
\Users\$USER$\Pictures
\Documents and Settings\$USER$\My Documents\My Videos
\Users\$USER$\Videos
\Documents and Settings\$USER$\Application Data
\Users\$USER$\AppData\Roaming
\Documents and Settings\$USER$\Cookies
\Users\$USER$\AppData\Roaming\Microsoft\Windows\Cookies
\Documents and Settings\$USER$\Local Settings
\Users\$USER$\AppData\Local
\Documents and Settings\$USER$\NetHood
\Users\$USER$\AppData\Roaming\Microsoft\Windows\Network Shortcuts
\Documents and Settings\$USER$\PrintHood
\Users\$USER$\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
\Documents and Settings\$USER$\Recent
\Users\$USER$\AppData\Roaming\Microsoft\Windows\Recent
\Documents and Settings\$USER$\SendTo
\Users\$USER$\AppData\Roaming\Microsoft\Windows\SendTo
\Documents and Settings\$USER$\Start Menu
\Users\$USER$\AppData\Roaming\Microsoft\Windows\Start Menu
\Documents and Settings\$USER$\Templates
\Users\$USER$\AppData\Roaming\Microsoft\Windows\Templates
\Documents and Settings\$USER$\Local Settings\Application Data
\Users\$USER$\AppData\Local
\Documents and Settings\$USER$\Local Settings\History
\Users\$USER$\AppData\Local\Microsoft\Windows\History
\Documents and Settings\$USER$\Local Settings\Temporary Internet Files
\Users\$USER$\AppData\Local\Microsoft\Windows\Temporary Internet Files
\Documents and Settings\All Users \ProgramData
\Documents and Settings\All Users\Application Data \ProgramData
\Documents and Settings\All Users\Desktop \Users\Public\Desktop
\Documents and Settings\All Users\Documents \Users\Public\Documents
\Documents and Settings\All Users\Favorites \Users\Public\Favorites
\Documents and Settings\All Users\Start Menu
\ProgramData\Microsoft\Windows\Start Menu
\Documents and Settings\All Users\Templates
\ProgramData\Microsoft\Windows\Templates
\Documents and Settings\Default User \Users\Default "
 
R

Rock

You have to take ownership of the folder before you can edit it. By
default "system" owns the folder not administrator so you do no have
rights to access the folder.
Right click and go to properties then security and give the
administrator ownership.

You don't need to access that folder (or several others). They are just
junction points that contain pointers to the actual folder where the files
are kept. See my reply to the OP.
 
G

glamart

Great info - thanks to all!
--

You have to take ownership of the folder before you can edit it.
By
default "system" owns the folder not administrator so you do no
have
rights to access the folder.
Right click and go to properties then security and give the
administrator ownership.
 
G

glamart

I was wondering about "Users" also - thanks!
--

Bruce Sanderson said:
What I don't see in the page dean-dean referred you to is that the
folder called "Users" is essentially a replacement for "Documents
and Settings".

The reason you get access denied on the Junctions is becuase of
the "Deny" permission for the "Everyone" group. Some people have
suggested removing this, but Microsoft recommends not doing so
becuase it can result in infinte loops in some applications.

--
Bruce Sanderson MVP Printing
http://members.shaw.ca/bsanders

It is perfectly useless to know the right answer to the wrong
question.
 
G

glamart

Good info - thanks!
--

Rock said:
You don't need access to this folder, among others. Why? Because
all it contains is a pointer to the actual folder in Vista where
the files are kept. Vista has certain folders that are the same
as in XP. They are in Vista for compatibility purposes for legacy
software, however they don't hold actual data. They are what is
called a junction point (similar to a shortcut). All it contains
is a pointer. You should not change the access permissions on
these folders. It could cause problems for legacy apps.

Any folder that is shown dimmed with the shortcut arrow and gives
an access denied message is one of these. To see the actual
folder it points to open an elevated command prompt (from Start
type in cmd, then right click on it at the top and choose Run as
Administrator). Navigate to the folder that has the folder in
question and give the command
dir /al

Junctions are indentified by <Junction> and the folder it points
to is listed at the end of the line in brackets. For Documents
and Settings the real folder is C:\Users.

From a post by Jimmy Brush, MVP, here is a list of all these
folders

Windows XP Location Windows Vista Location
\Documents and Settings \Users
\Documents and Settings\$USER$\My Documents
\Users\$USER$\Documents
\Documents and Settings\$USER$\My Documents\My Music
\Users\$USER$\Music
\Documents and Settings\$USER$\My Documents\My Pictures
\Users\$USER$\Pictures
\Documents and Settings\$USER$\My Documents\My Videos
\Users\$USER$\Videos
\Documents and Settings\$USER$\Application Data
\Users\$USER$\AppData\Roaming
\Documents and Settings\$USER$\Cookies
\Users\$USER$\AppData\Roaming\Microsoft\Windows\Cookies
\Documents and Settings\$USER$\Local Settings
\Users\$USER$\AppData\Local
\Documents and Settings\$USER$\NetHood
\Users\$USER$\AppData\Roaming\Microsoft\Windows\Network Shortcuts
\Documents and Settings\$USER$\PrintHood
\Users\$USER$\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
\Documents and Settings\$USER$\Recent
\Users\$USER$\AppData\Roaming\Microsoft\Windows\Recent
\Documents and Settings\$USER$\SendTo
\Users\$USER$\AppData\Roaming\Microsoft\Windows\SendTo
\Documents and Settings\$USER$\Start Menu
\Users\$USER$\AppData\Roaming\Microsoft\Windows\Start Menu
\Documents and Settings\$USER$\Templates
\Users\$USER$\AppData\Roaming\Microsoft\Windows\Templates
\Documents and Settings\$USER$\Local Settings\Application Data
\Users\$USER$\AppData\Local
\Documents and Settings\$USER$\Local Settings\History
\Users\$USER$\AppData\Local\Microsoft\Windows\History
\Documents and Settings\$USER$\Local Settings\Temporary Internet
Files
\Users\$USER$\AppData\Local\Microsoft\Windows\Temporary
Internet Files
\Documents and Settings\All Users \ProgramData
\Documents and Settings\All Users\Application Data
\ProgramData
\Documents and Settings\All Users\Desktop
\Users\Public\Desktop
\Documents and Settings\All Users\Documents
\Users\Public\Documents
\Documents and Settings\All Users\Favorites
\Users\Public\Favorites
\Documents and Settings\All Users\Start Menu
\ProgramData\Microsoft\Windows\Start Menu
\Documents and Settings\All Users\Templates
\ProgramData\Microsoft\Windows\Templates
\Documents and Settings\Default User \Users\Default "
 
D

dean-dean

Quoting the article mentioned in my previous post:

"I haven't talked with anyone who has a good idea about why Microsoft made
the "Documents and Settings" folder in Vista a junction. The only idea I've
come up with is that some applications had problems accessing folders with
spaces in the name. You'll find the settings in the "Users" folder now; the
'Documents and Settings' folder is a thing of the past."
 
R

Rock

smrtchld104 said:
I recently installed Vista on a new hard drive, but in a quest to pull
some data pictures and backgrounds off of my old windows xp harddrive i
put it in a usb enclousure. I've since switched back to my XP load and
vista is on a different Physical drive, and nothing else has changed
except for opening my pictures folder in vista. I now can't access the
My pictures folder in XP. It says "access denied" but if i know the
exact path i can open files from command line, but can't browse the my
pictures folder and the size is 0 kbytes.
What did i do to my permissions and i do i reset them in xp to continue
using xp?

This really is best posted in an XP newsgroup since it deals with
permissions in XP, but in any event, in XP from Start | Help and Support
search on Ownership and Permissions or see these articles.

HOW TO: Take Ownership of a File or Folder in Windows XP
http://support.microsoft.com/?id=308421

How to set, view, change, or remove file and folder permissions in Windows
XP
http://support.microsoft.com/kb/308418/en-us

How to set, view, change, or remove special permissions for files and
folders in Windows XP
http://support.microsoft.com/kb/308419/en-us

Also if needed see:
http://www.dougknox.com/
Win XP Tips
How Do I Get the Security Tab in Properties?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top