Discussion Locked

Win NT 4 Server permissions

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Does anyone know of a way of taking ownership of a file/directory without having to hit "enter" about 12,000 times? Is there a command in Windows that allows this or perhaps a 3rd party application?

9 replies

by clayg

What I guess I mean is that if someone else has taken ownership of the file/directory, you get prompted before you take ownership of each file/directory. Is there a way to avoid this?

by bill3

Right Click on the File,Select Properties, from the tabs at top select security and lower button allows you to take ownership.

by nathan.a.spells

Quick Answer - Use XCACLS.EXE from the NT4 Server Resource Kit. Look in NT4RK Help file
(Great Util for Perms/Ownership)

Long Answer - Use XCACLS.EXE as follows for the directory/files (Between the Quotes)

"XCACLS *.* /T /E /C /G user:O /Y > Results.txt"

/T = Changes ACLs of specified files in the current directory and all subdirectories.
/E = Edit ACL instead of replacing it
/C = Continue on Access Denied errors.
/G User:O = Grant specified user access rights. (User is the user that you want to have ownership) :O Take ownership
/Y = Replace user's rights without verify
> Results.txt = Pipes the results to a text file.

Play with the XCACLS tool on a directory that you don't mind messing up. This is a very powerful utility.

by bhrdwh

hi, there are two ways :
1. Have your drive converted to NTFS & right click the folder & click on "Properties".. "Security".."Ownership".. "Take All ownership", this will remove any pervious owbership & grant administrator access / ownership to thefolder.
2. Use XCACLS.EXE from the NT4 Server Resource Kit
akash

This discussion is closed to new replies.