I've just noticed some very strange behaviour when using the command line to mount network shares in Windows 7.
Used an elevated command prompt and entered the following command -
net use * //IP_ADDRESS/SHARENAME \user:USER_NAME PASSWORD
The command completed successfully and mounted the share as drive Z:
All files/folders are present when using the command line (e.g. using the dir command lists the contents correctly), however the drive is not mounted in Windows Explorer.
The Z: drive is present in a43.
Using the same command with a non elevated command prompt worked correctly and also mounted the share in explorer.
Another observation -
Used an elevated command prompt with command net use * //IP_ADDRESS/SHARENAME \user:USER_NAME PASSWORD - drive mounted as Z:
Then used a non elevated command prompt to mount a different share - this failed to detect that the Z: drive was already in use and also mapped as Z:
Weird stuff
diddy
Windows 7 Network Share Missing In Explorer
Started by
diddy
, Jun 05 2010 09:12 AM
2 replies to this topic
#1
Posted 05 June 2010 - 09:12 AM
#2
Posted 05 June 2010 - 09:31 AM
What happens if you run another instance of Explorer with elevated credentials?All files/folders are present when using the command line (e.g. using the dir command lists the contents correctly), however the drive is not mounted in Windows Explorer.
Wonko
#3
Posted 05 June 2010 - 11:06 AM
@Wonko
Hope you (and the cats) are well
Nothing!
Running Windows 7 with UAC disabled the shares are however displayed correctly.
diddy
Hope you (and the cats) are well
What happens if you run another instance of Explorer with elevated credentials?
Wonko
Nothing!
Running Windows 7 with UAC disabled the shares are however displayed correctly.
diddy
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users