Link to home
Start Free TrialLog in
Avatar of dingir
dingirFlag for Sweden

asked on

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.
Avatar of binary_1001010
binary_1001010
Flag of Singapore image

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.



Avatar of dingir

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of Sembee
Sembee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dingir

ASKER

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 :-).

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.