Update Windows Experience Index - WinSAT
0 Votes |
Description
Property Details
6045 | |
Alpha - Code that was just developed | |
Update Windows Experience Index - WinSAT | |
BESC | |
0 | |
Internal | |
jgs194 | |
8/22/2013 12:00:00 AM | |
jgstew on 5/6/2015 12:20:25 PM | |
jgstew on 5/6/2015 12:20:25 PM | |
4362 Views / 3 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance
isWindows (Relevance 1172)

windows of operating system

version of operating system >= "6.0"/* Windows Vista or later */

exists name whose(it does not contain "Win2008" AND it does not contain "Win2012") of operating system/* Exclude Windows Server */
Used in 1 fixlet | * Session Relevance |

/* This does not need to run on virtual machines */ "Physical" = /* The following is from the Physical/Virtual Computer Type Analysis - Improved */ (if (mac of operating system) then /* the Mac BES client does not currently support the smbios inspector. This needs refinement, but for now just assuming apple devices are physical since virtualiztion of OS X is relatively rare */ "Physical" else (if ((it contains "VMware" or (it contains "Microsoft" AND /* This check is needed to exclude Microsoft Surface devices */ ((value "product_name" of structure "system_information" of smbios) as string contains "Virtual Machine")) or it contains "Xen" or /* This check is needed to properly identify Parallels VMs as virtual instead of physical */ it contains "Parallels Software") of (value "manufacturer" of structure "system_information" of smbios as string)) then "Virtual" else "Physical"))
Used in 1 fixlet | * Results in a true/false |

not ((exists folder "Performance\WinSAT\DataStore" of windows folder) AND (exists files whose(name of it ends with ".WinSAT.xml" AND name of it contains "Assessment") of folder "Performance\WinSAT\DataStore" of windows folder) AND (1 < (number of files whose(name of it ends with ".WinSAT.xml" AND name of it contains "Assessment" AND ("0" = (it as text) of xpath "/WinSAT/CompletionStatus" of xml document of it)) of folder "Performance\WinSAT\DataStore" of windows folder)) AND ((now - maximum of creation times of files whose(name of it ends with ".WinSAT.xml" AND name of it contains "Assessment" AND ("0" = (it as text) of xpath "/WinSAT/CompletionStatus" of xml document of it)) of folder "Performance\WinSAT\DataStore" of windows folder) < 90*day))
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// http://technet.microsoft.com/en-us/library/cc742136.aspxSuccess Criteria
// http://blogs.technet.com/b/mniehaus/archive/2009/08/26/prepopulating-windows-experience-index-wei-a-k-a-winsat-numbers-in-windows-7.aspx
parameter "iNumResultsBefore" = "{((it as string) of number of files whose(name of it ends with ".WinSAT.xml" AND name of it contains "Assessment") of folder "Performance\WinSAT\DataStore" of windows folder)}"
//waithidden cmd /c winsat prepop
waithidden cmd /c winsat formal -restart
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |