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!
管理 Cookie 文件夹和其他事务性文件夹
本文适用于 Profile Management 3.1 及更高版本。
镜像文件夹和删除陈旧 Cookie 这两个过程是相关的。如果您管理 Internet Explorer Cookie 文件夹,请使用这两个过程。此步骤可确保事务完整性,同时减少涉及 Index.dat 和浏览器 Cookie 的配置文件膨胀。
镜像也可以更广泛地应用,因为它可以帮助解决涉及任何事务性文件夹(也称为引用文件夹)的类似问题。这些文件夹包含相互依赖的文件,其中一个文件引用其他文件。镜像文件夹允许 Profile Management 将事务性文件夹及其内容作为一个单一实体进行处理,从而避免配置文件膨胀。
例如,考虑用户浏览 Internet 时 Index.dat 如何引用 Cookie。用户有两个 Internet Explorer 会话,每个会话都在不同的服务器上,并且他们在每个会话中访问不同的站点。来自每个站点的 Cookie 都添加到相应的服务器。用户从第一个会话注销(或者如果配置了活动回写功能,则在会话中间注销)。然后,第二个会话中的 Cookie 替换第一个会话中的 Cookie。但是,它们反而被合并,并且 Index.dat 中对 Cookie 的引用变得过时。在新会话中进一步浏览会导致重复合并和 Cookie 文件夹膨胀。
镜像 Cookie 文件夹解决了此问题。借助此功能,Profile Management 会在用户每次注销时,使用上次会话中的 Cookie 覆盖现有 Cookie。因此,Index.dat 保持最新。
在以下情况下,Cookie 文件夹可能会膨胀:
- 涉及多个会话
- 网站被重新访问,并且陈旧的 Cookie 堆积。
本主题中的第二个过程通过从所有配置文件中删除陈旧的 Cookie 来解决后一个问题。
Internet Explorer 10 及更高版本所需的浏览器兼容性设置
配置:在镜像下添加以下文件夹:
- AppData\Local\Microsoft\Windows\INetCookies (Windows 8.1 平台的 Cookie 位置)
- AppData\Roaming\Microsoft\Windows\Cookies (Windows 7 和 Windows 8 平台的 Cookie 位置)
- AppData\Local\Microsoft\Windows\WebCache (Cookie 数据库维护在 Webcache01.dat 中)
注意:
- 历史记录:Profile Management 5.1 版配置文件中的浏览历史记录不会保留。
- Cookie:使用 Profile Management 5.1 版或更早版本配置文件创建的 Cookie 会保留。
- 过期 Cookie:
- 在 Profile Management 5.1 版及更早版本中,这些 Cookie 不会被处理,并作为配置文件的一部分保留,直到手动删除。
- 在 Profile Management 5.2 版中,当使用 Internet Explorer 10 及更高版本时,这些 Cookie 在保护模式和普通模式下都会被处理。
Internet Explorer 9 及更早版本中的 Cookie 和浏览历史信息与 Internet Explorer 10 及更高版本中的信息不兼容。建议用户不要在安装了不同版本 Internet Explorer 的多个系统之间移动。[#474200]
镜像文件夹
此过程适用于任何事务性文件夹,而不仅仅是存储 Cookie 的文件夹。
“要镜像的文件夹”策略不支持镜像文件夹中的某些文件或某些子文件夹的场景。作为一种变通方法,请将“要镜像的文件夹”策略与“排除列表 – 目录”策略或“排除列表 – 文件”策略结合使用。
例如,对于 Google Chrome,AppData\Local\Google\Chrome\User Data\Default 中的书签相关文件或子文件夹是相互依赖的。因此,它们必须作为一个整体进行同步。为避免配置文件膨胀,请执行以下步骤:
- 将
AppData\Local\Google\Chrome\User Data\Default添加到要镜像的文件夹列表中。 - 将该文件夹中与书签无关的文件或子文件夹添加到排除列表中。
注意:
镜像事务性文件夹可能意味着“最后写入者获胜”。在多个会话中修改的文件将被最后一次更新覆盖。用户配置文件的更改可能会丢失。
- 在 配置文件管理 > 文件系统 > 同步 下,双击 要镜像的文件夹 策略。
- 选择 已启用。
- 添加相对于用户存储中根文件夹的、您要镜像的文件夹列表。使用 Enter 键分隔多个条目。此策略以递归方式工作,因此不要将子文件夹添加到列表中。例如,添加 AppData\Roaming\Microsoft\Windows\Cookies,但不要同时添加 AppData\Roaming\Microsoft\Windows\Cookies\Low。
如果此处未配置 要镜像的文件夹,则使用 .ini 文件中的值。如果此处或 .ini 文件中未配置此设置,则不会镜像任何文件夹。
要使更改生效,请从命令提示符运行 gpupdate /force 命令,如 https://docs.microsoft.com/zh-cn/windows-server/administration/windows-commands/gpupdate 中所述。
删除过期 Cookie
如果您使用的是 Internet Explorer 10 或更高版本,则不需要此过程。
- 在 配置文件管理 > 高级设置 下,双击 注销时处理 Internet Cookie 文件 策略。
- 选择 已启用。
- 单击 确定。
如果此处未配置 注销时处理 Internet Cookie 文件,则使用 .ini 文件中的值。如果此处或 .ini 文件中未配置此设置,则不会处理 Index.dat。
要使更改生效,请从命令提示符运行 gpupdate /force 命令,如 https://docs.microsoft.com/zh-cn/windows-server/administration/windows-commands/gpupdate 中所述。
启用“注销时处理 Internet Cookie 文件”会增加注销时间。尽管如此,为了保持 Cookie 文件夹的完整性,支持的配置是同时设置 要镜像的文件夹 和 注销时处理 Internet Cookie 文件,如下面的最佳实践所示:
处理 Cookie 文件夹
- 在 配置文件管理 > 文件系统 > 同步 下,双击 要镜像的文件夹 策略。
- 选择 已启用。
- 添加相对于用户存储中根文件夹的文件夹列表,您要镜像这些文件夹。为 版本 1 配置文件 添加 Cookies 文件夹,并为 版本 2 配置文件 添加 AppData\Roaming\Microsoft\Windows\Cookies。
- 在 配置文件管理 > 高级设置 下,双击 注销时处理 Internet Cookie 文件 策略。此步骤将删除 Index.dat 引用的过期 Cookie。
- 选择 已启用。
- 单击 确定。
要使更改生效,请从命令提示符运行 gpupdate /force 命令,如 https://docs.microsoft.com/zh-cn/windows-server/administration/windows-commands/gpupdate 中所述。
共享
共享
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.