Re: Take ownership of files
From: Neil Savage (nsavage@axa.com.au)
Date: 05/27/02
- Next message: Jozer: "auto logon"
- Previous message: Ben: "Cannot Log On"
- In reply to: Keith Marston: "Take ownership of files"
- Next in thread: Clay Calvert: "Re: Take ownership of files"
- Reply: Clay Calvert: "Re: Take ownership of files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: nsavage@axa.com.au (Neil Savage) Date: 26 May 2002 23:34:44 -0700
"Keith Marston" <keith.marston@gmaccc.co.uk> wrote in message news:<u7#wP#AACHA.1168@tkmsftngp02>...
> I need a command i can use in a script to take ownership of a directory so
> as i can then copy down some files and then use cacls.exe on the resource
> kit to set back the permisions.
>
> This will be in actual fact to allow updating of local GPO files as we are
> not running AD :(
>
> Thanks
Keith
There's a utility called OWNADM.EXE that should to the trick. I can
send you the EXE if you like. Or you can download it from:
http://www.loa.espci.fr/winnt/ownadm/ownadm.htm
There's also a utility in the Win2k Resource Kit called TAKEOWN that
can be used, but it only works on individual files and folders...its
not recursive. That might be a better solution since its MS and you
know the names of your policy files.
Neil Savage
- Next message: Jozer: "auto logon"
- Previous message: Ben: "Cannot Log On"
- In reply to: Keith Marston: "Take ownership of files"
- Next in thread: Clay Calvert: "Re: Take ownership of files"
- Reply: Clay Calvert: "Re: Take ownership of files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|