- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to move UEM userprofiles from one server to two new ones.
Our users are located in two different OU, depending which town users are located in.
The UEMserver are loacted in town A.
We see that logon and logoff time for users in town B, are longer because the copying UEM profile takes longer time.
So i have tried to robocopy evenry profile from town B to the new server, but the ownership of the files and folder changes from the user to administrator, and then users get an access denied to the files.
So, what is the best pratice to move these files from one server to antoher?
i can change the GPO policy for the users, but then again everyone will start with a emtpy profile, and need to configure thier applications and how they like it to behave all over again.
I was thinking of a logonsctipt, where the users will copy their files, and let the script run for a couple of weeks. And then change the GPO to point on the new server. Not sure if that is the best way, and hope one of you guys have done this.
BR.
Lansti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi lansti,
Did you try the /SEC switch with robocopy?
\\ Ivan
---
Twitter: @ivandemes
Blog: https://www.ivandemes.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, and permissions will follow but not ownership...
for /f "delims=" %%i in (userlist.txt) do robocopy "%directory%\%src%" "%dest%\%src%" /E /SEC /COPYALL /XD "%directory%\%src%\Backups" "%directory%\%src%\Logs"
Lansti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe I dealt with this before and succeeded with robocopy, but can't exactly remember the used robocopy switches. Did you try with /B (I believe I used this "Backup Mode" switch)?
\\ Ivan
---
Twitter: @ivandemes
Blog: https://www.ivandemes.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just did a quick check and used the following command successfully:
robocopy /MIR /COPYALL "C:\Shares\UEM_Profiles" "C:\Robocopy-Test\UEM_Profiles"
\\ Ivan
---
Twitter: @ivandemes
Blog: https://www.ivandemes.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think I used these switches
ROBOCOPY /e /b /xj /r:2 /w:5 /v /it /purge /copyall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used this in UEM for each user during logon. Then it worked for me. Only thing is that i need to wait a couple of weeks before i switch users over to the new servers..
Lansti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Lansti,
I am in a similar situation and was hoping you could give some more insight into your configuration.
Do you do a run once for the logon script?
Were you able to specify the profile with %userprofile%
robocopy /MIR /COPYALL "C:\Shares\UEM_Profiles\%userprofile%" "C:\Robocopy-Test\UEM_Profiles\%userprofile%"
What switches did you have success with? Just the /copyall?
Thank you!