Windows 7 Verification Mode Detection

Background

OEMS, Sys administrators, etc. often use OPK or WAIK for mass installation. During this, they often supply some pre-installed applications. Such applications are installed when Windows installation enters Audit mode.

Question

Using C #, how do I determine if Windows is currently in audit mode?

+4
source share
1 answer

You need to check the registry:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\State
    for anything other than IMAGE_STATE_COMPLETE
  • HKEY_LOCAL_MACHINE\System\Setup for AuditInProgress

EDIT - as per the comment:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE may provide some information in this regard ...

See details

+5
source

All Articles