How to make the network map drive visible in the current user when executed as administrator

旧街凉风 提交于 2020-07-22 04:58:49

问题


the command prompt is opened in Administrator mode and executed the below command:

net use Z: \\server-address\path /user:test test

the command got execute successfully. but the network map drive with (Z) is not visible some times in "My Computer" window.

How can I make it visible and accessible through command prompt from Administrator mode?


回答1:


You can't. Drives are mapped by token. Admins have two tokens, As Admin and as normal user. They are seperate.




回答2:


A feild to be added in the registry editor of Hkeylocal machine and then reboot the machine. Then it works



来源:https://stackoverflow.com/questions/26910661/how-to-make-the-network-map-drive-visible-in-the-current-user-when-executed-as-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!