因为UAC的存在, 如果使用windows 7 的默认共享,比如 \\abc\c$ ,会被提示 无权限错误. 为了方便在局域网共享文件,找到了这个方法.

 

  1. Open the registry editor.
  2. Navigate all the way to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System.
  3. Right-click in the pane on the right side and add a new DWORD (32-bit).
  4. Give the new setting the name LocalAccountTokenFilterPolicy.
  5. Double click on that setting and give it a value of 1.

该方法不会影响本机的UAC,经过测试,成功激活 默认共享. 附上reg文件以备懒人使用.

   1: Windows Registry Editor Version 5.00
   2:  
   3: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
=dword:00000001

相关文章: