Solved

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

Posted on 2016-11-02
13
25 Views
Last Modified: 2016-11-05
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
Comment
Question by:Sysguys
[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
  • 6
  • 4
  • 3
13 Comments
 
LVL 16

Expert Comment

by:Shaik M. Sajid
ID: 41869666
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
 
LVL 8

Assisted Solution

by:Antzs
Antzs earned 250 total points
ID: 41869673
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
 

Author Comment

by:Sysguys
ID: 41869674
but as i said there are thousands of files and folders
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Assisted Solution

by:Antzs
Antzs earned 250 total points
ID: 41869677
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
 

Author Comment

by:Sysguys
ID: 41869683
thanks Anthony,

if i do that will the other permission will still be available which i already applied?
0
 
LVL 8

Expert Comment

by:Antzs
ID: 41869685
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
 
LVL 16

Expert Comment

by:Shaik M. Sajid
ID: 41869686
u mean other user permission, then yes

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

thats it
0
 

Author Comment

by:Sysguys
ID: 41869688
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
 
LVL 16

Expert Comment

by:Shaik M. Sajid
ID: 41869690
so what... you just create a dministrative user give him the ownership and admin privillage after complete the Migration remove that user...
0
 
LVL 16

Assisted Solution

by:Shaik M. Sajid
Shaik M. Sajid earned 250 total points
ID: 41869693
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
 
LVL 8

Expert Comment

by:Antzs
ID: 41869695
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
 
LVL 16

Accepted Solution

by:
Shaik M. Sajid earned 250 total points
ID: 41869697
0
 
LVL 16

Expert Comment

by:Shaik M. Sajid
ID: 41869702
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

726 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