In my Windows 10 Enterprise machine I've noticed if I execute "net use" command in elevated mode, then processes run in normal mode will not see the mapped drives. Also if I execute the command as normal user, then elevated processes will not see the drives.
The mapped drives are not persist, which is intentional.
So currently I have to execute the command twice, and have type the credentials for the remote shares twice, which is very inconvenient.
Is there any solution to eliminate the double action?
51 Answer
After almost 3 years I accidentally found a working solution:
Using Windows 10 Credential Manager completely solver this problem. I've added a new Windows Credential with the name: server or IP user: login name for the computer which has the share password: ...
After this, omitting the /USER option in the net use is working, so I can map the drives for both elevated and non elevated sessions without having to type the password twice. (actually this case I have to type zero times)