Solved

Administrators Rights to ALL files and folders in server

Posted on 2006-07-06
5
225 Views
Last Modified: 2010-04-18
Hi! What is the easiest way to give ADMINISTRATORS complete rights to all files and folders in the whole server?

I'm about to move to a new server and are about copying files over to that. For example Administrators has as standard no access to the users homedirs. I don't want to affect the rest of the userrights, because the server is still in use.
0
Comment
Question by:dingir
[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
  • 2
  • 2
5 Comments
 
LVL 9

Expert Comment

by:binary_1001010
ID: 17049368
you can use the xcopy command.

xcopy /o  to copy acl and owership.
xcopy /e to copy directory and sub-directory including empty one.

xcopy /?  for more infos.



0
 
LVL 1

Author Comment

by:dingir
ID: 17049635
Hi! Thank you, there are new user accounts on the new server. If I also copy all rights and ownerships with the files, the user can't use them on the new server?
0
 
LVL 104

Accepted Solution

by:
Sembee earned 350 total points
ID: 17049658
You need to look at adjusting the inheritance of the sub folders.
You would set the administrator permission on the root d:\users (or whatever) folder. Then this would need to be propagated down. However you don't want to replace the existing permissions, otherwise the users will be unable to get in to their own folder, or everyone will get in to everywhere.

Simon.
0
 
LVL 1

Author Comment

by:dingir
ID: 17049696
Hi Sembee! Okey, then there are no solution other then wait until the server will be replaced. Can I apply an "Everyone" to all directorys under D: as u mention and then remove it later? With the result that all rights are as before? Because I'm glad if I can have it intact and switch back to this old server if anything goes terrible wrong :-).

0
 
LVL 104

Expert Comment

by:Sembee
ID: 17049804
I wouldn't use Everyone - you could use Authenticated users instead.
While you can put the permission at the top level, any folders that do not have inheritance enabled will not get the permission.

Simon.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 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