AD Home Folder migration, 2008 R2

Posted on 2013-09-23
Medium Priority
Last Modified: 2013-09-26
Is there a script, or an easier way to migrate users home folder without manually taking ownership, moving it and reassigning permissions?

Right now... H:\ = \\server\users\username
That folder location is locked down even to Administrator because by default that user was granted "Owner" of that folder the first time that user logged in and that folder was automatically created.

I have 100 users I'd have to take ownership of all the folders (I can do that at the top level I guess) but then after I migrate those folders to the new location, I'd have to give permissions back to the users.

Is there a better way to do this?
Question by:Metaltree
  • 3
LVL 18

Expert Comment

by:Sarang Tinguria
ID: 39516326
You may use rich copy
Taking ownership does not mean its necessary to revert on the target server

Copy data (Take ownership ..if you get access denied)
Change the policy
Test after re-login

Author Comment

ID: 39516849
I will have to give permissions back on the target server. the only permission they have is Ownership, not Full Control
LVL 24

Accepted Solution

Sandeshdubey earned 2000 total points
ID: 39516864
Yes,you need to copy permission as well to target server.You can also use robocopy to copy the permission.

robocopy C:\Data\Share D:\Share /e /r:1 /w:1 /zb /secfix /tee /log:C:\log.txt -----Copy with securityfix

Use RoboCopy to Move Folders from One Server to Another

Author Comment

ID: 39516869
Yes guys, I understand what i need to do to copy the files.

The question is, how can I automate the process of taking ownership, moving the files, then giving ownership back to specific users, or at least full control

Author Closing Comment

ID: 39525004
The /zb flag is what I needed. Running it in "backup mode" allowed me to move the files even without having permission.

Also, I setup DFS and that allowed me to replicate it as well.

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

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

A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
The Windows Firewall provides an important layer of protection and a rich interface to configure it. Unfortunately, it lacks item level filtering. This article details my process of implementing firewall-as-code to reduce GPO bloat.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

619 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