Auto enter the login/password

I am running a LAN. Each time I reboot a computer, I have to manually enter the login/password for each network drive/printer. I am trying to reconnect to the server machine. Can I create a bat/script to do this automatically? Each computer is running Win2k Pro including the server machine.
You are running a classic workgroup where each machine has its own set of credentials in its local SAM. You cannot stop the machines from demanding credentials when you connect to them. However, you can avoid being bothered for a name and password by putting your user name and password into each machine. The fastest way to do this is with the Net User command. Logon to each machine with the administrator account, open a command prompt and type: "NET USER username password /add."
This was first published in July 2001

Dig Deeper on Windows Data Recovery



Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.



Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:









  • VDI assessment guide

    Wait! Don't implement VDI technology until you know your goals and needs. A VDI assessment should consider the benefits of a VDI ...

  • Guide to calculating ROI from VDI

    Calculating ROI from VDI requires a solid VDI cost analysis. Consider ROI calculation models, storage costs and more to determine...

  • Keep the cost of VDI storage under control

    Layering, persona management tools and flash arrays help keep virtual desktop users happy and VDI storage costs down.