Windows Vista Forums
Vista Forums Home Join Vista Forums Tech Publications Windows 7 Forum Vista Tutorials Webcasts Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

Is possible to take ownership of a lot of files?

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 06-25-2007   #1 (permalink)
Magno
Guest


 

Is possible to take ownership of a lot of files?

My computer now has the Vista OS, the old OS was the XP. I did not made an
upgrade but Vista was able to keep all my files and move the old os to
windows.old.

Well, the problem is with some files. I have a folder, i.e., with a lot of
files, when I try to open some Vista complains that file could not be
accessed. If I go and take the ownership everything goes ok, of course, but I
have to do it with each file! When selecting all not allows me to change. Is
there any trick to get rid of this?

Thx!

My System SpecsSystem Spec
Old 06-25-2007   #2 (permalink)
Marcin Domaslawski
Guest


 

Re: Is possible to take ownership of a lot of files?

Hi,

You can change owner for whole folder - there is a option "Replace owner on
subcontainers and objects" - owner will be recursively changed.

Marcin Domaslawski


"Magno" <Magno@discussions.microsoft.com> wrote in message
news:5309CEBD-F3C5-4881-A90E-3967EF298242@microsoft.com...
> My computer now has the Vista OS, the old OS was the XP. I did not made an
> upgrade but Vista was able to keep all my files and move the old os to
> windows.old.
>
> Well, the problem is with some files. I have a folder, i.e., with a lot of
> files, when I try to open some Vista complains that file could not be
> accessed. If I go and take the ownership everything goes ok, of course,
> but I
> have to do it with each file! When selecting all not allows me to change.
> Is
> there any trick to get rid of this?
>
> Thx!


My System SpecsSystem Spec
Old 06-25-2007   #3 (permalink)
Alun Jones
Guest


 

Re: Is possible to take ownership of a lot of files?

"Magno" <Magno@discussions.microsoft.com> wrote in message
news:5309CEBD-F3C5-4881-A90E-3967EF298242@microsoft.com...
> My computer now has the Vista OS, the old OS was the XP. I did not made an
> upgrade but Vista was able to keep all my files and move the old os to
> windows.old.
>
> Well, the problem is with some files. I have a folder, i.e., with a lot of
> files, when I try to open some Vista complains that file could not be
> accessed. If I go and take the ownership everything goes ok, of course,
> but I
> have to do it with each file! When selecting all not allows me to change.
> Is
> there any trick to get rid of this?


Use icacls from the command prompt.

icacls c:\folder /setowner Fred /T /C /Q

Note that "/setowner Fred" says to set the owner to the account named
"Fred"; the /T option says to descend subfolders; /C says to continue if
errors occur, rather than halting at the first problem; /Q says to do this
quietly, so that the only output you see is a list of all errors.

Use "icacls /?" to give you information on what other parameters you could
use.

Alun.
~~~~


My System SpecsSystem Spec
Old 06-25-2007   #4 (permalink)
Magno
Guest


 

RE: Is possible to take ownership of a lot of files?

Hi! thank you for reply!

Well, bad news! None of the options above solved the problem ... the
icacls got a lot of Access Denied and no files took the ownership. I tried
some options but I really dont know about this command, Vista is new for me :s

I tried the folder option from Marcin and also got the same problem. Only
file by file. The old lost XP user now called S-1-5-21-4339239-1695949.... is
there. I remove it just to clean.
My System SpecsSystem Spec
Old 06-25-2007   #5 (permalink)
Magno
Guest


 

RE: Is possible to take ownership of a lot of files? SOLVED!

Hugh!!! I did it! By using the folder options! Well, after a lot of clicks
here and there on the Advanced tab I was able to set the folder and files
ownership, I will try to reproduce it in other " locked " folders because I
dont know the exact kick I did.

Thank you all!!
My System SpecsSystem Spec
Old 06-27-2007   #6 (permalink)
Alun Jones
Guest


 

Re: Is possible to take ownership of a lot of files? SOLVED!

"Magno" <Magno@discussions.microsoft.com> wrote in message
news:FF209CD1-F74B-4C36-ACEF-E590118CA236@microsoft.com...
> Hugh!!! I did it! By using the folder options! Well, after a lot of clicks
> here and there on the Advanced tab I was able to set the folder and files
> ownership, I will try to reproduce it in other " locked " folders because
> I
> dont know the exact kick I did.


I did it this morning on a set of folders by right-clicking on the root of
the folder tree, selecting Properties, and the Security tab, clicking on
Advanced, then the Owner tab, selected an administrator account, checked the
box to apply to this folder and all children, and finally hit "OK" or
"Apply".

Part way through, it said it had an access denied error descending into a
folder, and did I want to change the rights - I selected "Yes" to do so for
this and all other such folders.

After that, there were still some items I did not have rights to (despite
being the owner), so I still had to go and assign rights to myself as well -
this can be applied to the folder and all children.

I would generally recommend this process only when recovering data - this is
such a sledgehammer approach to manhandling rights, that you will lose
essentially all NTFS permission information, and will have to build it from
the ground up again.

Alun.
~~~~


My System SpecsSystem Spec
Old 06-28-2007   #7 (permalink)
anandk
Guest


 

Re: Is possible to take ownership of a lot of files? SOLVED!

Download this reg fix from http://www.mediafire.com/?8gz9xhpmwij and just add
it to the registry. The option to take ownership of system files will now
appear in ur rt-click menu. Hope this is what u were looking for !

www.WinVistaClub.com
Microsoft MVP 2007 Awardee.


My System SpecsSystem Spec
Reply
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
taking ownership (recursively would be nice) and unlocking files i Ben Christian PowerShell 1 03-08-2008 05:51 AM
Ownership of all files on hard drive suddenly changed Big Al Mintaka Vista security 1 01-07-2008 12:20 PM
taking ownership of system 32 files maxvista Vista General 3 12-02-2007 05:36 PM
Taking ownership of Vista files and folders from an XP machine KapitiTech Vista account administration 4 10-30-2007 11:37 AM
Accessing files - ownership doesn't help RuthB Vista account administration 10 06-07-2007 05:33 PM


Complimentary Industry Resources

Vista Forums has joined forces with TradePub.com to offer you a new, exciting, and entirely free professional resource. Visit http://vistax64.tradepub.com today to browse our selection of complimentary Industry magazines, white papers, webinars, podcasts, and more across 34 industry sectors. No credit cards, coupons, or promo codes required. Try it today!




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 2005-2008

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 47 48 49 50 51