Questions tagged [net-use]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
1k views

Windows: Batch script to map a remote computer's share folder using a local login/password on THAT computer

I have a non domain computer I am running a shared network folder from, and that I connect with using an account that's locally on that computer. Doing it manually via the Map A Network Drive in ...
DGPortal's user avatar
1 vote
1 answer
124 views

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\...
ebsf's user avatar
  • 155
1 vote
0 answers
602 views

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 -------------------------------------...
Nicolas D.'s user avatar
0 votes
1 answer
594 views

Trying to use net use and shutdown.exe command ERROR

Have three computers all part of the same workgroup so no domain. Two computers running Windows 8.1 Pro and the third computer is running Windows 10 Pro. I'm executing a batch file from one of the two ...
JoeT's user avatar
  • 13
0 votes
0 answers
548 views

net use, save user + password over new ssh connections

When I'm connecting to a qemu windows VM via SSH(Don't know if it makes a difference for my question), every time I use 'net use'(net use Z: \\x\y), I need to enter username + password. How can I save ...
AD1234's user avatar
  • 1
0 votes
1 answer
2k views

net use command works in command prompt, but not in bat file

It's a small laboratory network that connects to another network via an FTP server. FTP server is managed by the other network. This lab network is basically 2 clients and one server with several ...
Comp-fused-dude's user avatar
0 votes
0 answers
51 views

How can I view mapped network drives using a docking bay?

I'm cloning drives using a hard drive docking bay, and I would like to see which drives a user had mapped on this machine before I pulled the HD out of it. Is there a way to see mapped network ...
Kernel Forbin's user avatar
1 vote
1 answer
618 views

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 ...
Roger's user avatar
  • 11
0 votes
2 answers
546 views

How does mapping via Netbios work when the remote host has multiple drives?

Say i want to map a folder on a remote host on my device, for example net use Y: \\Server001\Videos So far so good, not a problem. But what i dont understand is, what happens if the remote host ...
Flying Thunder's user avatar
1 vote
0 answers
150 views

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 ...
aldr's user avatar
  • 133
