Countdown script in Batch file
Restart Computer Example:
for /L %%a in (
15,-1,0
) do (
echo Your Computer will reboot in %%a seconds…
ping -n 2 localhost 1>nul 2>nul
)
@echo off
shutdown -r -t 0
PAUSE
Restart Computer Example:
for /L %%a in (
15,-1,0
) do (
echo Your Computer will reboot in %%a seconds…
ping -n 2 localhost 1>nul 2>nul
)
@echo off
shutdown -r -t 0
PAUSE
Open Notepad and enter the following:
Set ws = CreateObject("Wscript.shell")ws.run "your.bat",vbhide
Then save as a vbs file "your.vbs"
Using the "A word or phrase in the file" search criterion may not work
http://support.microsoft.com/kb/309173
Method 2 is more useful
Step 1:
Open "Internet Information Services (IIS) Manager"
Select "Web Service Extensions". Then select "Active Server Pages" in the right column.
Click "Allow" button.
Now, this Windows 2003 Server is support ASP.
Step 2:
Now, we should enable parent paths.
Right click the website what we want to config.
Click "properties", Select "Home Directory", Click "Configuration" . At the "Application Configuration" we select [...]
Run Command:
Regsvr32 /U Msimtf.dll
Regsvr32 /U Msctf.dll
Run regedit:
Find "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\"
Delete "MSSCIPY"
Re-login Windows
*******************************************
Lenovo Mobile R&D Center Shanghai Branch
(Jan. 2007)
Windows 2000 Active Directory Upgrade to Windows 2003 R2:
Domain Control: 2
Transition PC: 1
Step 1:
Install Windows Server 2003 R2 on transition PC (with DNS Server)
Add it to the Active Directory
Step 2:
Insert "Disc 2" of Windows Server 2003 in the CDROM drive of PDC
Enter folder X:\CMPNENTS\R2\ADPREP
Run [...]
Run cmd window in administrator mode
the command is:
netsh interface tcp set global rss=disabled
netsh interface tcp set global autotuninglevel=disabled
**************************************************
If you don’t need your computer to Hibernate or want to turn it back on again
Open the Start Menu
Right click Command Prompt
Select Run as administrator
To turn Hibernation off - powercfg -hibernate off
To turn Hibernation on - powercfg -hibernate on
If you turn it off, it won’t even show on the Start Menu
**************************************************
Start/Run/Regedit
[HKEY_USERS\.DEFAULT\Control Panel\Keyboard]
"InitialKeyboardIndicators"="2"
**************************************************
Start/Run/Regedit
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun. In the right pane, double click Autorun and type in: cd /d c:\\ as the value data.
**************************************************