• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

Administrators Rights to ALL files and folders in server

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
dingir
Asked:
dingir
  • 2
  • 2
1 Solution
 
binary_1001010Commented:
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
 
dingirAuthor Commented:
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
 
SembeeCommented:
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
 
dingirAuthor Commented:
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
 
SembeeCommented:
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now