6 votes
2 answers
16k views

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 (...
Gábor Major's user avatar
1 vote
1 answer
2k views

Webdav mapped drive reconnect (Windows)

I'm having some problems with a webdav connection that I hope someone can help me out with. I have two options to mount the webdav connection on my PC but both options have flaws. Option 1: Map ...
ckx's user avatar
  • 11
1 vote
1 answer
405 views

What is Deviceless connections in the Microsoft document of Net Use command?

In the following link, https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490717(v=technet.10), Microsoft mentioned that "Deviceless connection". What is that?
Jing He's user avatar
  • 188
1 vote
1 answer
4k views

Net use - error 53 encountered when using c$ but not c$\subfolder

When I run this piece of code in Powershell: net use \\$computerName\c$\ $adminPW /user:$adminUN /Persistent:No I get: System error 53 has occurred. The network path was not found. However, if I ...
user1362548's user avatar
1 vote
2 answers
714 views

Drive mappings not visible in "net use" or "subst", what kind of drive mappings are they?

A customer is using ExpanDrive for creating network drives. As a result the commands net use and subst don't give any results. However the command wmic logicaldisk reveals the mentioned drive ...
Dominique's user avatar
  • 2,243
0 votes
0 answers
251 views

net view \\share works but explorer.exe entering \\share gives "not accessible" error?

This is driving me crazy. I have a file share I'm accessing from Windows 8.1 (call it "svrname"). If I type net view \\svrname in cmd.exe, it succeeds and gives a list of shares. if I type \\svrname ...
Stilez's user avatar
  • 1,685
4 votes
1 answer
3k views

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 ...
g.pickardou's user avatar
0 votes
1 answer
892 views

Assign User to net use to change another users password

Is it possible to assign a user to make net use run as a certain person(admin) to change another users password? Like so?: "/c net user /user:domain\Administrator <admin-pwd> username password ...
David Brierton's user avatar
0 votes
0 answers
629 views

Administrator password not working after net use command

I tried to activate the hidden Administrator in Windows 10 Professional by issuing net use administrator active=yes but the administrator was already active and had a password thats not working ...
Jango Brain's user avatar
3 votes
0 answers
447 views

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 ...
AndyBrown's user avatar
1 vote
2 answers
26k views

Logon Script with net use * /delete /yes

I'm trying to get rid of all manually mapped network drives on all workstations in my domain. I want our end-user's mapped drives to be mapped solely via GPO (GPO's are already in place). I'm trying ...
Francis Batalla's user avatar
14 votes
2 answers
32k views

"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 ...
gatorback's user avatar
  • 1,225
0 votes
1 answer
5k views

Is it possible to embed a command line statement in a Hyperlink?

Here's what I'm trying to make happen: User gets automatic email-reply with a hyperlink inside. The hyperlink contains a net use command to map a network drive. A confirmation should not be necessary. ...
Mike's user avatar
  • 1
1 vote
4 answers
4k views

Windows XP will not remember a share's password after reboot

I mounted a mapped drive from a server; it was set to automatically map this on every reboot, and it was set up to remembered the password, and everything was great. For a long time, I didn't have ...
chiwal's user avatar
  • 21
0 votes
1 answer
344 views

Error 53 when trying to net use a Windows XP share from a DOS machine

I have a CNC controller running DOS 6.22 which has mounted to a share on a Windows XP machine which is now broken. I replaced the machine with another one (running Windows XP, too) but now I'm no ...
Bouni's user avatar
  • 1
1 vote
1 answer
3k views

Net Use command with relative target path

I have a batch file located in several folders and in this file I need to replace the old subst T: . command for net use because the units (drives) have different properties in windows 7. However, I ...
Jorge's user avatar
  • 121
0 votes
1 answer
915 views

NET USE remove if no right

I have a .bat for connecting network drives. I have 11 in total. My script works, but for now even if the user has no rights, that it connect the network drive. I would like if the user does not have ...
inksis's user avatar
  • 1
0 votes
1 answer
1k views

Not enough storage error using net use command

I'm getting the error "Not enough storage is available to process this command." In Windows 7 attempting to connect to a shared folder on a NAS device. Google searches suggested increasing the ...
thebrain's user avatar
0 votes
1 answer
3k views

How do I start cmd.exe from a UNC path (to map a network drive)?

While cmd.exe can work with UNC paths by using PUSHD \\UNC\Path, I'm attempting to start cmd or a similar command FROM a UNC path. Here's why: I'm adding a "Map Network Drive Here" to my suite of ...
Ehryk's user avatar
  • 300
5 votes
2 answers
61k views

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 ...
user277244's user avatar
3 votes
1 answer
12k views

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:...
MBaas's user avatar
  • 294
0 votes
1 answer
237 views

share created with net use with other account than login accout disappear

We have the problem that we are trying to create a share with net use with a different account than the actual login account on a Win7 PC. e.g. login account is "user" (the actual account used to ...
bas's user avatar
  • 331
3 votes
1 answer
2k views

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 ...
user avatar
4 votes
2 answers
23k views

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 ...
CSharper's user avatar
  • 141
8 votes
3 answers
61k views

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 <admin-pwd> /persistent:yes And I get the following error: System error 1326 has ...
octopusgrabbus's user avatar
11 votes
3 answers
31k views

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 ...
user avatar
0 votes
0 answers
1k views

Login .bat script in Windows XP user to run with admin rights

if exist C:\Windows\System32\CCM\CcmExec.exe ( net use /del Z: ) else ( net use z: \\c-svsccm01\SMS_CMB\Client start /d "Z:\" CCMSetup.exe ) This is a .bat file I created to run a .exe ...
user avatar
0 votes
1 answer
3k views

net use to connect a shared printer

I have a Windows 7 machine connected to a printer. I use another PC (in the same group) running Vista to connect this shared printer via COMMAND: net use lpt2 \\Win7NAME\SHAREDPRINTERNAME /...
Jason's user avatar
  • 1
0 votes
1 answer
38 views

Sharing remote folder in subdir

I want to use a remote shared folder use in a subdirectory. For example the share \somePC\folder => x:\folder\somePCsRemoteFolder is there an easy way to do this ? endo
endo.anaconda's user avatar
3 votes
2 answers
6k views

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 ...
user avatar