Discussion Locked

Reconnect at Logon doesn't reconnect

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

The workstations are running Windows XPsp2.
The mapped drives are on the local LAN.

Even though I selected the checkbox to "Reconnect at Logon", when I go to access that mapped drive it asks for the password again.

11 replies

by faradhi

You can use the following command in a login script:

net use [drive letter] [UNC Path] /user:[username] [password]

The problem with this approach is that the password is stored and sent in clear text.

Hope this helps

by faradhi

When using peer 2 peer windows networking. It will always ask for the username and password to connect to another computer.

by faradhi

I would use local group policy.

1) Create a batch file containing the net use command.
2) click start-->run and type gpedit.msc
3) Expand User Configuration
4) Expand Windows Settings
5) Click on Scripts(Logon/Logoff)
6) Double Click on Logon
7) Click the Show Files Button
8) Copy the batch file you created in to the window that opens.
9) Then click the Add button in the Logon Properties dialog that opened in step 6
10) click browse and select the batch file.
11) click ok twice.

there you go 11 easy step to creating a logon script. God, I love windows!!!

by jdclyde

That should give me somewhere to start. Thanks!

(hope the page takes this time. Already closed this one!)

by lowlands

Does the user have to enter a user/password other than the one he uses to log on? If so, that information is not saved, so it would be expected he has to re enter logon information

by jdclyde

same username, different password.

If it allows you to type in any username/password and still have the checkbox, why doesn't it remember the $@#%@ password?

by jdclyde

faradhi, you mentioned a login scrip. Being a network guy instead of a windows guy, I don't know where I would put this?

config.sys?
autoexec?

by cg it

JClyde:

to answer your question of where to put a script, on the XP machine, click start, run, type in the run box, MMC and click ok. This brings up the MMC console 1. click file and choose add/remove snap in. with the add/remove snapin window open, click the add button. This opens the add/remove stand alone snapin window. From the list, find Group Policy Object editor. Click the add button. This will open up Select group policy object wizard. leave the local computer in the box and click finish. On the add/remove snapin Window, click ok. this opens the group policy object editor for the local machine. in the left pane, expand conmputer configuration, expand windows settings. you'll see scripts, startup ans shutdown. you add the script [in notepad] to the startup script]. This will make the startup script apply to the computer regardless of which user logs on. To make the script work on a per user basis, click user configuration, expand Windows settings, and you'll see scripts for start up and shut down.

you just import your script.

by cg it

oops clarification: In the Group Policy Object Editor, user configuration, windows settings, it's not startup and shut down its' log on and log off. you put the script you created in notepad [or whatever you use] in logon.

This discussion is closed to new replies.