Access Denied to Documents and Settings
Access Denied? But I'm an admin you say! You cannot access folders like "Local Settings", "My Documents" and "Application Data" because in Vista they are actually located elsewhere. The dim icons with the shortcut links you see are actually referred to as "Junctions". These junctions are used by Vista for compatibility but really just redirect programs to the proper location in Vista. Now it would be helpful if the Windows File Explorer treated these like shortcuts and took you to the new location, but instead you get the very intuitive "Not accessible" / "Access Denied" error, leaving you to think changing permissions may be a good idea. Don't. Leave them alone and let Vista do it's thing. As a savvy Vista user, you should go to the new "proper" location and identify these locations as legacy remnants of days past.

So what is what? Here is a quick dump from my system to help illustrate junction points and where they point programs…
Directory of C:\ProgramData
Application Data [C:\ProgramData]
Desktop [C:\Users\Public\Desktop]
Documents [C:\Users\Public\Documents]
Favorites [C:\Users\Public\Favorites]
Start Menu [C:\ProgramData\Microsoft\Windows\Start Menu]
Templates [C:\ProgramData\Microsoft\Windows\Templates]
Directory of C:\Users\Bob Kelly
Application Data [C:\Users\Bob Kelly\AppData\Roaming]
Cookies [C:\Users\Bob Kelly\AppData\Roaming\Microsoft\Windows\Cookies]
Local Settings [C:\Users\Bob Kelly\AppData\Local]
My Documents [C:\Users\Bob Kelly\Documents]
NetHood [C:\Users\Bob Kelly\AppData\Roaming\Microsoft\Windows\Network Shortcuts]
PrintHood [C:\Users\Bob Kelly\AppData\Roaming\Microsoft\Windows\Printer Shortcuts]
Recent [C:\Users\Bob Kelly\AppData\Roaming\Microsoft\Windows\Recent]
SendTo [C:\Users\Bob Kelly\AppData\Roaming\Microsoft\Windows\SendTo]
Start Menu [C:\Users\Bob Kelly\AppData\Roaming\Microsoft\Windows\Start Menu]
Templates [C:\Users\Bob Kelly\AppData\Roaming\Microsoft\Windows\Templates]
Curious about your own particular system? While replacing my name with your own will likely do the trick, you can see just what your system thinks of these junction points by opening a command prompt as administrator and using the /al switch provided by the DIR command. Navigate you way to the folder in which you want to look and run "dir /al" or from the root run "dir /al /s" to dig through all the directories on your system.

