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!
将 Windows 配置文件与 Password Manager 和单点登录结合使用
本文不包含任何特定于 Profile Management 的信息。它介绍了如何配置某些 Windows 选项,以便 Citrix Single Sign-on 能够与本地配置文件、漫游配置文件、强制配置文件或混合配置文件最佳运行。本主题适用于 Citrix Single Sign-on 4.8 或 5.0。
本地配置文件
本地配置文件存储在用户已登录的本地服务器上。Password Manager 和单点登录将注册表信息保存在用户注册表的 HKEY_CURRENT_USER\SOFTWARE\Citrix\MetaFrame Password Manager 配置单元中,路径为:
%SystemDrive%\Documents and Settings\%username%\NTUSER.DAT。
文件也保存在:
%SystemDrive%\Documents and Settings\%username%\Application Data\Citrix\MetaFrame Password Manager.
在 Windows 7 上,单点登录使用:
%APPDATA%\Roaming\Citrix\MetaFrame Password Manager
重要提示: 单点登录对以下文件具有完全控制访问权限至关重要:
| 文件名 | 描述 |
|---|---|
| %用户名%.mmf | 用户的凭据信息文件,其中包含指向 aelist.ini 的指针。 |
| entlist.ini | 在同步点或Active Directory中在企业级别创建的应用程序定义文件。 |
| aelist.ini | 通过合并用户的本地应用程序定义文件 (applist.ini) 和企业应用程序定义 (entlist.ini) 创建的应用程序定义文件。 |
漫游配置文件
漫游配置文件保存在网络共享上,并在用户每次登录时同步到本地服务器副本。成功的漫游配置文件部署的特点包括高速网络连接,例如 SAN(系统区域网络)或 NAS(网络区域存储)。其他常见的部署包括将配置文件存储在高可用性服务器上的集群解决方案。
以下两个问题会影响漫游和强制配置文件部署:
- 单个漫游配置文件只能与一个文件同步点一起使用。当使用多个同步点时,内存映射文件 (MMF) 中的数据可能会损坏。
- 当漫游配置文件与多个并发会话一起使用时,它们会共享后端 MMF。所有活动会话共享一些常见的会话数据,例如重试锁定计数器、上次使用的数据计数器和事件日志条目。
强制或混合配置文件
强制配置文件根据定义是用户只读配置文件。单点登录需要对 Application Data 下的配置文件文件夹具有写入权限。对于强制配置文件,用户可能会进行更改,但这些更改在注销时不会保存回配置文件。为了使单点登录与强制配置文件正常工作,必须重定向应用程序数据文件夹。
注册表更改在用户每次登录时写入。凭据信息与同步点同步,但更改不会保存回配置文件。
从 Windows 2000 开始,Microsoft 提供了一种重定向 Application Data 文件夹的机制。但是,使用 Windows NT4 域需要能够修改 Application Data 文件夹位置的登录脚本。您可以使用 Kix 或 VBScript 等工具来实现此目的,为 Application Data 文件夹定义一个可写入的位置。
以下示例使用 Kix 在用户登录期间重定向 Application Data 文件夹:
重要提示: 此示例脚本仅供参考。在未经过测试之前,请勿在您的环境中使用它。
``` pre codeblock
$LogonServer = “%LOGONSERVER%” $HKCU = “HKEY_CURRENT_USER” $ShellFolders_Key = “$HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders” $UserShellFolders_Key = “$HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders” $UserProfFolder = “$LogonServer\profiles\@userID” $UserAppData = “$LogonServer\profiles\@userID\Application Data” $UserDesktop = “$LogonServer\profiles\@userID\Desktop” $UserFavorites = “$LogonServer\profiles\@userID\Favorites” $UserPersonal = “X:\My Documents” $UserRecent = “$LogonServer\profiles\@userID\Recent” if (exist(“$UserAppData”) = 0) shell ‘%ComSpec% /c md “$UserAppData”’ endif if (exist(“$UserDesktop”) = 0) shell ‘%ComSpec% /c md “$UserDesktop”’ endif if (exist(“$UserRecent”) = 0) shell ‘%ComSpec% /c md “$UserRecent”’ endif if (exist(“$UserFavorites”) = 0) shell ‘%ComSpec% /c md “$UserFavorites”’ endif ```
混合配置文件是解决强制配置文件问题的另一种方案。当用户登录时,强制配置文件会加载,并且自定义应用程序会根据用户可用的应用程序加载和卸载用户注册表配置单元。与强制配置文件一样,用户可以在会话期间修改注册表的这些部分。与强制配置文件的区别在于,更改在用户注销时保存,并在他们再次登录时重新加载。
如果使用混合配置文件,则必须在登录和注销过程中导入和导出 HKEY_CURRENT_USER\SOFTWARE\Citrix\MetaFrame Password 注册表项。
文件夹重定向
文件夹重定向是使用组策略对象和 Active Directory 实现的。它使用组策略来定义属于用户配置文件的文件夹的位置。
可以重定向四个文件夹:
- 我的文档
- 应用程序数据
- 桌面
- 开始菜单
可以使用组策略配置两种重定向模式:基本重定向和高级重定向。这两种模式都受单点登录支持。在 Windows 2000 中,您必须使用 %username% 变量引用存储应用程序数据的共享(例如 \\servername\sharename\%username%)。
文件夹重定向对用户是全局的,它会影响用户的所有应用程序。所有使用 应用程序数据 文件夹的应用程序都必须支持它。
阅读以下 Microsoft 文章以了解有关文件夹重定向的更多信息:
最佳实践
- 尽可能重定向应用程序数据文件夹。这种方法可以提高网络性能,避免用户每次登录时都复制这些文件夹中的数据。
- 在排查 Password Manager Agent 故障时,务必验证登录用户对其应用程序数据文件夹具有“完全控制”权限。
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.