Questions tagged [net-use]
39 questions
71
votes
11 answers
How do I remove login credentials for a network location in Win7?
I just tried to access a folder like so:
\\somecomputeronmynetwork\somelocation$
When going to this location I'm prompted for a user name and password.
I put one in, and it let me in fine.
Now I need to remove that login, so I can try a different…
Joseph
- 1,726
- 3
- 19
- 22
8
votes
7 answers
Windows 7, HTTPS WebDav: Asks for password twice and fails. Any workarounds?
I have a Dav server running with PHP SabreDav (code.google.com/p/sabredav/wiki/Windows) on Cherokee at an HTTPS secured URL. It's set to use https, and uses Digest Authentication. I can log in with multiple browsers and a few third party clients…
AutoDMC
- 81
- 1
- 1
- 2
7
votes
3 answers
Windows 10 PE Unable to map network drive anonymously
I'm trying to set up a imaging environment. The idea is to use DISM to apply WIM images (Windows 10 Pro) over the network.
I am able to boot into Windows 10 PE. I have network connectivity via DHCP.
When I try to map the network share using net…
ColLeslieHapHapablap
- 193
- 1
- 1
- 7
6
votes
1 answer
NET USE command doesn't authenticate when credentials are passed as parameters
I'm trying to connect to a remote WebDAV server by mapping it as a drive using NET USE command.
NET USE * /user:
Executing this command gives the following error:
System error 1244 has occurred.
The operation being…
Nikhil
- 163
- 1
- 5
6
votes
1 answer
"Multiple connections to a server or shared resource by the same user" when there are no connections
Related to: The Network folder specified is currently mapped using a different user name and password
However, I am not currently connected to the network location already.
I if type net use I get the following output:
>net use
New connections will…
Douglas Gaskell
- 266
- 1
- 3
- 11
6
votes
2 answers
Use NET USE to mount a network drive as read only
I'm using the following code to mount a network drive in a script that configures desktop icons and favorites by copying them when the user logs into windows.
NET USE W: \\Server\Files\IT\auto /user:"DOMAIN\username" "password"
I have read the…
Kalamane
- 281
- 1
- 4
- 14
4
votes
1 answer
Correct way to access a network share in a Windows service
I have a Windows service which requires on-demand access to a remote CIFS share. Whenever it needs to access the share, it first tries to 'mount' it with provided credentials,
NET USE \\host\share password /USER:user
uses the share's contents, and…
TipsyTopsy
- 43
- 1
- 1
- 3
4
votes
1 answer
Stale directory contents and "net use"
I have two Windows Server 2008 SP2 machines. Occasionally I see that when I open a file share with net use, the contents are stale. The scenario is:
net use Z: \\192.168.0.100\c$
Add a file to a directory on the C: drive on C:'s host machine
I…
noctonura
- 443
- 1
- 4
- 10
3
votes
1 answer
Getting error 1219 while there are no other sessions
PC's in our organisation run Windows 10 Pro and are sometimes shared between users (local accounts, no domain and AD).
I have written a batch script that users execute when mounting our network shares to a drive letter. Most of the time it runs…
Edwardo
- 31
- 1
- 4
3
votes
1 answer
net use fails with system error 67 with FQDN
I search for help with a confusing error with Windows 7 mounting a
network fileshare.
The problem is that on machine A a mount with the FQDN fails (net use
system error 67) while the same command with the IP address succeeds. On
another machine…
bluxx
- 31
- 3
3
votes
1 answer
NET USE - How to get list of all shares (elevated, non-elevated)
The command:
NET USE
Will display open connections by any process of current user. But, if command prompt (cmd.exe, or any shell) is non-elevated, it would display only connections opened by non-elevated processes. To see shares open by elevated…
Ajay
- 137
- 1
- 8
3
votes
3 answers
Is there an alternative to xp_cmdshell and net use for backing up MSSQL to UNC as a different user
Is there an alternative to xp_cmdshell and net use for backing up MSSQL to a UNC with a different user?
I'm now using
EXEC xp_cmdshell 'net use \\SERVER\SHARE Password /USER:DOMAIN\USER /PERSISTENT:yes'
as a preexec script.
But xp_cmdshell is…
Mössler
- 31
- 1
- 2
3
votes
2 answers
Is it possible to use IPv6 to connect to a remote share using 'net use'?
One can use either UNC or IPv4 address to connect to a shared folder on a remote machine using net use, e.g.:
net use \\remotePC\SharedFolder // valid
net use \\111.122.1.1\SharedFolder // valid
Is it possible for user to connect using IPv6 as…
w128
- 245
- 2
- 5
- 10
3
votes
3 answers
Windows 7 logon script net use fails
Our network PCs currently consists of Windows XP Professional on a mixed 2008/2003 domain, with exception to one machine, which is a new Windows 7 PC we have bought for testing before we deploy the operating system. But we have discovered a problem…
Bryan
- 7,538
- 15
- 68
- 92
2
votes
2 answers
net use - error code 1219
I am trying to understand what causes the error code 1219 (multiple connections to server by same user).
The background of my question, we are currently installing a machine at a customer, where our service technician tried to connect with the host…
bas
- 133
- 1
- 7