对于没有登录的新用户:
使用组策略的方法:
在Windows2008 中找到组策略管理器,打开同时设置下面的策略:
Computer Configuration\Administraive Templates\WindowsComponents\Terminal Services\Set Pathfor TS Roaming Prifiles
或
TS user Home Direcory
如果Set Path for TS RoamingPrifiles没有设置的话可以直接更改TS user HomeDirecory
The default location is defined in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList . There you need to adjust the String ProfilesDirectory with the path of your preferred location.
Note: Existing Profiles will remain under %WinDir%\Documents And Settings\.... . You‘ll need to remove these profiles manually.
New users will have there profile created in the location you specified.
对于已经登录的用户:
要通过设置注册表的方式:
在windows2008中找到下面的注册表位置:
\\HKEY_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\Profilelist\{SID}
找到对应用户的SID,然后修改到对应的位置:
然后把以前的文件夹copy到新的位置