问题
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