Attention
Zercurity has been acquired by JumpCloud.
This documentation will no longer be maintained or updated. You can read more about the acquisition, or signup to JumpCloud today.
windows_optional_features¶
Lists names and installation states of windows features. Maps to Win32_OptionalFeature WMI class.
Platform support¶
Please be aware that some queries can only be run against certain platforms. Below is a list of the supported platforms that this query supports. Zercurity will automatically pause queries from running if errors are detected. Running a query against an unsupported platform will result in the following error: no such table: windows_optional_features
- Windows
Table schema¶
Name | Type | Description |
---|---|---|
name | TEXT | Name of the feature |
caption | TEXT | Caption of feature in settings UI |
state | INTEGER | Installation state value. 1 == Enabled, 2 == Disabled, 3 == Absent |
statename | TEXT | Installation state name. ‘Enabled’,’Disabled’,’Absent’ |
Query examples¶
select * from windows_optional_features
select * from windows_optional_features where name = 'SMB1Protocol' AND state = 1