Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


January 10, 2007

How can I run the Windows System Assessment Tool (WinSAT) update directly from a command line?

RSS
Subscribe to Windows IT Pro | See More Performance Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A. You can run WinSAT from the command line and tell it to run the full suite of tests to generate scores or test just individual elements, for example "winsat formal" runs all the tests for performance testing and then updates the scores of the system by writing the data to the %systemroot%\Windows\Performance\WinSAT\DataStore. To view the features of the system, use the "winsat features" command, as the following example and resulting output show:

  

C:\Windows\system32>winsat features

Windows System Assessment Tool
> DWM running... leaving it on
> System processor power policy saved and set to 'max performance'
> Running: Feature Enumeration v1.0.0.0 '
> Gathering System Information
> Run Time 00:00:00.70
> Operating System : 6.0 Build-6000
> Processor : Genuine Intel(R) CPU T2500
@ 2.00GHz
> TSC Frequency : 1995000000
> Number of Processors : 1
> Number of Cores : 2
> Number of CPUs : 2
> Number of Cores per Processor : 2
> Number of CPUs Per Core : 1
> Cores have logical CPUs : NO
> L1 Cache and line Size : 32768 64
> L2 Cache and line Size : 2097152 64
> Total physical mem available to the OS : 1.98 GB (2,136,543,232 bytes)
> Adapter Description : Mobile Intel(R) 945GM Express Chipset Controller 0 (Microsoft Corporation - WDDM)
> Adapter Manufacturer : Intel Corporation
> Adapter Driver Version : 7.14.10.1103
> Adapter Driver Date (yy/mm/dd) : 2006\8\21
> Has DX9 or better : Yes
> Has Pixel shader 2.0 or better : Yes
> Has LDDM Driver : Yes
> Dedicated (local) video memory : 0.00MB
> System memory dedicated as video memory : 64.00MB
> System memory shared as video memory : 192.00MB
> Primary Monitor Size : 1440 X 900 (1296000 total pixels)
> WinSAT is Official : Yes
> Total Run Time 00:00:02.03
> The System processor power policy was restored

You can also run individual tests for the following elements:
- cpu - runs the cpu assessment

- mem - runs the system memory assessment

- dwm - runs the desktop window manager assessment

- d3d - runs the d3d assessment

- media - runs the media assessment

- mfmedia - runs the Media Foundation-based assessment

- disk - runs the storage assessment

Each test might then have other parameters. For example, to test the CPU, you can run an encryption or compression test. The following command runs a CPU compression test:

  

C:\Windows\system32>winsat cpu -compression

Which produces this output:
Windows System Assessment Tool

> Running: Feature Enumeration v1.0.0.0 '
> Run Time 00:00:00.56

> Running: CPU Assessment v1.0.0.0 '-compression'

> Run Time 00:00:10.45

> CPU LZW Compression 87.98 MB/s

> Total Run Time 00:00:12.47

Additional switches you can use with the winsat command include the verbose switch (-v) and the XML output file (-xml <filename>).

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

Windows 7 Sets Sales Record

Microsoft CEO Steve Ballmer described Windows 7's first ten days of sales as "fantastic" while in Japan yesterday. ...


Scripting Whitepapers From Development to Production: Streamlining SharePoint Deployment with DocAve Deployment Manager

Related Events WinConnections and Microsoft® Exchange Connections

Deep Dive into Windows Server 2008 R2 presented by John Savill

Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement