Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: Take ownership of files

HTVi
TV Discussion Newsgroups

Take ownership of files
"Jim" <jj[ at ]nospam.com> 7/12/2007 6:52:58 PM
Hello, I have a drive that all users used to have read/write rights to.
They had this permission via membership in a group. Now I want them to only
be able to read from the drive so I've moved all users into a read_only
rights group. The problem is that users can still write to the disk via the
default CREATOR/OWNER permission that was originally given when they created
the files.

I'm looking for a script that will traverse the whole drive, subdirectories
and all, and change the ownership to "administrator" so they can no longer
write to files they once created.

Can anyone provide any insight on how this may be accomplished?

Thanks!

Jim

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen