Windows: Explorer cannot access a mounted network drive when connect is established with administrator permissions

Hi,

Windows has a security feature which prevents an User from accessing network drives mounted in a cmd.exe or powershell when they are started elevated.


This is a security feature and can be turned off by setting HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLinkedConnections to 1

D:\> reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLinkedConnections /t REG_DWORD /d 1 /f

Michael

Advertisment to support michlstechblog.info

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.