WinXP system settings (tweak)

Customise your WinXP operating system. Using *.inf scripts to edit your windows registry. Simple basic visual script *.vbs for automation task under WinXp OS.


Written by Lim Siong Boon, last dated 13-Nov-09.

email:    contact->email_siongboon  



Shortcut to your reference guides and charts

  1. What do you want to customise on your WinXP OS ?
  2. Program setup automation with Visual Basic Script *.vbs
  3. Program setup automation with AutoIt Script *.au3
  4. Uninstall USB drivers from Device Manager



What do you want to customise on your WinXP OS ?

Step 1:

Download the respective *.inf script on your computer desktop or any space.


Step 2:

Right click the file, and click "Install".

Or open your windows explorer, select your *.inf. Go to the "File" menu and select "Install".


Step 3:

The install process execute in an instant.

Your WinXP registry will be modified after the install.


Choose your *.inf files

- Improve on the speed to open up the cascade menu. The MenuShowDelay constant is set to 5. MenuShowDelay 5.inf
- Show the items under the Control Panel in a pop-up cascade menu. Cascade menu for controlpanel.inf
- Use classic search function, removing away the search animated assistant. Use Classic Search in Explorer.inf
- Hide the display showing the number of unread messages on the Logon screen. Hide display on logon, number of Unread messages.inf
- Hide Favorites folder on the Start Menu Hide Favorites on the Start Menu.inf
- Hide Logoff option on the Start Menu Hide Logoff option on the Start Menu.inf
- Disable right mouse click. Disable right click, Enable.inf , Disable right click, Disable.inf
- Don't send alert administrative messages when program crush. Not to send program crush alert to microsoft.inf
- Show hidden operating system files Show Hidden Operating System Files.inf
- Device manager show hidden devices Device manager show hidden devices.inf
- Disable balloon tips from popping up

- Open in Notepad, in Right Click Context Menu openwithnotepad.reg
reference: tutorial to add custom application to the right click context menu
openwithnotepad (undo).reg

- Add Elevated Command Prompt Option in Right Click Context Menu (Windows 7)


- Login to Windows automatically without user to key in user name & password
Go to Start-->Run... and type "control userpasswords2" and click OK.
Uncheck the box in the User Accounts window "User must enter a user name and password to use this computer" and click Apply/OK.

  This open the . 

Further reference:


Window Program startup automation script
with Visual Basic Script *.vbs
The following *.vbs files contains a sample script for simple automation under Windows operating system.
Visual basic script is easy to learn and provide the tools to automate various tasks under Window OS.
Using this script, you can automate the system to run programs upon starting up WinXp OS,
and send various keystroke and on focus to setup the software.
Simply edit the *.vbs script using your notepad and drag it into your WinXp Startup folder.

- execute program/software.

- send keyboard keystroke keys to the operating system.

- set a particular window on focus.

- delay functions to control the timing.

If you need mouse control, check out the software AutoIt in the following section.

script example:  vbs automation script to execute program.vbs

If the script cannot be run on your system, you may need to install WinHostScript.

The link to these files are as follows,

- WinXP- vbs WinHostScriptver5.6.exe

- WinXP- vbs WinHostScriptver5.7.exe

Window Program startup automation script
with Autoit *.au3
(script for Window keystroke, mouse)
Autoit scripting is similar to vbs, and it is even more powerful.
Besides keystroke and program execution, you can program the script to control your mouse cursor in Windows environment.
You can refer to the program's help for programming script functions/methods, which is very well documented.

The disadvantage is that you need to install autoit software before using it, unlike vbs which is Window supported by default.

AutoIt website Installation instruction
1) Download and install the following AUTOIT software. Just leave the installation option as it is, and click next throughout the installation.
     AutoIt ver 3 installation software for Microsoft Windows (Click here)
For other operating system, please refer to AUTOIT website.

2) Download the following script example. Right click the file and select edit, to edit the script to your needs. Go to the help manual for further scripting details.
     AutoIt script example (Click here)

3) Double click on the *.au3 autoit script file to execute the script.
Place this file inside the Windows Startup folder for auto startup.

