KB5022842 on Win 2022
Log In or Register to download the BES file, and more.

0 Votes


Only relevant for Win2022. Looks up installed hotfix KB5022842 via wmis and checks registry to see check state of secure boot. Confirmed to work if both values are True. It will result in the VM getting tripped up next boot if running on vmware. Might happen to all Hypervisors, but none in our environment. Can be easily modified to look for whatever specific KB you are trying to locate.

Property Details

StatusProduction - Fully Tested and Ready for Production
TitleKB5022842 on Win 2022
KeywordsKB5022842 Secure boot vmware specific KB
Added by on 2/20/2023 5:17:04 AM
Last Modified by on 2/20/2023 5:20:04 AM
Counters 405 Views / 3 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.


KB installed
Period 5 minutes
  * Results in a true/false
Show indented relevance
(exists (string values of properties "HotFixID" of it) whose (it = "KB5022842") of select objects "HotFixID from Win32_QuickFixEngineering" of wmis) as string
Secure Boot Enabled
Period Every Report
  * Results in a true/false
Show indented relevance
exists it whose(1 = it as integer) of unique values of (it as string) of values "UEFISecureBootEnabled" of keys "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecureBoot\State" of (x64 registries; x32 registries)


Used in 1 analsis   * Results in a true/false
Show indented relevance
( (name of it as lowercase = "Win2022" as lowercase ) of operating system)


Social Media:
Share this page on Yammer


Log In or Register to leave comments!