Improve company productivity with a Business Account.Sign Up

x
?
Solved

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

Posted on 2016-11-02
13
Medium Priority
?
37 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
  • 6
  • 4
  • 3
13 Comments
 
LVL 18

Expert Comment

by:Sajid Shaik M
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 10

Assisted Solution

by:Antzs
Antzs earned 1000 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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 10

Assisted Solution

by:Antzs
Antzs earned 1000 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 10

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 18

Expert Comment

by:Sajid Shaik M
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 18

Expert Comment

by:Sajid Shaik M
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 18

Assisted Solution

by:Sajid Shaik M
Sajid Shaik M earned 1000 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 10

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 18

Accepted Solution

by:
Sajid Shaik M earned 1000 total points
ID: 41869697
0
 
LVL 18

Expert Comment

by:Sajid Shaik M
ID: 41869702
0

Featured Post

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

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits …
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

595 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