Link to home
Start Free TrialLog in
Avatar of alk444
alk444Flag for United States of America

asked on

access denied to My Pictures

i have a new windows 8 laptop [lenovo Z580]

i put a shortcut to C:\Users\Mike\Documents on the desktop.

i can create files and folders in C:\Users\Mike\Documents either via the shortcut or by navigating to it in windows explorer.

but if i try to open My Pictures [or any of the 'My...' items],
i get a box labeled
'Location is not available'
      saying
C:\Users\Mike\Documents\My Pictures is not accessible
access is denied

i checked the permissions and i have full control etc.

why is this happening and what can i do about it?
Avatar of John
John
Flag of Canada image

If you copied the folders and files from another computer, it may not recognize the source userid. That happened with Windows 7 as well.

See if, as administrator, you can give your Windows 8 username full rights and control to your user folder and all folders under it.

Try this test. Make a folder c:\temp in Windows 8. Right click on c:\temp and give "Everyone" full control to the folder.  Now copy some files into from Mike. Can you open them?

.... Thinkpads_User
Avatar of rindi
Don't use those "My ..." Folders, they are only links to the actual folders, which don't have the "My" in front of them. So just use the "Pictures", "Music", "Videos" Folders, or use the Libraries, which also show the correct locations.

The "My ..." Links are only there so that old software that was written for XP gets properly redirected, but you don't need them.
The "My Documents" link is a symbolic link for compatibility purposes.  However, Microsoft has revoked folder listing permissions from the link "My Pictures" because backup software and any other disk copy software would backup the contents of Pictures at least twice because it looks like two valid locations with identical files.

If however you were to key in a full path to save or edit picture to an existing name that included "My Documents" - it would work fine.

You can verify this by examining the permissions on the symbolic link C:\users\user\Documents\My Pictures.

You are only seeing these links because you have enabled the ability to see hidden OS files.

You can see that this is a hidden symbolic link by opening a cmd prompt to C:\users\user\documents and typing "dir /aL"  (/aL = attribute:link).

The My Pictures folder was also MOVED to the root of your profile, so you will see that the link C:\Users\User\Documents\My Documents points to C:\Users\User\Pictures.

Software that is written correctly to ask Windows where the pictures folder is will be directed to C:\Users\User\Pictures.  Software that ASSUMES the XP location will attempt to access C:\Documents and Settings\User\My Pictures and be forwarded to the new location C:\Users\User\Pictures.

The only time this breaks old software is if the software tries to list the files in the old location: C:\Documents and Settings\User\My Pictures
Avatar of alk444

ASKER

CSI-Windows_com

your description seems to fit win7, but i can't find the non-My... folders.
i used both windows search and 'everything' [from voidtools].
is win8 different?
see attached .png's of C:\users\mike
Capture2.PNG
Capture.PNG
Windows 8 is the same as Windows 7 in this regard. I have both systems running.

Look in Libraries at the top and see if you can open Documents and navigate from there. This is the "real" location and you might find Pictures under Documents within Libraries.

Try that.

