WinXP Automatic power-on Login Wow BAT Implementation _dos/bat

Source: Internet
Author: User
Tags sleep
Now 5 District serious, I usually 6 points home on Warcraft, General 9 o'clock to enter the game, in order not to be late, last night spent 2 hours set up the next WinXP system of automatic start to run World of Warcraft queue, now to share with you, convenient to work friends on time raid.
Here is a description:
The first step: Set up automatic timing boot
The automatic plan of the whole day must start from the boot. The first step is to make sure that the Advanced Power management settings for the motherboard you are using must support this feature, but it is good that most motherboards now support a timed boot operation, as follows:
Step one: Start the system Press del key, enter the BIOS setup screen, and then select the "Power Management Features" (Electricity management settings) after entering. Locate the "Restore on Ac/power Loss" item in the Power Management window, press ENTER, and then set its value to "on" by the direction key
Step two: Select "Resume on RTC Alarm" and press ENTER, then set its value to "Enable" through the arrow keys
Step three: Select the RTC Alarm Date entry to press ENTER, and then set its value to "everyday", indicating that the same operation is done daily. In the same way, "RTC Alarm Hour", "RTC Alarm Hour", "RTC Alarm Minute" and "RTC Alarm Second" are set to "17", "0" and "00" respectively, which means that the time for automatic power-on is PM " 5:00:00 ". Press F10 when all settings are complete, save all settings and reboot the system
Tip: Because the BIOS for different motherboards is inconsistent, and some motherboard BIOS settings may not be the same as the above steps, but as long as you remember in the power management options to find "Wake up" the words of the setting, most of it is to set the timing of the boot option, After you find it and enter it, you can set it in accordance with the above method

Step Two: Automatic login system
The computer is automatically turned on, but it does not guarantee automatic login system, then you can modify the registry to implement Windows XP system automatic Login
Step One: Enter "regedit" in the Run window, open Registry Editor, and expand in the left window
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] Key
Step Two: Locate the "DefaultUserName" subkey in the right-hand window and double-click. In the Edit String value window that pops up, set the value data to the user logon account name. If there is no "defaultusername", you can click the right mouse button in the right window, click "New" → "string value", and then rename "New Value #" to " DefaultUserName "After the change can be;
Step three: In the right window, find "DefaultPassword" (if it does not exist, you can create the key value by following the new "DefaultUserName" method) and double-click it to set its value to the password of the account that you used to log on to the system when you subsequently popped the Edit String value window
Step four: According to the above method, we create a new one in the right window named "AutoAdminLogon" and change its numeric setting to "1", and finally exit the registry and restart the system to achieve automatic login

Step three: Automatic dial-up Internet access
I am using ADSL broadband Internet access, so that the system in the login automatically to achieve dial-up Internet operation Bar
Step one: Run the "ADSL" dial-up shortcut icon on the desktop, and then enter the ADSL username and password in the Dial-up window, and then tick the "Save username and password for users below" and "any person using this computer" two options
Step Two: Click on the "Properties" button, and then click the "Options" tab, in this tab to undo the "prompt name, password and certificate" option of the hook
Step three: Now select the ADSL shortcut icon on the desktop and hold down the left mouse button until you drag it to the start → all programs → start item

Fourth Step: Automatically run Warcraft program and login
Create a new text file, save the following code (excluding brackets) as Wow.vbs, and then put the wow.vbs in the "start → all Programs → start" item.
Copy Code code as follows:
Dim Wshshell,wowpath
Wowpath= "E:\worldo~1\wow.exe" (here is the launch path of Warcraft, note the Devil posted in this setting is wrong, I this path is the test pass. My system's default path is D:\world of Warcraft\wow)
SET wshshell=wscript.createobject ("Wscript.Shell")
Wscript.Sleep 60000
Wshshell.run Wowpath
Wscript.Sleep 15000
Wshshell.appactivate "World of Warcraft"
Wshshell.sendkeys "Game Account"
Wscript.Sleep 2000
Wshshell.sendkeys "{tab}"
Wshshell.sendkeys "Game Password"
Wscript.Sleep 2000
Wshshell.sendkeys ' {Enter} '

Complete the above steps and you're done.
Have set the 0--31 option is refers to the number of months in line, you enter 7 is every month, line 7th, we should enter 0--is every day platoon, you said you want to go out to play on weekends do not want to row? OK, just pull the plug.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.