All the servers have static IP's and it won't connect to any of them. If I replace \\servername\share with \\ip address\share I get the same error.
Main Topics
Browse All TopicsI am using .bat files for sartup scripts to connect network drives, and I just recently started getting this error when I try to run the scripts on login.
System error 64 has occurred. The specified network name is no longer available.
Also, if I try to simply do it from a command prompt after I complete my login I get the same problem. I can browse to the location and I can type the location directly in my address bar to get there, but Net Use just doesn't work...any ideas?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
ok then onto other things!!
there is this posting and this site is normally very good
http://www.chicagotech.net
4 things to try and im a little bit testy as to whether the NIC issue could be causing this but worth trying first
if you run teh script manually once you are logged in does the net use command complete then.
the next thoing im thinking is that the script is running before the machine has an ip address and thats why its bombing out with a dns related error, othert way of checking that would be to log out and not shut down and restart
Rem This removes the shared drives that they may have.
net use z:\\ttcserver\community /delete
net use t:\\ttcserver\community /delete
net use M:\\ttcserver\Management$ /delete
Rem This installs the shared drive as a shared hard drive.
net use t: \\ttcserver\community\Shar
net use M:\\ttcserver\Management$
REM Add printer
echo Installing Suite 111 Main Printer on TTCSERVER!
RunDll32.EXE printui.dll,PrintUIEntry /in /n "\\Ttcserver\Qualifier Printer"
echo Installing Suite 111 Main Printer on TTCSERVER!
RunDll32.EXE printui.dll,PrintUIEntry /in /n "\\Ttcserver\Sales Printer"
REM Set Default Printer
rundll32.exe printui.dll,PrintUIEntry /y /n "\\Ttcserver\Qualifier Printer"
ok the first parts in the delete wont work and that could be bombing the script out, then try the persistent variable as well
net use z: /delete
net use t: /delete
net use M: /delete
Rem This installs the shared drive as a shared hard drive.
net use t: \\ttcserver\community\Shar
net use M:\\ttcserver\Management$ /persisitent:yes
That seemed to do it!!
So it looks like I did 3 things wrong here.
* Wrong use of /delete
* Not using /persistent
* I did not have a space between the drive letter and the path (that was why it could not find the network name!!!) It should have been M:(space)\\path(space)/per
Thanks for the help!!
Business Accounts
Answer for Membership
by: slam69Posted on 2008-08-01 at 07:12:49ID: 22138394
hang on does teh drive your trying to contact to belong to a machine with static Ip. i think the ip lease has changed, run ipconfig /flushdns at command prompt on a machine that is seeing this error and then try again