前面一篇文章已经提到了问题所在:
直接通过 映射网络(map network drive) 硬盘,run as Administrator的AP会出现无法访问的情况,这是因为直接通过explorer上的map network drive按钮进行映射网络硬盘的动作是没有run在Admnistrator权限下的,访问权限不match导致run as Adninistrator的AP无法访问映射网络硬盘。
参考:
http://woshub.com/how-to-access-mapped-network-drives-from-the-elevated-apps/
解决办法有很多种:
方法一:前文提到的修改注册表中EnableLUA来解决,是Disable UAC,修改EnableLUA=0,disable UAC。它不同于我们经常使用的Disable UAC notification,而是真正的disable UAC。
参考:https://msdn.microsoft.com/zh-cn/library/ff715520.aspx
EnableLUA
specifies whether Windows® User Account Controls (UAC) notifies the user when programs try to make changes to the computer. UAC was formerly known as Limited User Account (LUA).
true |