Questions tagged [net-use]

The tag has no usage guidance.

10 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
1 answer
2k views

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 ...
bluxx's user avatar
  • 41
3 votes
1 answer
4k views

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 ...
Edwardo's user avatar
  • 31
1 vote
0 answers
324 views

How to use commandline tools (psexec, netuse) that require credentials without exposing them plain text in the logs?

First of all, here are my limitations: I'm running PSExec and Netuse from a batch file. I need to run as a different user than the currently logged in one. We have a strict permission scheme where ...
user2752794's user avatar
1 vote
0 answers
604 views

Specify DNS/Domain Controller when authenticating against a different domain

Client has two domains residing on the same subnet/physical network. Essentially there's just a POP3 mail server (OLDSERVER) and one of the old DCs (OLDDC) on life support to keep OLDSERVER happy. ...
gravyface's user avatar
  • 14k
1 vote
0 answers
3k views

wmic shows network drives as used that have been unmapped

I have a script running on Windows 7 Professional SP1 x64 that maps the first available network drive to a network resource, uses it, and then deletes the mapping. Unfortunately, after deleting the ...
PaulH's user avatar
  • 181
0 votes
1 answer
410 views

No internet IP routing on Windows 10 client connected to LT2P/IPsec VPN on Windows 2019 server

I have set up a VPN from a Windows 10 client to a Windows 2019 server. After connecting using rasdial <VPN NAME> <USER NAME> <PASSWORD> I sucessfully issue a net use <DriveLetter&...
jamacoe's user avatar
  • 201
0 votes
2 answers
3k views

Powershell / Command prompt cannot switch to mapped drive when running as another use

in my powershell prompt, logged into a Windows 10 PC as Domain\UserA i can run the net use command to see my shared drives net use lists +--------+-------+----------------+---------------------------+ ...
SE1986's user avatar
  • 123
0 votes
1 answer
227 views

SSIS 2014 - map NFS

We are migrating SSIS from SQL 2008 to SQL2014. Old OS: WINDOWS 2008 R2 SP1 New OS: WINDOWS 2012 R2 I use the Execute Process Task to map an NFS share to a drive. Executable: C:\Windows\System32\...
Boeykes's user avatar
0 votes
1 answer
752 views

List mapped zombie drives in powershell

I'm writing a little powershell script for some basic logs that have to be generated. Right now I'm stuck with logging mapped network drives: $colDrives = Get-WmiObject Win32_MappedLogicalDisk -...
Alessandro's user avatar
0 votes
0 answers
696 views

SMB share client side connection (Win7 with net use) is very slow

I have a SMB share on a CentOS server. Windows 7 based clients connect to the server via OpenVPN. Then net use is used to init the share. On some clients (not all) I am experiencing very long ...
Giuseppe's user avatar
  • 101