Ask the Expert

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.

    Requires Free Membership to View

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: