Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set ownership with script?

Status
Not open for further replies.

balor

Programmer
Jul 24, 2000
74
Hi,

I want to set ownership (to "Administrators") with code. I know you can use cacls.exe to set permissions but how do you change ownership?

//Martin
 
Try with "takeown.exe" from resource kit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top