How to Automagically Log onto Win98
Keywords: Automatically Log Logon Win98
Note also:
- Set password in script below
- Set logon window title in script below
- Note that logon after reboot and logon after logoff have different titles. Make sure you choose the correct one
- Run script as a normal logged on user to have it make proper registry entries
- Reboot to test.
This script is designed for WBT files, not compiled exe's Unregistered versions of WinBatch may popup the purchase solicitation screens, so it must be attended for testingif param0==0 ; User is running WBT file. Set up machine key="Software\Microsoft\Windows\CurrentVersion\RunServices[foofoo]" moi=IntControl(1004,0,0,0,0) wbexe=WinExeName("") data='"%wbexe%" "%moi%" foofoo' RegSetValue(@REGMACHINE,key,data) Message("Registry","Initialized") exit endif password="abracadabra" ;;;;;; Set password for account IntControl(1001,1,0,0,0) title="Welcome to Windows" ;;;;; Set title of Win95 logon window WinWaitExist(title,-1) SendKeysTo(title,password) SendKey("~")
Another Question:
I'm trying to use the same trick that works under windows NT to in order make my Winbatch to automatically logon under Windows 95 and it seem to not work...Answer:
Win9x/WinME does not have a built-in automatic administrative logon feature. You have to roll your own...What follows is a script I wrote to do exactly that:
AutoLogon(1).zip
Article ID: W14634Filename: Automagically Log onto Win98.txt