Partager via


SystemSetting Enumeration

Applies To: Windows 8.1

Assessments can query the system for various settings using the SystemSettingCheckBoolean API or the SystemState interface. Only some of the system settings are writable to false and some are writable to true.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As SystemSetting

Syntax

'Declaration
Public Enumeration SystemSetting
public enum SystemSetting
public enum class SystemSetting
public enum SystemSetting
public enum SystemSetting

Members

Member name Description
AllowDisplayRequiredAC The system, when on AC power, allows the display to be required; the display won't turn off.
AllowDisplayRequiredDC The system, when on DC power, allows the display to be required; the display won't turn off.
AllowExecutionRequiredAC The system, when on AC power, allows an execution required request; the system won't suspend if execution required is set.
AllowExecutionRequiredDC The system, when on DC power, allows an execution required request; the system won't suspend if execution required is set.
AntivirusActive An anti-virus application is active.
AudioRenderDevicePresent An audio rendering device (for example, speakers) is present.
AutoHibernateAC The system has a non-zero timeout value for hibernating when on AC power.
AutoHibernateDC The system has a non-zero timeout value for hibernating when on DC power.
AutoLogOnEnabled Auto Logon is enabled.
AutoSleepAC The system has a non-zero timeout value for going to sleep when on AC power.
AutoSleepDC The system has a non-zero timeout value for going to sleep when on DC power.
BatteryPresent A battery is present in the system.
ConnectedStandbyOn The system supports connected standby mode.
CriticalBatteryAction The critical battery action is enabled.
DisplayBootMenu The system displays a menu when it boots, for example when multiple operating systems are installed.
DisplayDimAC The system has a non-zero timeout for when the display will dim while on AC power.
DisplayDimDC The system has a non-zero timeout for when the display will dim while on DC power.
DisplayTimeoutAC The system has a non-zero timeout for when the display will turn off when on AC power.
DisplayTimeoutDC The system has a non-zero timeout for when the display will turn off when on DC power.
DriverVerifierEnabled Driver Verifier is enabled on the system.
Elevated The assessment is running elevated.
FastStartupOn The system under assessment is enabled for Fast Startup (hybrid boot).
FlagGetBool flag that specifies that a SystemSetting enumerator is readable.
FlagSetBoolFalse A flag that indicates that a SystemSetting enumerator is writable with the value of false.
FlagSetBoolTrue A flag that indicates that a SystemSetting enumerator is writable with the value of true.
HibernateOn The system has a non-zero timeout value for hibernating.
IEFirstRun Internet Explorer behaves as it does when it runs for the first time.
IEPresent Internet Explorer is present in the installed operating system version.
IEWarnOnIntranet Internet Explorer warns if the Intranet security settings are in effect.
KernelDebuggerEnabled A kernel debugger is enabled on the system.
LockOnWakeAC The system will prompt for a password when it wakes from sleep or hibernation while on AC power.
LockOnWakeDC The system will prompt for a password when it wakes from sleep or hibernation while on DC power.
LockScreen The lock screen is displayed after the system is suspended.
LowBatteryAction The low battery action is enabled.
None No system setting was specified. This value should never occur at runtime.
OnACPower The system is on AC power.
PioModeOnSystemDrive The system drive is using PIO mode.
PowerProfileBalanced The current power profile is set to balanced power savings.
PowerProfileMaxSavings The current power profile is set to maximum power savings.
PowerProfileMinSavings The current power profile is set to minimum power savings.
ProblemDevicesExist One or more devices have an issue. In Device Manager, these devices are shown with a yellow exclamation point icon.
RequiresKitsPolicyInstalled The ARM Kits policy is installed
ScreenBackground The system under assessment is set to display a desktop background.
Screensaver The screen saver has a non-zero timeout and will activate when the timer expires.
ScreensaverSecure The system under assessment displays the logon screen after it returns from a screen saver.
ShowAllObjects The File Explorer option to show hidden items is enabled.
ShowExtensions The File Explorer option to show extensions is enabled.
SuspendOn  
TracingRunning A Windows Performance Record trace is running.
UsingBasicDisplay The system is using the basic display driver.
VolumeShadowCopy The Volume Shadow Copy service is enabled.
WakeOnTimerAC  
WakeOnTimerDC  
WindowsAutoUpdate Windows Update will automatically update the system.
WindowsGenuine The warning message about Windows being genuine is displayed.
WirelessAdaptersConnected Wireless networking adapters are enabled and connected to a wireless network.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

Microsoft.Assessments.Runtime Namespace