服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

迁移用户configuration文件

我正在进行新的VDI基础架构升级。 我们正在从VMWare Horizo​​n View v5.1升级到v6。 我从前面的pipe理员inheritance了这个混乱。 随着升级,我们将用户数据从漫游configuration文件转移到redirect的configuration文件/angular色pipe理和新的文件服务器。 漫游configuration文件和各种configuration文件数据在Server 2008上,我们正在迁移到Server 2012 R2。 我目前正在testingRobocopy,以迁移遍布各种服务器的不同数据,将其合并到新服务器上的1个用户configuration文件位置,因此对于该用户来说是一个全面的举措。 在我的脚本中,当我将数据从某些文件夹移动到相应的文件夹,移动根文件夹和删除重复的文件夹时,可以看到几个逻辑步骤。 我的脚本如下: REM :Copy roaming profile from old location to new location: Robocopy \\scfile1\StaffProfiles$\WS\Individual\%username%.v2\Desktop \\pvsc-file03.kdl.net\home$\%username%\Desktop /e /copy:datso /mt:32 Robocopy \\scfile1\StaffProfiles$\WS\Individual\%username%.v2\Downloads \\pvsc-file03.kdl.net\home$\%username%\Downloads /e /copy:datso /mt:32 Robocopy \\scfile1\StaffProfiles$\WS\Individual\%username%.v2\Pictures \\pvsc-file03.kdl.net\home$\%username%\Pictures /e /copy:datso /mt:32 Robocopy \\scfile1\StaffProfiles$\WS\Individual\%username%.v2\Favorites \\pvsc-file03.kdl.net\home$\%username%\Favorites /e /copy:datso /mt:32 Robocopy \\scfile1\StaffProfiles$\WS\Individual\%username%.v2\Documents \\pvsc-file03.kdl.net\home$\%username%\Documents /e /copy:datso /mt:32 REM […]