Taking ownership of multiple profile directories - Windows NT server

I need to move my user profiles to another server

How can you take ownership of multiple profile directories and keep current permissions intact without manually going thru each dir and reassigning permissions

Is there a way to automatically assign correct permissions when setting up a new user profile?
tallemuAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Rob StoneConnect With a Mentor Commented:
You could try dsacls.exe
http://www.jsiinc.com/SUBH/tip3700/rh3747.htm

Or if you are the owner of the folders the you could use the CACLS command to modify the existing permissions.

If there all in one folder you could try D:\Users\Profiles\CACLS *.* /E /G Domain\Admins:F
Obviously test this before doing it by copying and creating a few folders on a seperate machine and check its done exactly what you want.
0
 
Eagle6990Commented:
If you select the root folder, right click and go to properties>Security>Advanced>Ownership you can change the owner there and a checkbox should be available to replace the owner on all subfolders and directories.  Is this what you are wondering?

What do you mean assign correct permissions?
0
 
tallemuAuthor Commented:
It is windows nt 4 as mentioned in the subject.  After you take ownership it wipes out the permissions and resets them back to the new owner
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Rob StoneCommented:
XCOPY, SCOPY and I think ROBOCOPY all have options to copy the ACL and ownership from one location to another.

I think ADDUSER also has the option
0
 
tallemuAuthor Commented:
yes robocopy is my weapon of choice, but all the profile directories for each user have the incorrect owner (the user) and no permissions for administrators.  I need to adjust the permissions before i copy, very painful...i have 200 directories to change.
0
 
Rob StoneCommented:
ah, let me have a think.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.