Discussion Locked

Taking ownership of Files on W2K server

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Does anyone know of a way to take ownership of all folders/subfolders/files on a W2k server?
I know I can look at securities on each & every object, and take ownership -- but this is very time consuming for large numbes of objects. We are looking for a script that will run thru all objects (as specified) and force an ownership change.

7 replies

by areets

When changing the security permissions, select 'allow inheritable....'

Via Advance button: select both options for 'The permission....

TSP

by timwalsh

Or maybe explained a little better:

By default, only the Administrator user account or the Administrators Group have the ability to take ownership of any object.

The Administrator and the current owner of the object CAN give the Take Ownershippermission to specific users/groups.

To take ownership (assuming you have the correct permissions):
Go to the security properties for the top level of objects you wish to take ownership of (if you have multiple partitions/ drives, you will have to do this for each partition/drive); click the Advanced button; choose the Owner tab.

You will be shown the current owner and a list of accounts that permission to take ownership.

Choose the new owner, check the box labeled "Replace owner onsubcontainers and objects" and click Apply.

Using this method, you only need run the process at the drive/partition level, instead of on EVERY object.

This discussion is closed to new replies.