Junction Points and Access Denied

On June 29, 2008, in Vista, by

Man I hate it when I am looking for a document and can’t find it, and I know I blogged about it.  It had to do with the changed folder locations in Vista and it made be go “oh, that’s why users is where it is and why I get an access denied when I click on My documents”.  But this will still give you an idea of what’s going on.

This document on MSDN is a great grid of the changes in junction points that you might want to print out and take a look at your Vista workstation or Server 2008.

AC: Junction Points and Backup Applications:

One of the things I hear a lot from folks about Vista is that they can’t find where things are or when they click on “my documents” they get an access denied even though they are an “Administrator”.

Security: New ACLs Improve Security in Windows Vista:

The reason for that is there in that document.. the junction points are just placeholders and there’s actually a deny in there.

Anytime you see a shortcut icon in the main root that’s not a real directory at all but a means to ‘trick’ the sucky app vendors that still need time to move to Vista

Vista IE7 Cache & Cookies Folder, Temp Directory and History Location » My Digital Life:

Another great document that showcases what things have moved where.

If you edit the file properties to allow you to see hidden file locations, then you can see where “my docs” and all the other stuff really is at.

Once you do that, then you can see where cookies and other files end up.  First browse to Users, <profile name> and you can see the true Documents folder under there.  See that “My documents” with a shortcut?  Again, that’s just a stub location. 

If you click on it, you’ll get an access denied. 

And that is  EXACTLY what is expected because there’s a deny there to ensure that it stays in place because the app vendors also expect it there.


And those three locations are based on the “risk” of where the data comes in from.  Roaming is where most of the main folders will end up.

But next time you get an “access denied” think of what is really going on under the hood in Vista.


One Response to Junction Points and Access Denied

  1. HandyAndy says:

    So this begs the question, how do you put them back if you deleted them in frustration :>)