Techie's Tools Home

Vista Game Launching Script

Current Version: .42d
Get The Vista Game Launching Script

This handy little Windows script will kill all but the necessary services and processes in Vista, leaving you with the extra resources needed to run today's games.

Run it via an elevated command prompt with the command "cscript vgl.vbs" (Vista Orb-->Search: "cmd"-->Right Click cmd.exe-->"Run as administrator").

What it does:

  • It will make two loops to kill all the dependant services and then one pass to kill all the parent services (ignoring any services included in the 'arrServicesToKeep' array).
  • Next it will kill all running processes including Explorer.exe (ignoring any services included in the 'arrProcessesToKeep' array).
  • You will then be presented with a prompt to either run one of the predefined games, or you can type in a full path to the program you want to run.
No settings are changed, so at any time you can simply reboot to restore the system to exactly how it was before the script was run! No worry of crashes making things "stick". :)

Edit the script to your liking, as you may want to add personal services and processes you want to keep, as well as change the predefined list of games (available in the form of a 2D array -- "Display name","path to executable").

Notes of interest:

  • Networking is left intact for network gaming.
  • Task Manager is ignored while killing processes, so you can watch the progress/outcome of the script.
  • The arrays are NOT dynamic, if you add/remove something, ensure the Dim statement reflects the new size correctly.

Get It Now!

Comments

techie007
04 Jan 2008, 18:09
Changes:
(Dec. '07)
.42 - Release
.42a - Ensured varible cleansing in loop (avoids strAppPath double-up)
- Added some error checking
.42b - Rearranged and massaged code for readability.
.42c - Split ObjShell for the separate functions (prevents loss when picking another game).
techie007
12 Jan 2008, 14:35
Changes
(Jan. '08)
.42d - Added a 4th game to the pick list.
- Haven't had any further problems or complaints; .42d released. :)
ReS
05 Jan 2009, 13:41
it dont seem i can play wow with this script, how does i do it so i can make internet work for my games? cause i also play CS 1.6, CZ and CS Source
*Name:
Email:
Notify me about new comments on this page
Hide my email
*Text:
 
*Answer:
 
All content ©2008 Techie's Tools
Techie's Tools Home Page