4) The following is not necessary but it provide additional automate features to assist you in writing your script.
     AutoIt Script Editor (Click here)




Uninstall Hidden USB drivers from Device Manager
Very often when using a USB to RS232 device for hardware troubleshooting, a virtual com port number will be generated. If the device is removed and plugged to another USB port, Windows will install another set of drivers for the USB device, resulting in a new com port number assigned. Over along period of time, you may have a lot of unwanted drivers installed with you realising. This is because they are all hidden inside the Device Manager. To unhide the drivers, and uninstall them, follow the following procedures.

To get rid of unwanted drivers, devices, or services, use the following steps:
1) Open the Start menu and choose Run.
2) Type in cmd, right click the cmd terminal icon and right click "Run as administrator".
3) At the command prompt, type in "set devmgr_show_nonpresent_devices=1" and press Enter. (Note that nothing seems to happen. This is expected. You are actually setting an environment variable which is going to help you to see hidden devices.)
4) On the next command prompt line, type "devmgmt.msc" and press Enter. This will launch the Windows Device Manager Console.
5) In the Device Manager Console, from the View menu, select Show Hidden Devices.

Another shortcut method
1) Download this device-manager-show-hidden-devices.bat file.
2) right click and select "Run as administrator".
3) In the Device Manager Console, from the View menu, select Show Hidden Devices.




That's all Folk!!!



email:    contact->email_siongboon  




References on inf-file.pdf,         example: MenuShowDelay 5 (add and delete entry example).inf



more tweak options

Add Command Prompt Option to Every Folder

Add Custom Folder to My Computer or the Desktop

Allow Uninstall of Windows Components

Automatic Logon to Windows NT, 2000 and XP

Automatically Reboot on the 'Blue Screen of Death'

Change Default Search Options

Change Drive Name and Icon

Change the Default Logon Screen Saver

Change the Logon Screen Wallpaper

Change the Number of Recent Documents Displayed

Change the Position of the Desktop Wallpaper

Clear Recent Documents When Windows Exits

Clear the Cached Run Commands

Command Line Option to Reboot or Log Off Windows

Control Whether the Windows Desktop is Loaded

Customize the Windows Logon and Security Dialog Title

Disable Ability to Skip Startup Programs

Disable CD Burning

Disable Registry Editing Tools

Disable Save Settings at Exit

Disable Task Manager

Disable Taskbar Context Menus

Disable the Ability to Right Click on the Desktop

Disable the MS-DOS Command Prompt

Disable the Recycle Bin

Disable the Unread Mail Message on the Welcome Screen

Disable Windows Installer

Display the Windows Splash Screen While Loading

Enable Command Completion

Enable Directory Completion

Enable DVD Features in Media Player

Enable Monitor Power-off on the Logon Screen

Expand Special Folder on the Start Menu

Force the Use of Automatic Logon

Force Windows to Use the Classic Desktop

Group Similar Taskbar Buttons

Hide Start Menu Subfolders

Hide the Internet Explorer Icon

Hide the Search Button on the Explorer Toolbar

Hide the Welcome Screen

Lock the Size and Position of the Taskbar

Remove (All Programs) Button from the Start Menu

Remove Frequent Programs List from the Start Menu

Remove My Computer from the Desktop and Start Menu

Remove My Documents from the Desktop

Remove Pinned Programs List from the Start Menu

Remove Suspend from the Start Menu

Remove the Start Banner on the Taskbar

Remove Undock Computer from Start Menu

Remove Username from the Start Menu

Restrict Installations from Removable Media

Search for All File Types

Send Administrative Alerts of System Crashes

Show (Send to) Context Menu

Show All Hidden Devices in Device Manager

Show Cascading Control Panel Items

Show Cascading My Documents Folder

Show Cascading My Pictures Folder

Show Cascading Network Connections

Show Cascading Printers Folder

Show Detailed Information in Device Manager

Show Favorites on the Start Menu

Show Filter in Active Directory Search Results

Show Hidden Operating System Files

Show Log Off Option on the Start Menu

Use Classic Search in Explorer

Use Crtl + Alt + Delete to Restart the Computer


Keyword: WinXP OS, inf files, tweak, windows WinXP configuration