Discussion:
Mapped drives are unavailable -- right after mapping
(too old to reply)
k***@gmail.com
2015-06-02 06:09:41 UTC
Permalink
Hi:

I am trying to use "net use command" to map a drive on Windows. I use Python paramiko module to get ssh object (from Linux to Windows)

Although the commands goes through successfully, when "net use" is issued on Windows (to verify that the mapped drive is available), that specific mapped drive comes up with "unavailable" status..

When the command "net use" is used directly on the cygwin of windows, it seems fine - just using it via script on System 'B' (Linux) or remotely sshing (manually) from System 'B' to Windows, comes up with "unavailable" drive.. Does anybody know the reason?

And no, I am a non administrator user but has all rights "full control".

Thanks!
Shane Thompson
2015-06-03 03:35:42 UTC
Permalink
New-psdrive I believe maps drives... Its been a hot minute though since I've looked at it.
Loading...