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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

622 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