Persistent network share connection not working with runas

Posted by binarycoder on Server Fault See other posts from Server Fault or by binarycoder
Published on 2012-03-28T16:44:16Z Indexed on 2012/03/28 17:33 UTC
Read the original article Hit count: 335

Filed under:
|

If I use runas /user:DOMAIN\user cmd.exe (using XP), previously mapped persistent network drives are considered unavailable. net use shows:

Status       Local     Remote                    Network
-------------------------------------------------------------------------------
Unavailable  H:        \\SERVER\SHARE            Microsoft Windows Network

dir H: fails with "The system cannot find the path specified.".

The connection is easily revived with `NET USE H: \SERVER\SHARE': not asked for a password when I do this. What is going on? Can I make Windows safely revive this drive automatically when it is first accessed.

© Server Fault or respective owner

Related posts about windows-xp

Related posts about network-share