Email This!
Digg it!
Del.icio.us
Reddit!
Newsvine
Comments
Hi, can you give me a tip how to solve this? i have same problem, but i don't how to solve it. can you give me a help?
thks
Posted by: Nemo | May 12, 2007 3:50 PM
It is not really a "problem" to be fixed, you just need to go to the proper Vista path and not the XP path. If you cannot find it, let me know what it is you are looking for and I can be more specific.
Posted by: Bob | May 19, 2007 8:01 AM
Hey Bob, I was just wondering where I can find my cookies. I did a search to find my AppData folder and followed your pathway. But once I got to the Windows folder, the cookies folder was not there. Any idea why?
Posted by: MasterfulGamer | May 21, 2007 11:05 PM
Could be a few confusing issues, but by default you should find your cookies right here:
C:\Users\\AppData\Roaming\Microsoft\Windows\Cookies
Posted by: Bob | May 22, 2007 1:52 AM
My Vista Ultimate WMP11 library database is corrupt and I'm trying to find
%userprofile%\Application Data\Microsoft\Media Player
which I'm guessing would be
%userprofile%\AppData\Roaming\Microsoft\Media Player
but it doesn't exist, where would it be?
Thanks
Posted by: Dredd | May 25, 2007 1:35 PM
Dredd,
I think what you are looking for is AppData\Roaming but I would suggest making use of the search feature of Vista to find what you are looking for-- there are local and roaming appdata folders, plus the ProgramData folder for all users so it can get confusing. Vista "search" is your friend!
Posted by: Bob | May 26, 2007 7:54 AM
I found it the location is
%userprofile%\AppData\Local\Microsoft\Media Player
Thanks for your help
Posted by: Dredd | May 27, 2007 8:37 AM
I bought a home vista premium PC. this computer is giving me too many prpblems. As for one example: I want to listen to a music, from a web site program but the computer is mute. How do i solve the problem.
There are many other problems to follow. Let me have this one solved first.
Thanks
Posted by: Elizabeth | May 27, 2007 11:10 PM
Elizabeth,
Unless you find an article here discussing the problem and have questions about it, please share your other problems in the forums.
As fro music being muted, first be sure that your audio card drivers are properly installed by going to pressing the "start orb" and typing "Device Manager". This tool will want permission to run as admin and you'll have to grant it. If you see any question mark icons in this tree, they indicate hardware problems. For sound to work, you should see at least one sound device under "Sound, video and game controllers" such as "High Definition Audio Device". If you double-click on it you should see the device status as "This device is working properly."
If you don't see any problems so far, then we can assume things aren't plugged in correctly, powered on correctly or you do have a muting problem.
In Vista, audio can be adjusted on a per application basis. So take a look at the volume mixer by clicking the volume icon at the bottom left of your screen in the notification area (by the time) and clicking the "mixer". Here you should see the volume settings for running applications. When muted, you'll see the little circle with a line through it icon in the volume button at the bottom of the slider control and it may be "blacked out" to further show it is not on. Clicking the volume button at the bottom of each slider flips the application between mute on and off.
Still stuck? Report how things have gone with the above suggestions in the forum and I'll be happy to assist!
Posted by: Bob | May 29, 2007 7:12 AM
Is there a list of all the Junctions Points for Vista because I deleted some of them, mainly from the root directory, not knowing they were important. I thought they were leftovers from my WinXP OS.
Posted by: Brian | June 9, 2007 8:41 PM
Nevermind. I found them. Thanks anyways!
Posted by: Brian | June 10, 2007 11:27 AM
Hello There.
This may be off track a bit, but related ...
I am attempting to create a very simple service like the BeepService where a timer fires every three seconds from within a Windows Service running on Vista RTM. Upon elapse of the timer the service simply calls a Beep API. Results ... No exceptions generated from either method; Marshal.GetLastWin32Error returns 0; I have tried Win32.MessageBeep, Console.Beep, and System.Media.SystemSounds.Beep.Play to no avail. Installing the service on XP, it beeps beautifully. I have done a significant amount of research and am fairly confident that that Vista's "Windows Services Hardening" is causing the issue. I think the solution is to somehow grant the "BeepService" access to the audio system using its SID. However, I cannot find out how to do so.
Any help on this topic would be greatly appreciated.
Richard
Posted by: Richard | June 15, 2007 6:57 PM
Richard,
I'm afraid you've found your way outside my area of expertise, perhaps someone else can chime in? The forum is probably the best place for a discussion like this.
It is my understanding that services can no longer interact directly with the desktop and I think this may fall under a similar limitation. The new Vista way of doing things requires that you have a service process and a user process and they speak to each other (the service cannot access the user space directly anymore).
Hope this helps,
Bob
Posted by: Bob | June 19, 2007 9:26 AM
Nemo,
Your description of the Vista problem relating to demined access accurately describes my problem. I have dimmed icons with a shortcut symbol, but I alway received an "Access Denied" error.
Your explanation of the problem was very good. But you explanation of the solution was a bit cryptic.
My problem is a bit different in that my server crashed just after I installed Vista and I had to create new user names to reestablish the trust between the workstations and the server. When I did that, some of my key directors are now access denied problems. So I wasn't trying to upgrade from XP but rather from one user name to another.
Now some of the directories in both the old user name and the new user name are locked.
Can you be more specific about how to resolve the problem you described?
Thanks
Posted by: FMB | July 3, 2007 10:58 AM
I can't access my cookies folder in the documents and settings folder on windows xp. Also I can't enter any site that requires me to give a log in name and password, even though the information I give is correct. Can you help?
Posted by: Andrew | July 7, 2007 7:11 PM
Andrew,
Not really a Vista problem, but I think the solution would be the same: starting on the premise that this is an actual folder location and not a pointer as described above (for Vista)-- as an administrator right-click on the folder and choose Properties. Click the security tab and manipulate who has access from here. If necessary "Take Ownership" of the folder and its files to open it up as you wish.
Posted by: Bob Kelly | July 9, 2007 2:07 PM
Dear Bob: My Vista system does NOT have clear text. The letters are not sharp and often the "i" is so faint as to be nearly invisable. Everything prints just fine but the on-screen presentation is faded and unclear. Can you tell me why?
Posted by: Keith K. Wheeler | July 13, 2007 3:54 PM
I'm trying to get into my cookies file one my computer. I've used it on several differant computers before and have never been denied access, but now with this windows vista it's denying me. I just want to know how I can reset it so it will allow access. Thanx.
Posted by: ashley | July 15, 2007 5:58 PM
Keith,
This is pretty off topic, but the most common reason I see this on systems is due to the resolution settings for the video card.
1) right click the desktop and choose "personalize"
2) click "display settings"
3) move the slider marked "resolution" to the right a bit and hit apply.
Repeat step #3 until it looks good. LCD screens can look great, but can look very bad if they are not set to their optimal configuration. Often when you power your screen on it will tell you what the desired/correct resolution is.
If you need more help, please ask in the forum:
http://www.realtime-vista.com/forum/
Posted by: Bob Kelly | July 17, 2007 1:40 PM
Ashley,
If you are looking at the thing that looks like a shortcut to a cookies folder, that is a Junction as described above. Instead of trying to use this, go to the actual location:
C:\Users\\AppData\Roaming\Microsoft\Windows\Cookies
You should have full control of this folder as the logged on user.
Posted by: Bob Kelly | July 17, 2007 1:44 PM
hello every one,,,
i have a acer aspire 5610 with windows vista home premium.it was doing gud.. untill i found out that am not able to access my cd/dvd rom drive.. it reads the cd/dvd but does not show the contents... it says" you do not have permission to view or edit the object;s permission settings" under the security tab... two of us are using the computer.. both asmin account.... can anyone please give me a solution. i have tried changing the owership also.. noavail.....
my enail id: mkarthik123@gmail.com
Posted by: karthik | July 24, 2007 3:10 AM
karthik,
I never heard of this-- I would guess that it is another problem reporting itself as a permission problem. Have you tried multiple disks? If you are working with a writeable disk it could be that it is trying to open it for writing and that is where your lack of permission lay. I'd try a vendor [silver] CD if you have not already to eliminate this as the potential cause of your issues.
Posted by: Bob Kelly | July 24, 2007 9:29 AM
HI
Bob, in his post said he is looking for
a list of all the Junctions Points for Vista because he deleted some of them, mainly from the root directory, not knowing they were important. He then says "nevermind" he found them. Well i deleted them, but i can't find them! So any one know where the list is??
thanks
BCY
Posted by: BCY | August 16, 2007 1:36 PM
You can generate a list of your junction points by following the instructions in the last paragraph of the article. If you mean you deleted an actual Junction and need to restore it, I'm not aware of any tricks. They should have been protected by security.
I would check your recycle bin to see if you might be very lucky. Or perhaps Volume Shadow copy could save the day.
Posted by: Bob Kelly | August 16, 2007 3:42 PM
here is teh problem to that anoying problem i just solved it too all you have to do is go to
MYcomputer>>> right click on it >>> open properties>>> click the security tab>>> press continue>>>> highlight the system option and make sure the full access option is checked .
if this doesnt fix your problem then i am so sorry this worked for me
Posted by: Tm ichigo | August 19, 2007 8:11 AM
I've installed a small game that I used to have on my XP. It's Mr Matt; some of you may be familiar with it? When you download more game files for it, they are placed on the desktop, and then you open Mr Matt, go to file and select install MM games. It then searches for games and installs them... normally.
I have allowed all users, myself, SuperAdministrator (myself) and System full access to the game, but after finding the games and attempting to install, I get "access denied!" By now, I'm so confused, I don't know who to give ownership to or if the problem is the location or what? All of the full access boxes are checked except for the last one and I don't know how to check it!
Can anyone help, please????
Posted by: Gigi | August 19, 2007 6:15 PM
Not sure what you mean Tm. It isn't a real problem, it is just the way Vista works. Also, there is no My Computer in Vista. If you right click and pick properties on Computer, you'll get a control panel applet that does not have tabs (no "security" tab).
Posted by: Bob Kelly | August 20, 2007 10:11 AM
Gigi,
Most likely the problem is that you need to right click on the setup file and choose "Run as Administrator". Most setups do this automatically, but if for example the setup file does not contain the word "setup" or "installation" and is not otherwise "Vista Aware" you'll have to perform this right-click operation to get it installed with sufficient privileges.
Hope this helps.
Posted by: Bob Kelly | August 20, 2007 10:15 AM
Bob, I'm only running Vista Basic which came on my new PC. The zip files don't have the option of running as Administrator. Only the game does. I installed the game easily enough, after making it to run as XP, and I even went to all the zip properties just now to give all permissions to Administrator.
I would really appreciate it if you would download the game and try yourself and see what you can do to fix things. Would you, please? It can be found at www.wrotniak.net. Like I said, I've had this game for ten years and had no problems until this stinking Vista! :)
Posted by: Gigi | August 20, 2007 1:28 PM
I downloaded your game and it seemed to work fine for me. Seems very old, so I'm suprised it did work. I did not have to run it any special way, but I have disabled data execution prevention (DEP) on my system. That is my best guess as to what is different between our systems. I don't want to recommend disabling security features, but I found it necessary for myself:
Disabling Data Execution Prevention
Posted by: Bob Kelly | August 22, 2007 12:55 PM
Hello.
I have a Toshiba P105-S6104 laptop with Vista Ultimate. I have administrator access.
One day for no apparent reason, I was not able to access anything. When I open Computer, the C drive says Access denied (c). Any idea what might be going on here?
Posted by: Per Hansen | September 4, 2007 1:20 AM
Per Hansen,
Ouch. You cannot even view the C drive? Without elevated privileges you should not be able to write to the root drive, but if you could not view the C drive I wouldn't expect much of anything to work properly.
Do you have malware detection and antivirus products installed and up to date on your system? If not, I would start there (if you can). I often think it is a cop-out to blame problems on a "possible virus" but if you suddenly cannot access anything including the C drive-- something has gone very wrong.
Do you have another account you can log in with? To install anti-malware/anti-virus software on this system, you may need to log on as administrator (not very straight-forward on Vista, click here for details).
If you want to offer more information to discuss your problem in better detail, please take this question to the forums here: http://www.realtime-vista.com/forum
Posted by: Bob Kelly | September 4, 2007 10:09 AM
Hi Bob, I am trying to link EndnoteX with a word document. I use Vista. I can't find anyway to do this. I'm wondering if Vista's new referencing ability means that it doesn't allow connection to Endnote now? Hope that's not too confusing. Thanks Kathryn
Posted by: Kathryn | September 9, 2007 1:13 AM
Kathryn,
I'm afraid I don't have any experience with EndnoteX. I'm happy to help, but I'm not sure this is the best place for a discussion. Lets move it over here:
http://www.realtime-vista.com/forum
Please provide any details about the program and what you mean by linking (pasting an embedded object, shortcut, etc.).
Posted by: Bob Kelly | September 10, 2007 12:15 PM
I moved my the location of my Favorites folder from the default under C:\users\username to F:\. (I use FolderShare to replicate my Favorites across a couple of different PCs,so I put them in a seperate area). However, when I try to create a new Favorite (CTRL-D) in IE or drag/drop the url in the Favorites Center window pane I get the Access is Denied error message. I checked the permissions and all is good. I am an administrator, too. (Vista Home Premium / Build 6000).
thanks,
Jim
Posted by: Jim Stalder | September 13, 2007 6:59 AM
Solved my own problem. I right-moused on Favorites, clicked Location, saw F:\ in the location, but clicked on Find Target anyway -- which brought up F:\ (as expected). I then went back to IE and tested and all worked great. Makes no sense to me, but it worked... Credit to : http://thevistaforums.com/lofiversion/index.php/t15646.html for "Find Target" tip. (Assuiming that fixed it, for some unknown reason).
thanks,
Jim
Posted by: Jim Stalder | September 13, 2007 7:12 AM
I need to install an application, which requires access to c:\ (root), and I'm not allowed to install (access denied). Is this also a junction, or some other permission thing (I am Administrator). Does anyone have an idea?
Rgds
G. Halvorsen
Posted by: G. Halvorsen | September 28, 2007 9:07 AM
If the name of the setup contains install or setup (see here for more), then it should elevate automatically but if you are seeing access denied it must not be working. You'll need to run the setup as administrator (even though you are logged in as an administrator). In Vista, even admins run as users until they tell the system otherwise.
Posted by: Bob Kelly | September 28, 2007 3:46 PM