Solved: All of my pictures need permission change

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Nostzz

Thread Starter
Joined
Sep 3, 2007
Messages
111
When I backed up all of my pictures and then restored them all on a new computer the permissions set got messed up. The user account name was the same but the name in the permission list is "unknown user".

I can right click on an individual picture, go to properties, then security and add "Everyone" as a user and give it full permission. But that takes time and I have thousands of pictures.

Is there a way to change the permission on groups of them, rather than just one at a time?
 

Nostzz

Thread Starter
Joined
Sep 3, 2007
Messages
111
I did that and the only problem is it wont let me select more than one picture at a time to take ownership of. I highlighted all of the pictures in one folder and then in the context menu the "Take Ownership" option is gone with more than one selected. There are thousands of pictures to go through and I don't want to have to do each one individually. Doing it on the folder containing the pictures doesn't work either.
 

Nostzz

Thread Starter
Joined
Sep 3, 2007
Messages
111
So I went into the properties of the "Pictures" folder in my user account. I then went to security and to the owner tab at the top. I then went to edit and clicked the box labeled "Replace owner on all subcontainers and objects" and clicked ok on everything.

This still does not grant me access to my pictures. Am I doing something wrong? I need access to these pictures soon, it's getting close to mothers day, please help! :(
 

DaveA

David
Trusted Advisor
Spam Fighter
Joined
Nov 16, 1999
Messages
17,340
Did you restore them from a CD or DVD?
 
Joined
Aug 7, 2007
Messages
9,028
Open a Command Prompt:
Click Start, type cmd, press Enter.
Navigate to the folder the pictures are in.
For example, if they are in the Pictures folder, type:
CD C:\Users\<username>\Pictures
(If the prompt already shows C:\Users\<username> you can just type CD Pictures)
Where <username> is your username of course.
Now Type:
takeown /F *
If there are subfolders, use this instead:
takeown /R /F *

You'll get a slew messages and may be prompted about replacing permissions on folder you don't currently own. Make sure it's not a system folder, then type Y.
You can also use takeown /R /D Y /F * to automatically say yes, but don't use this from the root of your profile (or anyplace else that contains system folders) as there are many hidden system files and folders, and you don't want to change them.

Taking ownership should automatically grant you full control.

HTH

Jerry
 

Nostzz

Thread Starter
Joined
Sep 3, 2007
Messages
111
Thanks Outcaste but it didn't work. :(

Here are some screen shots of what I get.

http://i140.photobucket.com/albums/r28/IMA****HEAD1/1.jpg
http://i140.photobucket.com/albums/r28/IMA****HEAD1/2.jpg

I can click on the pictures without getting an error, but once they open up with Windows Picture and Fax Viewer it says, "Photo Gallery can't open this picture because you do not have the permission to access the file location".

When I go to picture properties and then the security tab on the list there is a unknown user in the list with a red ? next to the picture. If I go in and remove the user the picture is fine but it's hard to do it with all the individual pictures.

Anyone got any ideas? Thanks again. :)
 

Nostzz

Thread Starter
Joined
Sep 3, 2007
Messages
111
Wow! I'm not sure how I missed that. Thanks much. Going to test it out tomorrow after I get some sleep. I sure hope this works.
 

Nostzz

Thread Starter
Joined
Sep 3, 2007
Messages
111
Alright I gave it a shot with it spelled right and it still didn't work. I took some more screenshots to help. Anyone have any ideas?

http://img136.imageshack.us/img136/7994/52324710.jpg
http://img134.imageshack.us/img134/7812/40081486.jpg
http://img165.imageshack.us/img165/474/27299479.jpg

The third photo is what I get when I try to open a picture.

P.S. The one picture you can see in the 2nd photo is the one I manually changed by going in and adding the permission to "everyone". That same photo is the only one that came up as a success when I did the "takeown /R /F *".
 

DoubleHelix

Banned
Joined
Dec 9, 2004
Messages
24,388
What happened that the files ended up this way? That would be my first concern in order to prevent the problem from reoccurring. I don't know what to tell you about fixing the permissions. You've already tried everything I could think of.
 
Joined
Feb 14, 2004
Messages
1,657
Maybe a workaround. Copy some photos to a cd, flash drive or Fat32 external drive. Permissions will be lost. Copy them back to a new, different folder.


moper
 
Joined
Aug 7, 2007
Messages
9,028
Try running takeown from an Elevated Command Prompt
Click Start, type cmd in the Search box, then press CTRL+SHIFT+ENTER.
The title bar of the Command Prompt should start with Administrator:

I removed all permissions from a couple of files, and got the same access denied message from a normal prompt, but it succeeded with an elevated prompt.
That didn't restore the permissions though, but this command should. Type it in the Elevated Prompt after running the Takeown command:
icacls *.* /reset /T /C

Run this from the root of the pictures folder, ie C:\Users\<username>\Pictures.
It resets the permissions to those inherited from the parent folder, so needs to run from the root Pictures folder to correct the permissions on the subfolders.

HTH

Jerry
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top