This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
现有应用程序配置文件的自动迁移
配置文件管理提供了一个解决方案,可以自动迁移现有应用程序配置文件。应用程序配置文件包括 AppData 文件夹中的应用程序数据以及 HKEY_CURRENT_USER\SOFTWARE 下的注册表项。
此功能在您希望在不同操作系统 (OS) 之间迁移应用程序配置文件的情况下非常有用。例如,假设您将操作系统从 Windows 10 版本 1803 升级到 Windows 10 版本 1809。如果启用此功能,配置文件管理会在每个用户首次登录时自动将现有应用程序设置迁移到 Windows 10 版本 1809。因此,AppData 文件夹中的应用程序数据以及 HKEY_CURRENT_USER\SOFTWARE 下的注册表项将得到迁移。用户无需再次配置应用程序。
注意:
此功能要求您通过在用户存储路径中包含
!CTX_OSNAME!变量来指定操作系统的短名称。
此功能目前支持 Windows 10 1909 及更早版本、Windows Server 2019、Windows Server 2016 和 Windows Server 2012 R2。
此功能默认处于禁用状态。要在组策略中启用此功能,请完成以下步骤:
- 打开组策略管理编辑器。
- 在“策略 > 管理模板: 策略定义 (ADMX 文件) > Citrix 组件 > 配置文件管理 > 配置文件处理”下,双击“现有应用程序配置文件的自动迁移”策略。
- 选择“已启用”,然后单击“确定”。
要使更改生效,请从命令提示符运行 gpupdate /force 命令。注销所有会话,然后重新登录。有关详细信息,请参阅 https://docs.microsoft.com/zh-cn/windows-server/administration/windows-commands/gpupdate。
您还可以选择在 Citrix Studio 中配置配置文件管理策略。为此,请完成以下步骤:
- 在 Citrix Studio 的左侧窗格中,单击“策略”。
- 在“创建策略”窗口中,在搜索框中键入策略。例如,键入“现有应用程序配置文件的自动迁移”。
- 单击“选择”以打开“现有应用程序配置文件的自动迁移”策略。
- 选择“已启用”,然后单击“确定”。
工作原理
当用户登录且用户存储中没有用户配置文件时,Profile Management 会执行迁移。在迁移开始之前,Profile Management 会找到要迁移的应用程序配置文件。它通过自动发现来完成此操作。它会自动定位并迁移以下内容:
-
位于 %userprofile%\Appdata\Local\ 和 %userprofile%\Appdata\Roaming. 下的应用程序设置。以下包含当前操作系统平台信息的 Microsoft 文件夹将被忽略:
- %userprofile%\AppData\Local\Temp - %userprofile%\AppData\Local\Packages - %userprofile%\AppData\Local\TileDataLayer - %userprofile%\AppData\Local\Microsoft\Temp - %userprofile%\AppData\Local\Microsoft\Credentials - %userprofile%\AppData\Local\Microsoft\Windows - %userprofile%\AppData\Local\Microsoft\Windows\InputPersonalization - %userprofile%\AppData\Local\Microsoft\Windows\Side bars - %userprofile%\AppData\Local\Microsoft\WindowsApps - %userprofile%\Appdata\Roaming\Microsoft\Credentials - %userprofile%\Appdata\Roaming\Microsoft\SystemCertificates - %userprofile%\Appdata\Roaming\Microsoft\Crypto - %userprofile%\Appdata\Roaming\Microsoft\Vault - %userprofile%\Appdata\Roaming\Microsoft\Windows -
位于
HKEY_CURRENT_USER\SOFTWARE和HKEY_CURRENT_USER\SOFTWARE\Wow6432Node下的注册表项(HKEY_CURRENT_USER\SOFTWARE\Microsoft和HKEY_CURRENT_USER\SOFTWARE\Classes除外)
如果存在多个现有应用程序配置文件,Profile Management 会按照以下优先级顺序执行迁移:
- 相同操作系统类型的配置文件(单会话操作系统到单会话操作系统,以及多会话操作系统到多会话操作系统)。
- 相同 Windows 操作系统系列的配置文件;例如,Windows 10 到 Windows 10,或 Windows Server 2016 到 Windows Server 2016)。
- 较早版本操作系统的配置文件;例如,Windows 7 到 Windows 10,或 Windows Server 2012 到 Windows 2016。
- 最接近操作系统的配置文件。
注意:
您必须通过在用户存储路径中包含
!CTX_OSNAME!变量来指定操作系统的短名称。这样做可以让 Profile Management 定位现有应用程序配置文件。
假设您将用户存储路径配置为 \\fileserver\userstore\%username%\!CTX_OSNAME!!CTX_OSBITNESS!,并且您的操作系统是 Windows 10 版本 1803 64 位 (Win10RS4x64)。Profile Management 首先定位以前的配置文件文件夹,然后按照以下顺序将其迁移到用户存储中的应用程序配置文件文件夹:
- \fileserver\userstore\user1\Win10RS3x64
- \fileserver\userstore\user1\Win10RS2x64
- \fileserver\userstore\user1\Win10RS1x64
- \fileserver\userstore\user1\Win10x64
- \fileserver\userstore\user1\Win10RS5x64
- \fileserver\userstore\user1\Win10RS6x64
- \fileserver\userstore\user1\Win8x64
- \fileserver\userstore\user1\Win7x64
- \fileserver\userstore\user1\Win2016
- \fileserver\userstore\user1\Win2012R2
- \fileserver\userstore\user1\Win2012
- \fileserver\userstore\user1\Win2008
- \fileserver\userstore\user1\Win2019
如果这些配置文件均不可用,Profile Management 将终止迁移过程并返回错误。
共享
共享
在本文中
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.