hts95
hts95

Reputation: 123

How do I fix - net use "System error 67 has occurred."

enter image description hereenter image description hereSo I'm in a data warehousing class right now. We're setting up a VM through VMware workstation using Windows 10 - 32bit. We also had to set up a static IP address for what we're going to be doing. But right now I'm trying to run the code: C:>net use \your host name\C$ For me it would be: C:>net use \Win10\C$ But every time I run it I get the error that "the network name cannot be found." I've been working on this all week, tried multiple things, and I just can't get it fixed. Does anyone have any suggestions??

Upvotes: 3

Views: 40631

Answers (2)

HackSlash
HackSlash

Reputation: 5811

The error you are seeing is a DNS error. To verify this, check the hostname with nslookup. In your example: nslookup Win10 would return an IP if that were a valid hostname.

If the hostname isn't registered in DNS you can run NET USE against an IP address.

Contrary to the other answer here, you do not need to provide a drive letter. That is only if you want to map a local drive to the network location. If you do not provide a drive letter, you can still enter credentials using your net use command and then access data using FQDN. It will also make the remote location show up in Explorer. So it can be useful to run net use without a drive letter.

Upvotes: 0

SomeWittyUsername
SomeWittyUsername

Reputation: 18368

The net use syntax is incorrect. It should be net use X: \\<host name>, where X: is the name you want to give to the remote drive. Assuming C: is the root of the remote drive, you will be able to access it via X: now. E.g. cd X:

See the full net use syntax here: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490717(v=technet.10)?redirectedfrom=MSDN

The syntax you originally used resembles the one used when you want to access remote drive without mapping (i.e., without net use). In such case you can, for example, enter \\<remote host>\C$ into the explorer window.

Upvotes: 3

Related Questions