Also please let us know if you copied these from another machine (meaning permissions might be an issue.

... Thinkpads_User
As was mentioned before put the checkmark BACK in properties hide protected operating system files (recommended)

windows 8 works the same as windows 7 re: displaying the file system and access.

Did you have Windows 7 before or Windows XP?
If you look at your screen shots, you'll see a little bent arrow in front of some folders. All of those are links and not real folders.
Pictures (and Videos and Music) move from "C:\Documents and Settings\UserID\My Documents\My Pictures" up one entire level to C:\Users\UserID\Pictures

To get a complete list of these types of links do this command from the root of C:

dir /aL /s > AllAppCompatSymLinks.txt
Avatar of alk444

ASKER

first some background:

this machine is a brand new windows 8 system from lenovo.
it has never had windows 7 or xp on it.
i have not copied any files or folders from any other machine to it.
i have another win7 machine and am [a little] familiar with 'junctions'
i am setting up this machine for my grandson and would like to avoid libraries, because i like to know where things really are.
i have installed start8 [from http://www.stardock.com/products/start8/ ], but this problem existed before start8.

here is allappcompatsymlinks.txt

 Volume in drive C is Windows8_OS
 Volume Serial Number is 5EC7-27F3

 Directory of C:\

07/26/2012  01:22 AM    <JUNCTION>     Documents and Settings [C:\Users]
               0 File(s)              0 bytes

 Directory of C:\ProgramData

07/26/2012  01:22 AM    <JUNCTION>     Application Data [C:\ProgramData]
07/26/2012  01:22 AM    <JUNCTION>     Desktop [C:\Users\Public\Desktop]
07/26/2012  01:22 AM    <JUNCTION>     Documents [C:\Users\Public\Documents]
07/26/2012  01:22 AM    <JUNCTION>     Start Menu [C:\ProgramData\Microsoft\Windows\Start Menu]
07/26/2012  01:22 AM    <JUNCTION>     Templates [C:\ProgramData\Microsoft\Windows\Templates]
               0 File(s)              0 bytes

 Directory of C:\Users

07/26/2012  01:22 AM    <SYMLINKD>     All Users [C:\ProgramData]
07/26/2012  01:22 AM    <JUNCTION>     Default User [C:\Users\Default]
               0 File(s)              0 bytes

 Directory of C:\Users\All Users

07/26/2012  01:22 AM    <JUNCTION>     Application Data [C:\ProgramData]
07/26/2012  01:22 AM    <JUNCTION>     Desktop [C:\Users\Public\Desktop]
07/26/2012  01:22 AM    <JUNCTION>     Documents [C:\Users\Public\Documents]
07/26/2012  01:22 AM    <JUNCTION>     Start Menu [C:\ProgramData\Microsoft\Windows\Start Menu]
07/26/2012  01:22 AM    <JUNCTION>     Templates [C:\ProgramData\Microsoft\Windows\Templates]
               0 File(s)              0 bytes

 Directory of C:\Users\Default

07/26/2012  01:22 AM    <JUNCTION>     Application Data [C:\Users\Default\AppData\Roaming]
07/26/2012  01:22 AM    <JUNCTION>     Cookies [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Cookies]
07/26/2012  01:22 AM    <JUNCTION>     Local Settings [C:\Users\Default\AppData\Local]
07/26/2012  01:22 AM    <JUNCTION>     My Documents [C:\Users\Default\Documents]
07/26/2012  01:22 AM    <JUNCTION>     NetHood [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Network Shortcuts]
07/26/2012  01:22 AM    <JUNCTION>     PrintHood [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Printer Shortcuts]
07/26/2012  01:22 AM    <JUNCTION>     Recent [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Recent]
07/26/2012  01:22 AM    <JUNCTION>     SendTo [C:\Users\Default\AppData\Roaming\Microsoft\Windows\SendTo]
07/26/2012  01:22 AM    <JUNCTION>     Start Menu [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu]
07/26/2012  01:22 AM    <JUNCTION>     Templates [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Templates]
               0 File(s)              0 bytes

 Directory of C:\Users\Default\AppData\Local

07/26/2012  01:22 AM    <JUNCTION>     Application Data [C:\Users\Default\AppData\Local]
07/26/2012  01:22 AM    <JUNCTION>     History [C:\Users\Default\AppData\Local\Microsoft\Windows\History]
07/26/2012  01:22 AM    <JUNCTION>     Temporary Internet Files [C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files]
               0 File(s)              0 bytes

 Directory of C:\Users\Default\Documents

07/26/2012  01:22 AM    <JUNCTION>     My Music [C:\Users\Default\Music]
07/26/2012  01:22 AM    <JUNCTION>     My Pictures [C:\Users\Default\Pictures]
07/26/2012  01:22 AM    <JUNCTION>     My Videos [C:\Users\Default\Videos]
               0 File(s)              0 bytes

 Directory of C:\Users\Mike

11/08/2012  04:48 AM    <JUNCTION>     Application Data [C:\Users\Mike\AppData\Roaming]
11/08/2012  04:48 AM    <JUNCTION>     Cookies [C:\Users\Mike\AppData\Roaming\Microsoft\Windows\Cookies]
11/08/2012  04:48 AM    <JUNCTION>     Local Settings [C:\Users\Mike\AppData\Local]
11/08/2012  04:48 AM    <JUNCTION>     My Documents [C:\Users\Mike\Documents]
11/08/2012  04:48 AM    <JUNCTION>     NetHood [C:\Users\Mike\AppData\Roaming\Microsoft\Windows\Network Shortcuts]
11/08/2012  04:48 AM    <JUNCTION>     PrintHood [C:\Users\Mike\AppData\Roaming\Microsoft\Windows\Printer Shortcuts]
11/08/2012  04:48 AM    <JUNCTION>     Recent [C:\Users\Mike\AppData\Roaming\Microsoft\Windows\Recent]
11/08/2012  04:48 AM    <JUNCTION>     SendTo [C:\Users\Mike\AppData\Roaming\Microsoft\Windows\SendTo]
11/08/2012  04:48 AM    <JUNCTION>     Start Menu [C:\Users\Mike\AppData\Roaming\Microsoft\Windows\Start Menu]
11/08/2012  04:48 AM    <JUNCTION>     Templates [C:\Users\Mike\AppData\Roaming\Microsoft\Windows\Templates]
               0 File(s)              0 bytes

 Directory of C:\Users\Mike\AppData\Local

11/08/2012  04:48 AM    <JUNCTION>     Application Data [C:\Users\Mike\AppData\Local]
11/08/2012  04:48 AM    <JUNCTION>     History [C:\Users\Mike\AppData\Local\Microsoft\Windows\History]
11/08/2012  04:48 AM    <JUNCTION>     Temporary Internet Files [C:\Users\Mike\AppData\Local\Microsoft\Windows\Temporary Internet Files]
               0 File(s)              0 bytes

 Directory of C:\Users\Mike\Documents

11/08/2012  04:48 AM    <JUNCTION>     My Music [C:\Users\Mike\Music]
11/08/2012  04:48 AM    <JUNCTION>     My Pictures [C:\Users\Mike\Pictures]
11/08/2012  04:48 AM    <JUNCTION>     My Videos [C:\Users\Mike\Videos]
               0 File(s)              0 bytes

 Directory of C:\Users\Public\Documents

07/26/2012  01:22 AM    <JUNCTION>     My Music [C:\Users\Public\Music]
07/26/2012  01:22 AM    <JUNCTION>     My Pictures [C:\Users\Public\Pictures]
07/26/2012  01:22 AM    <JUNCTION>     My Videos [C:\Users\Public\Videos]
               0 File(s)              0 bytes

     Total Files Listed:
               0 File(s)              0 bytes
              48 Dir(s)  408,828,858,368 bytes free
Like I mentioned earlier on, all you need to do is access the actual folder (\Users\UserName\Pictures) etc to access the proper locations of the pictures (or whatever), and not the links.
Then you should set the explorer settings BACK to the defaults:
do not show hidden files (checked)
hide protected operating system files (recommended) (checked)

i am setting up this machine for my grandson and would like to avoid libraries, because I like to know where things really are.

Libraries are a really good feature, and it is easy to find out where files really are.
User generated image Hobbling the computer by adding START8 is really a disservice since it is the way things will be from now on. Learn how to use Windows 8.. Your grandson may want all of the nifty tiles and use the pictures app rather than anything else..

What you could do is make the new start screen open if the windows key is pressed and the classic start menu open if you click on the start button.
If the machine is new, then it works just like Windows 7 in this regard. So everything is under Libraries (real) and the first user is admin, and so has access to everything under this userid. If this is not so consider just using the Thinkpad button and restore the machine. This will restore it to proper operation. .... Thinkpads_User
Avatar of alk444

ASKER

CSI-Windows_com
you seem to be the only one that is trying to answer my question. the others seem to want me to not try put a shortcut on the desktop to the real documents folder. do you see anything in the allappcompatsymlinks.txt file that helps?
@alk444 - We are all trying to assist, not just one person. Getting to the files (any kind) in your userid is really, really easy. Have you tried looking in Libraries (you have not said so, that I can see) and can you access the documents from there?  

If not, the installation of the computer may have been screwed up somehow.

I use both Windows 7 and Windows 8 and long lists of junction points and symlinks have never entered into my ability to find files.

.... Thinkpads_User
alk444 - I don't think there is any problem with you putting a direct link to your documents folder on the desktop.

You can think of "Libraries" as a virtual root folder that allows you to associate multiple document locations with it.

You can then search and view all these documents merged together.

But you don't have to do it the new way.

There is one other thing that I didn't mention that makes this all the more confusing when you enable explorer to see hidden and system files.

The folder C:\users\userid\documents will appear as c:\users\userid\My Documents in explorer ONLY.  This is controlled by a hidden file called C:\users\userid\documents\desktop.ini.

If you change the parameter "LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21770" to "LocalizedResourceName=Documents" it would match more closely.

The trick to knowing where the REAL disk location is, is to click on the location field in explorer and copy the path from there.

I have attached a screen shot where this field is not clicked:
User generated image
and one where it is clicked:
User generated image
Avatar of alk444

ASKER

ok, i created a shortcut to C:\Users\Mike\Documents , but it still has the same problem. if i open it, it just contains the junctions not the real folders and if i try to open My Pictures i get:

a box labeled
'Location is not available'
      saying
C:\Users\Mike\Documents\My Pictures is not accessible
access is denied

if i do the same thing in win7 i get the normal hierarchy.

Documents
    My Pictures
    My Videos
     [etc.]
So if you go here in Windows Explorer:

User generated image
and you get access denied or cannot see pictures as shown above, then something is wrong with your machine.

Create Mike2 as a new user. Does Mike2 have the same issue?

.... Thinkpads_User
ASKER CERTIFIED SOLUTION
Avatar of CSI-Windows_com
CSI-Windows_com
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of alk444

ASKER

CSI-Windows_com
thanks for the hack, but i don't want to do that.
so apparently win8 is different than win7 because i didn't have to do anything special in win7 to get a normal hierarchy in a shortcut to 'Documents'.

btw, i did find that i can create the normal hierarchy by making shortcuts to C:\Users\Mike\Pictures etc. in C:\Users\Mike\Documents, but i'm not sure that apps and programs that want to write stuff under documents will find the right places.

thinkpads_user
i do not get the error when go into the libraries.
If you do not get the error when you use Windows Explorer and Libraries, then perhaps just use Windows 8 more along the lines it was intended.  Unless I am missing something, that might work better.

.... Thinkpads_User
3rd party programs that use the file system as designed will work fine. I've not noticed any problems (not to say that there might be some obscure software that causes a problem) with older software.

About the only real problem I've had is software that doesn't read the %variables% and assumes that documents is under c:\users\username.  Visual Studio is one of the offenders. Techsmith products are also offenders (at least the installers)
C:\Users\Mike\Documents\My Pictures is not accessible access is denied

I think we have now established that the file are not inaccessible but readily available.

would like to avoid libraries, because i like to know where things really are.

I think in your endeavour to avoid Libraries, you may be creating problems. Libraries are useful super-folders and you should learn them because Windows 7 is here for a long time yet, and while Windows 8 may or may not survive, its successor will likely use Libraries.

I used the structure in my most recent post above, and made shortcuts of folders and files on my desktop and they were readily available. Nothing is hidden or inacessible if created in the userid using them. This became true in Vista, is true in Windows 7 and is true in Windows 8.  

See below for a more pictorial explanation.

User generated image
... Thinkpads_User
btw, i did find that i can create the normal hierarchy by making shortcuts to C:\Users\Mike\Pictures etc. in C:\Users\Mike\Documents, but i'm not sure that apps and programs that want to write stuff under documents will find the right places.

I don't have my pictures/music/video's folders in my documents at all I have them spread over different drives/volumes, and NO programs have any problem finding them

User generated imageUser generated image