Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

Taking ownership of multiple profile directories - Windows NT server

Posted on 2004-08-22
9
Medium Priority
?
329 Views
Last Modified: 2010-04-13
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?
0
Comment
Question by:tallemu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
9 Comments
 
LVL 17

Expert Comment

by:Eagle6990
ID: 11864600
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
 

Author Comment

by:tallemu
ID: 11865752
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
 
LVL 15

Expert Comment

by:Rob Stone
ID: 11868472
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
[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

 

Author Comment

by:tallemu
ID: 11868566
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
 
LVL 15

Expert Comment

by:Rob Stone
ID: 11868884
ah, let me have a think.
0
 
LVL 15

Accepted Solution

by:
Rob Stone earned 2000 total points
ID: 11868934
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

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

648 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question