更正了用户文件夹的视图

时间:2017-08-14 14:28:23

标签: powershell

我有一个存储用户文件夹的服务器。有一段时间,我看到一些文件夹没有用户名但有一个Documents文件夹。

当我右键单击并选择属性时,会有用户名。

如何在文件夹上提供好名字?我试过一个脚本

For Example, I have a different folders :
AZE
RTY
UIO
OPQ
Documents - in properties desktop.ini the owner is DFG
Documents - in properties desktop.ini the owner is GHJ
Documents - in properties desktop.ini the owner is KLM
WXC
VBN 

提前感谢您的回答!

1 个答案:

答案 0 :(得分:0)

我之前通过使用文件屏幕阻止文件共享上的desktop.ini解决了这个问题。这是在Windows 2008 R2& Windows 2012 R2文件服务器。文件屏幕配置使用文件服务器资源管理器完成。

此TechNet链接有一些说明:

https://technet.microsoft.com/en-us/library/cc754163%28v=ws.11%29.aspx?f=255&MSPPError=-2147217396

希望这有帮助。