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

476 views Asked by At

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?

2

There are 2 answers

0
AudioBubble On

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

1
sravan chs On

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