目录
7、在计算机账户上设置 Roaming User Profiles(可选)
8、在 Windows 10,设置 Start Layout(可选)
9、在客户端计算机中,确认已应用 Roaming User Profiles
1、系统需求
1)如果同时部署 Folder Redirection,则建议首先部署 Folder Redirection。
2)客户端计算机系统需求:
- Windows Vista 或以上操作系统
- Windows Server 2008 或以上操作系统
3)客户端计算机必须加入 AD 域环境。
4)文件服务器:
- 如果使用 DFS 名称空间,DFS 文件夹(Links)必须仅一个单目标服务器。
- 如果使用 DFS 复制,用户必须仅指向源服务器。
- 如果使用 Clustered,在文件共享中禁用 Continuous Availability 以免影响性能。
5)注意开始菜单的设置。
6)建议更新到 Windows Server 2012 Schema。
7)配置 Windows 来为每个操作系统版本维护单独的配置文件版本。因为每个操作系统的配置文件版本之间可能不兼容,且不可漫游。
8)建议使用 Folder Redirection 将用户文件(如文档和图片)存储在用户配置文件之外。
2、启用单独的配置文件版本
仅针对 Windows 8/8.1、2012/R2 操作系统
1)安装 Windows 更新:
- Windows 8.1、Windows Server 2012 R2:KB2887595
- Windows 8、Windows Server 2012:KB2887239
2)修改注册表:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ProfSvc\Parameters
UseProfilePathExtensionVersion(REG_DWORD)= 1
3)重启计算机。
3、创建安全组
Roaming User Profiles Users and Computers:Global Security Group
该安全组包括所有使用 RUP 的用户、计算机和组。
4、创建文件共享
1)在文件服务器中,新建文件夹 C:\Share。
2)设置共享名为 Share$,共享权限为:
Everyone - Full Controll
3)设置 NTFS 权限为:
System:Full Control - This folder, subfolders and files
Administrators:Full Control - This folder only
Creator Owner:Full Control - Subfolders and files only
Roaming User Profiles Users and Computers:
List folder / read data - This folder only
Create folders / append data - This folder only
5、创建和设置使用于 RUP 的组策略
1)创建 GPO:Roaming User Profile Settings
2)在 Scope → Security Filtering 中,删除 Authenticated Users,添加 Roaming User Profiles Users and Computers。
3)在 Delegation中,添加 Authenticated Users 的 Read 权限。
6、在用户账户上设置 RUP(可选)
打开域用户账户属性窗口,在 Profile 标签中,设置 Profile path 为:
\\fs1.contoso.com\RoamingProfiles$\%username%
7、在计算机账户上设置 Roaming User Profiles(可选)
1)定位到以下位置:
Computer Configuration → Policies → Administrative Templates → System → User Profiles
2)设置键值 Set roaming profile path for all users logging onto this computer:
8、在 Windows 10,设置 Start Layout(可选)
1)确保 Windows 10 为 version 1607(已安装 KB4013429)或以上。
2)创建开始菜单布局 XML 文件:
参考链接:Customize and export Start layout
3)在组策略中,应用 XML 文件:
Computer/User Configuration → Policies → Administrative Templates → Start Menu and Taskbar
Start Layout = Enabled
4)在组策略中,更新注册表键值:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer
SpecialRoamingOverrideAllowed(REG_DWORD)= 1
5)在组策略中,启用第一次登录优化:
Computer Configuration → Policies → Administrative Templates → System → Logon
Show first sign-in animation = Disabled
Computer Configuration → Policies → Administrative Templates → Windows Components → Search
Allow Cortana = Disabled
Computer Configuration → Policies → Administrative Templates → Windows Components → Cloud Content
Turn off Microsoft consumer experience = Enabled
6)使用 Remove-AppxProvisionedPackage 命令,删除不必要的 Windows Apps。如:
Microsoft.windowscommunicationsapps_8wekyb3d8bbwe
Microsoft.BingWeather_8wekyb3d8bbwe
Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
Microsoft.Getstarted_8wekyb3d8bbwe
Microsoft.Windows.Photos_8wekyb3d8bbwe
Microsoft.WindowsCamera_8wekyb3d8bbwe
Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe
Microsoft.WindowsStore_8wekyb3d8bbwe
Microsoft.XboxApp_8wekyb3d8bbwe
Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
Microsoft.ZuneMusic_8wekyb3d8bbwe
9、在客户端计算机中,确认已应用 Roaming User Profiles
10、检查用户配置文件位置
Windows XP and Windows Server 2003:
\\<servername>\<fileshare>\<username>
Windows Vista and Windows Server 2008:
\\<servername>\<fileshare>\<username>.V2
Windows 7 and Windows Server 2008 R2:
\\<servername>\<fileshare>\<username>.V2
Windows 8 and Windows Server 2012:
\\<servername>\<fileshare>\<username>.V2 (执行更新和注册表修改前)
\\<servername>\<fileshare>\<username>.V3 (执行更新和注册表修改后)
Windows 8.1 and Windows Server 2012 R2:
\\<servername>\<fileshare>\<username>.V2 (执行更新和注册表修改前)
\\<servername>\<fileshare>\<username>.V4 (执行更新和注册表修改后)
Windows 10:
\\<servername>\<fileshare>\<username>.V5
Windows 10 version 1607 或以上:
\\<servername>\<fileshare>\<username>.V6