net use command gives error 67, but can map through windows explorer

Posted on 2004-09-16
Last Modified: 2008-02-01
Hi, I can map a network drive through windows explorer just fine, but I need to create a batch file to do it for my users during login.  My question is....

net use t:\\servername or IP\sharename

returns system error 67 has occured.

The network name cannot be found

I know that it is not the network name, when I do start, run, and type \\servername, it comes right up.  

Any suggestions?

Question by:wirthr
  • 2

Accepted Solution

ynaught earned 500 total points
ID: 12075460
Hi wirthr,
    Looks good but for one little thing.
    I do not know if this was a typo but you need a space between the t: and the \\servername


    net use t: \\servername\sharename /persistent:yes

    will map \\servername\sharename to the t drive and keep it over a reboot.

    Hope this helps

Author Comment

ID: 12075852
Geez, can't believe I goofed that one up, sorry, usually smarter than that.


Expert Comment

ID: 12076420
Hey wirthr,
    Cheers, thought it may have been a goof... and I have made much bigger goofs than that!
Have a good one.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Toshiba Satellite 5 161
Looking to disable remote computers 6 78
Creating an XP virtual machine 38 177
how to Repair Windows XP 12 95
Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question