Questions tagged [net-use]

41 questions
15
votes
2 answers

"net use" does not create drives in Explorer on Windows 10

C:\Windows\system32>net use OK X: \\192.168.8.109\Public Microsoft Windows Network OK Y: \\192.168.8.109\DATA Microsoft Windows Network OK Z: \\192.168.8.109\MEDIA Microsoft…
gatorback
  • 1,091
12
votes
3 answers

Mounting WebDAV drive in Windows Server 2012

I having problems mounting a webdav drive via explorer or cmd with the following command: net use z: "https://.." /user:username password System error 67 has occured. The network name cannot be found. Everything working fine on my other machines.…
electronico
9
votes
3 answers

What's wrong with this net use command?

I am entering the following command on Windows Server 2003 net use X: \\Samba_Server\gis /user:Administrator /persistent:yes And I get the following error: System error 1326 has occurred. Logon failure: unknown user name or bad…
6
votes
2 answers

How to disconnect unavailable network drives in Windows 10?

My company laptop runs a command line script during boot which adds a set of network drives to the Windows. I'm not using any of these during work at all, I don't even have access to some of them (when I double click the drive I get an Access Denied…
5
votes
2 answers

Net Use Error 1219 - I just want to mount a network share

When I log into windows, my system maps a few drives from our server's shares. I have a backup script that I want to run and it maps a few more drives just for the script and then unmaps them when done. I'm running the following to map: net use z:…
5
votes
1 answer

net use: how to map drive for both normal and elevated processes in Win 10?

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…
4
votes
2 answers

How to use UNC path correctly to share a folder on remote computer?

I would like to know if somebody knows the correct syntax for giving a folder a share on remote network machine's folder. Please write a syntax you know for sure that it's working. This operation should be on CLI- command line I'm having an error…
4
votes
0 answers

Identify files preventing Net Use /Delete

Sometimes when executing net use /delete (\\connection or drive) I get There are open files and/or incomplete directory searches pending on the connection How can I find/identify those files? (or dir searches). I've found tons of advice on how to…
3
votes
1 answer

NET USE "The local device name is already in use"

I'm trying to map two drives from a W2003-Server from Win7 with the following batch-file: net use m: /delete net use u: /delete net use m: \\{IP}\srvE /user:{sameIP}\Administrator {pswd}/persistent:yes net use u: \\{same IP}\DATEN…
MBaas
  • 294
3
votes
1 answer

How should I call Net Use command to disconnect from a remote location?

When I "net use" I see that I have a connection to a remote location: \\fooo.com\boo\zoo but without any device name assigned. What is the correct way/syntax to disconnect from this remote location by using the net use command?
pencilCake
3
votes
2 answers

Forcing a login script to prompt for credentials?

Scenario: Office is transferring from one server to another, on a different domain than is currently being used. Net use login scripts fail automatically due to improper authentication. What I need A login script to map drives to the new server,…
user76211
1
vote
1 answer

Windows 10 Resists Configuration of Drive Letters by Logon Script

Windows 10 is resisting configuration of drive letters by a logon script calling net use. The script is a .bat file and has been placed variously in: c:\windows\system32\grouppolicy\user\scripts\logon c:\programdata\microsoft\windows\start…
ebsf
  • 165
1
vote
0 answers

What are the possible statuses returned by net use command?

The windows net use command output typically is: C:\Users>net use New connections will be remembered. Status Local Remote Network ------------------------------------------------------------------------------- OK …
1
vote
1 answer

How do I get Net Use to map full dfs path to folder and not truncate when using /home flag

When executing the command: NET USE H: \\fully.qualified.name\dfs\path\to\folder /home, Windows 10 will only map H: to \\full.unc.name\dfs When adding the /home designation, the path gets truncated. Drop /home and the full path gets mapped.
Roger
  • 11
1
vote
0 answers

wmic shows different persistent flag for net use remote drive than it was actually created with

I added some remote drives on my NAS to my laptops system by invoking: net use \\someserver\ /user:any "anyKey" /PERSITENT:YES To get access to these remote drives, as I didn't assign a letter for the drives, I created links and access them as…
aldr
  • 143
1
2 3