Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista - Take Ownership of file

Comment
 
Old 06-02-2007  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Take Ownership of file

How to Take Ownership of a Item in Vista

...

My System SpecsSystem Spec
Old 10-22-2008  
pjjppj


Vista Home Premium 32bit
 
 

Re: Take Ownership of file

Is there anything I could do in the registry?

My System SpecsSystem Spec
Old 10-22-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Take Ownership of file

I'm sorry pjjppj, but with what you have already tried without success indicates a more serious problem that cannot be easily fixed without a reinstall.
My System SpecsSystem Spec
Old 10-22-2008  
pjjppj


Vista Home Premium 32bit
 
 

Re: Take Ownership of file

I cant lose any of my files, they are all school work
My System SpecsSystem Spec
Old 10-22-2008  
PainlessTorture


Windows Vista™ Ultimate x64
 
 

Re: Take Ownership of file

Open an elevated command prompt and revoke all permissions on your account (if any) and the admin group.

Then give the admin group full control and do a restore.

EDIT: Just to let you know. If you have denied access to either users or everyone thinking this will secure your computer, it will a bit. But as long as your account is a member of ANY group with a DENY permission no matter what, you will be denied access. You should actualy grant full access to all groups and deny access to no groups and then restore.
My System SpecsSystem Spec
Old 10-22-2008  
pjjppj


Vista Home Premium 32bit
 
 

Re: Take Ownership of file

how??:P
My System SpecsSystem Spec
Old 10-22-2008  
PainlessTorture


Windows Vista™ Ultimate x64
 
 

Re: Take Ownership of file

I think this command will revoke all deny permissions for admins.

"icacls c:\* /remove:d administrators"

If that doesnt work run these...

"icacls c:\* /remove:d users"
"icacls c:\* /remove:d everyone"
"icacls c:\* /remove:d guests"

Then try again.

After you run the above run this;

"Icacls c:\* /grant administrators:f"
My System SpecsSystem Spec
Old 10-22-2008  
pjjppj


Vista Home Premium 32bit
 
 

Re: Take Ownership of file

Didnt work
My System SpecsSystem Spec
Old 10-22-2008  
PainlessTorture


Windows Vista™ Ultimate x64
 
 

Do you get an error?


Plan B,

net localgroup "backup operators" /add %username%

Run that and see if you can access the files now.
My System SpecsSystem Spec
Old 10-22-2008  
pjjppj


Vista Home Premium 32bit
 
 

Re: Take Ownership of file

Access is denied
My System SpecsSystem Spec
Old 10-22-2008  
PainlessTorture


Windows Vista™ Ultimate x64
 
 

Re: Take Ownership of file

I think I know what the problem is then, You didnt ELEVATE the command prompt.

Rightclick > Run as administrator

Then go back to the post about icacls and do that again
My System SpecsSystem Spec
Comment

Tutorial Tools


Similar Threads
Tutorial Category
Changing File Ownership Vista account administration
Take Ownership of file General Discussion
Changing File Ownership Vista General
Cannot take ownership of file Vista security
Vista File Ownership Change Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46