在我们的Active Directory中,我们将一个策略部署到我们的个人目录(我的文档)被redirect到我们的文件服务器的客户端
\\server\share\username\Documents
在旧系统中一切正常。 在Windows 7中,有些用户正在尝试以下症状:
这个问题的原因是什么?如何解决?
在记事本中,打开%appdata%\Microsoft\Windows\Libraries\Documents.library-ms
该文件的内容应该是这样的,你也可以很容易地编辑文件(Windows是非常原谅用户直接编辑文件)。
<?xml version="1.0" encoding="UTF-8"?> <libraryDescription xmlns="http://schemas.microsoft.com/windows/2009/library"> <name>@shell32.dll,-34575</name> <ownerSID>S-1-5-21-xxxxxx-{The uers's SID}-xxxxx</ownerSID> <version>11</version> <isLibraryPinned>true</isLibraryPinned> <iconReference>imageres.dll,-1002</iconReference> <templateInfo> <folderType>{7d49d726-3c21-4f05-99aa-fdc2c9474656}</folderType> </templateInfo> <propertyStore> <property name="HasModifiedLocations" type="boolean"><![CDATA[true]]></property> </propertyStore> <searchConnectorDescriptionList> <searchConnectorDescription> <isDefaultSaveLocation>true</isDefaultSaveLocation> <isSupported>true</isSupported> <simpleLocation> <url>\\myserver\users\JohnDoe</url> </simpleLocation> </searchConnectorDescription> <searchConnectorDescription> <isSupported>true</isSupported> <simpleLocation> <url>\\anotherserver\JohnsFiles</url> </simpleLocation> </searchConnectorDescription> </searchConnectorDescriptionList> </libraryDescription>
笔记:
folderType字段用于内置的“Documents”文件夹。 你可以用文件夹及其types做各种有趣的事情,但这超出了这个问题的范围。 DefaultSaveLocation设置为true,第二个没有这个字段。 您可以只有一个文件夹,或最多50个文件夹; 正好有一个必须有默认的文件夹字段。