Ask Leo!

Why can't I access the Documents and Settings or Local Settings folders in Windows Vista?

Home » Windows » Windows Oddities

Summary: Two previously standard folders, "Documents and Settings" and "Local Settings", appear to be locked in Windows Vista. The reason: they've been moved.

I can not longer access the Documents and Settings folder or the Local Settings folder after my XP to Vista upgrade. I appear not have sufficient privileges yet I am the administrator (full access) or my local PC?

As best I can figure Microsoft is trying to make it very difficult to access those old folders.

Yes, I said "old folders". Apparently in Windows Vista, the folders have been moved. The information is elsewhere and fully accessible in the new location.

If you try to open "C:\Documents and Settings" in Windows Explorer on Vista, you're quite likely to get this error:

Location Not Available Error

Even if you're logged in as administrator you may still get that error.

The "problem" here is that Microsoft has apparently moved everything that used to be in "Documents and Settings" into a new folder called "Users". Open that and you'll probably get what you were expecting out of "Documents and Settings":

Windows Explorer open on the Users folder

In fact you may notice that "Documents and Settings" is displayed with a shortcut icon in Windows Explorer:

Shortcut icon on Documents and Settings

As you can guess, "Documents and Settings" is a shortcut to "Users", presumably present for compatibility reasons.

You can probably also guess what's happened with "Local Settings". Normally you'd find it in "c:\Documents and Settings\[user]\Local Settings". It's been moved to "c:\Users\[user]\AppData\Local":

Windows Explorer open on c:\Users\LeoN\AppData\Local

I don't know the specific reasons for the changes. One observation is that the "new" paths have no spaces in them, making me wonder if the old names were particularly problematic when configuring software to use these locations. That doesn't seem like enough of a reason, though, for a change of this magnitude.

In any case, if you get access denied at the old location, the solution is simple: go to the new location instead.

Related:

More articles about: Windows Oddities

Article Useful? Link to it from your own website; just copy/paste this HTML:

Article 11680 | Posted July 21, 2007

Recent Comments

WARNING! DEEPLY NERDY RESPONSE!

Now here's the weird part - the "My Documents" folder is kind of still there in Vista. It is now a hidden "Junction Point". A junction point is a hidden file pointer in NTFS. What does that mean to you? It means that older programs, which are hard coded to copy files to the My Documents directory, will be redirected to the new Documents folder in Windows Vista.

If you're really nerdy, you can try this test:
1) Create a test file
2) Start the cmd prompt
3) CD to your normal user directory - usually it is C:\Users\YourUserName
4) Now do this: cd "My Documents"
5) Weird, eh? You are moved into an "empty" directory???
6) copy your test file into this location from the CMD prompt
7) Perform a DIR - the file isn't there? Where is it?
8) Check your Vista Documents directory - there it is!

Where does this get to be a challenge? I use RoboCopy to back-up my documents onto a thumb-drive each day at work. This gives me a portable, readable image that is easy to work with. However, the "My Documents" junction point gives RoboCopy fits causing "Access Denied" errors. I had to add the /R:1 command line option to skip the error and continue with the MIRror.

Posted by: Dave B at July 24, 2007 08:07 AM

Guys, the solution for this is simple. You just have to take ownership of those folders (and there subfolders) in Vista. Then you will have full permission to access the content. Make sure your account has full access on the security settings and your current account is what holds the ownership permission and not "Administrator" (the one for XP)or whatever its set as by default.. Don't worry, if you are doing a dual boot, you can still access XP. The permission only changes in Vista.

Posted by: Chris at July 31, 2007 02:45 AM

Hi. Not all folders are accessible. The junction point folders will still say denied. No matter what you do. Because they are are virtual. You need to access then using the "Compatibility Files button". Which will lead you to the real folders in: C:\Users\User_name\AppData\Local\VirtualStore
The reason is to try to keep melware from being able to take control.

"Example" Here, IE7 running in protected mode utilizes this functionality so when you visit a webpage that tries to insert a file into the Startup folder, it instead is placed in the virtual startup folder and will not execute upon the next boot.

By placing them in a virtual folder. the system does not look for them on boot-up. But they are accessible by ways of the junction point folders. Which will always give you a "Denied" pop-up. No matter how you try to set them or your permissions.


Yes I know it's confusing, But that is how it's supposed to work.


JSKY

Posted by: JSKY at July 31, 2007 05:07 AM

One possible reason for changing the location is due to the fact that most Windows applications can't deal with path names greater than 255 characters and so shortening "Documents and Settings" to "Users" and shortening "My Documents" to "Documents" and shortening "My Documents\My Pictures" to just "Pictures" (and so on) saves on valuable characters that might be the difference between an application working or not working.

For example, if you tried to install Visual Studio 2003 Beta 1 from a folder on your desktop in Windows XP (assuming your username was your first and last name) there were files that would fail to install because of this limitation.

Posted by: Josh Einstein at August 3, 2007 02:06 PM

hi

i just got vista and was setting up permissions and got very confused by the
inability to access the documents and settings folder. I eventually figured
this out, but in the process i deleted some of these junction points. is
there a way to bring these back, and is it necessary??
many thanks

BCY

Posted by: bcy at August 16, 2007 11:51 AM

damn i hate vista. moving things does not a better program make.
what it did do was make all prior windows programs nonfunctioning under vista. other programs, 95, 98, 2000, millinum, nt, and xp will not even see vista and dont expect programs that run on them to run on vista.
so looking for programs where they used to be and finding the directory locked does nothing to increase performance.

Posted by: frank collins at October 10, 2007 08:45 AM

Ok, so I accidently fried my old mobo, (don't ask, but it involves an electric drill) so I hooked up my old hard drive to my new computer, to transfer the files.
Looking at the original article, I believe I did everything right.
Except I can't move my Outlook files and folders. It says I don't have permission to look, or move my .pst files and such. (local settings)
What did I miss?
I went thru and added myself, as administrator and as user for the security settings.
What did I miss?
Anyhelp would be GREATLY appreciated!

Posted by: Chez at November 9, 2007 02:50 AM

Leo and others...

I have known about the shortcut and hidden juntions but my question is, if I erase them will Vista still work ok?

Any ideas?

Posted by: Justin at November 27, 2007 11:59 PM

I found that the change in location, by Vista, can affect Movie Maker. It can return a "General access denied error". When this happens the registry has to be edited to change the location of the temporary files from C:\Users\Local Settings\Temp folder to one that is accessible. I created C:\Users\Temp as the folder. There may be other programs that have the same problem. I have not come across them. What is strange is that Movie Maker comes installed with the OS.

Posted by: David Grainger at January 13, 2008 04:15 PM

Hi all
I'm new with Vista. I'm trying to open the 'History' folder and also the 'temporary internet folder',however I was unable to open the folder. I tried many times by using 'properties' changing the share options but it didn't work. Any idea how to open thay both folder?
thank you.

Posted by: suyanto at July 18, 2008 08:31 AM

Post a comment on "Why can't I access the Documents and Settings or Local Settings folders in Windows Vista?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!


New!

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

Please wait. Your comment is being processed ...


Ask Your Question:


ask-leo.com
Web

Archives

By Category
By Date

Advertisers

Advertise on Ask Leo!

««   »»

Question? - Ask Leo!
Who is Leo?
Link to Leo!

Terms, Conditions & Privacy