Questions tagged [net-use]
The net-use tag has no usage guidance.
40
questions
0
votes
0
answers
2k
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 ...
1
vote
1
answer
147
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\...
1
vote
0
answers
809
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
-------------------------------------...
0
votes
1
answer
652
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 ...
0
votes
0
answers
620
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 ...
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 ...
0
votes
0
answers
65
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 ...
1
vote
1
answer
745
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 ...
0
votes
2
answers
623
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 ...
1
vote
0
answers
207
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 ...
6
votes
2
answers
18k
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 (...
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 ...
1
vote
1
answer
424
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?
1
vote
1
answer
5k
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 ...
1
vote
2
answers
747
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 ...