Windows* Stop! Is Your System Set Up Correctly? Code Sample

Submit New Article

Last Modified On :   March 11, 2008 6:24 PM PDT
Rate
 


by Gael Holmes
Software Performance Engineer, Intel Corporation


Why Should I Care About This Code Sample?

This VBScript* file is used to quickly determine if a system is set up correctly according to a user-defined set of configurations.


Abstract/Overview

This VBScript file can be run prior to performance testing to ensure the system is configured correctly. It allows you to set the high level ("My Computer") performance settings and disk write caching to be flagged if each is not set to the desired configurations. The My Computer settings and disk write caching preferences are set according to user preferences by writing the appropriate values to the registry. It also writes the system information to a log file for later reference.

1. Double Click the get_sys.vbs file name

2. cscript get_sys.vbs


Target Audience
Anyone who is involved in software performance testing or wants to quickly see how a system is configured.

Sample Category: System Configuration

Implementation Language: VBScript

Target Hardware & Software Platforms

Hardware Systems: Systems running Intel® Xeon® processors

Operating Systems: Microsoft Windows* Server 2003 and other Win32 and Win64 operating systems

Compilers: N/A


Download the source code