Elvis Woo

To whom be glory forever and ever. Amen.

Skip to: Content | Sidebar | Footer



Category: Windows

Countdown script in Batch file

10 February, 2010 (17:58) | Windows

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

Hide CMD Window when running a batch file

10 February, 2010 (17:53) | Windows

Open Notepad and enter the following:
Set ws = CreateObject("Wscript.shell")ws.run "your.bat",vbhide
Then save as a vbs file "your.vbs"

“A word or phrase in the file” in WindowsXP

16 August, 2008 (21:12) | Windows

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

ASP Website on IIS6.0

10 August, 2008 (08:51) | Application System, Windows

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 [...]

Remove Microsoft Pinyin IME 2003 Completely

17 February, 2008 (09:08) | Windows

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
*******************************************

Windows 2000 Active Directory Upgrade

7 February, 2008 (13:12) | 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 [...]

Improve RDP Speed on Windows Vista.

31 January, 2008 (09:45) | Windows

Run cmd window in administrator mode
the command is:
netsh interface tcp set global rss=disabled
netsh interface tcp set global autotuninglevel=disabled
**************************************************

How to turn Hibernate on or off in Windows Vista

18 December, 2007 (17:24) | Windows

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

**************************************************

Keep Numlock Enabled on Boot

3 December, 2007 (11:35) | Windows

Start/Run/Regedit
[HKEY_USERS\.DEFAULT\Control Panel\Keyboard]
"InitialKeyboardIndicators"="2"

**************************************************

Command Prompt - Change the command prompt to C:

3 December, 2007 (11:25) | Windows

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.

**************************************************