login script : Java Glossary

login script
W95/W98/Me/NT has a similar concept to DOS/W3.1/OS2/W95/W98/Me autoexec.bat called a login script. This is executed when a user logs on. You set these up on a per user basis with start ⇒ Control Panel ⇒ users and passwords ⇒ advanced ⇒ advanced ⇒ users ⇒ Administrator ⇒ properties ⇒ Profile ⇒ profile path ⇒ profile script. There is no equivalent script to autoexec.bat that runs for all users when the system boots. There is no point is doing set commands in a login script since they will be lost. You must configure set parameters for the system and for each user with start ⇒ settings ⇒ Control Panel ⇒ system ⇒ environment. You might but a SUBST J: E:\ command in your login bat file.

Store your *.bat files for the scripts in C:\winnt\system32\repl\import\scripts

Vista

Login Scripts don’t seem to be supported on Vista Home Premium. Presumably they exist in some form in the more expensive editions. Please pass on instructions on how to set them up.

Instead create a shortcut to your *.bat file, click Start ⇒ All Programs ⇒ Startup ⇒ right click Open ⇒ drop the shortcut you want to run on startup into the folder. However, Vista is flaky. These shortcuts may or may not be run on the next reboot. They may work for a while then mysteriously stop working. It is the Vista way,

First there is a mountain then there is no mountain, then there is.
~Donovan (born: 1946-05-10 age: 65)

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/loginscript.html J:\mindprod\jgloss\loginscript.html
logofeedback Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email If you want your message kept confidential, not considered for posting, please explicitly specify that.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.212]
You are visitor number 27,125.