[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 36
  • Last Modified:

Give full access to administrator account for all folders and files windows server 2012

Dear Team,



I am doing a file server migration project.

for this I am using a software for replication between two servers that is windows server 2008 and 2012,but due to permission issue the software is not able to replicate lots of folders and files

I have a file server which is massive it has more than millions folders and files,the permission is not set properly,i want to give permission to  one of the administrator account so that it should have permission on each and every files and folder.



Regards

JAck
0
Sysguys
Asked:
Sysguys
  • 6
  • 4
  • 3
4 Solutions
 
Sajid Shaik MSr. System AdminCommented:
if it's only replication issue then you can assign both server local administrator user with same password

or create a user on AD and give the administratove privillage to that folder full access permission..

all the best
0
 
AntzsInfrastructure ServicesCommented:
Depending on who created certain files/folders, you may need to take ownership of those files/folders before you can grant the administrator the necessary permission.

Check also for long file names, those can cause issue during migration as well.
0
 
SysguysAuthor Commented:
but as i said there are thousands of files and folders
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
AntzsInfrastructure ServicesCommented:
You just need to go to the Top of your directory structure and take ownership from there and then select "Replace owner on subcontainers and objects".  This will apply it to all folders and files.
0
 
SysguysAuthor Commented:
thanks Anthony,

if i do that will the other permission will still be available which i already applied?
0
 
AntzsInfrastructure ServicesCommented:
If the administrator already have access to those files/folders the permissions will still remains.  but for those files/folders which the administrator do not have permission to the permission will be removed.
0
 
Sajid Shaik MSr. System AdminCommented:
u mean other user permission, then yes

just take the ownership on the top folder or volume ...

thats it
0
 
SysguysAuthor Commented:
oh i see. then it would be a risky part because i'm sure there could be lot of folder where the administrator will not have permission.
0
 
Sajid Shaik MSr. System AdminCommented:
so what... you just create a dministrative user give him the ownership and admin privillage after complete the Migration remove that user...
0
 
Sajid Shaik MSr. System AdminCommented:
best solution is use the Robocopy

which copies the files as well as attributes/permissions etc.

https://technet.microsoft.com/en-us/library/2006.11.utilityspotlight.aspx

all the best
0
 
AntzsInfrastructure ServicesCommented:
Yes, that is the painful part when the administrator do not have permission to the files.

What software are you using to copy your files?  If you use Robocopy with the /B /SEC /MIR option you may not need to worry about the permission for the files/folders.
0
 
Sajid Shaik MSr. System AdminCommented:
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 6
  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now