The Win32_Keyboard class has these properties.
Availability and status of the device.
Running or Full Power
The device is known to be in a power save mode, but its exact status is unknown.
The device is in a power save state but still functioning, and may exhibit degraded performance.
The device is not functioning, but could be brought to full power quickly.
The device is in a warning state, though also in a power save mode.
The device is paused.
The device is not ready.
The device is not configured.
The device is quiet.
Short description of the object—a one-line string.
Win32 Configuration Manager error code.
Device is working properly.
Device is not configured correctly.
The driver for this device might be corrupted, or your system may be running low on memory or other resources. (3)
Driver for this device might be corrupted, or the system may be low on memory or other resources.
This device is not working properly. One of its drivers or your registry might be corrupted. (4)
Device is not working properly. One of its drivers or the registry might be corrupted.
The driver for this device needs a resource that Windows cannot manage. (5)
Driver for the device requires a resource that Windows cannot manage.
The boot configuration for this device conflicts with other devices. (6)
Boot configuration for the device conflicts with other devices.
Driver loader for the device is missing.
This device is not working properly because the controlling firmware is reporting the resources for the device incorrectly. (9)
Device is not working properly. The controlling firmware is incorrectly reporting the resources for the device.
Device cannot start.
Device failed.
This device cannot find enough free resources that it can use. (12)
Device cannot find enough free resources to use.
Windows cannot verify the device's resources.
This device cannot work properly until you restart your computer. (14)
Device cannot work properly until the computer is restarted.
This device is not working properly because there is probably a re-enumeration problem. (15)
Device is not working properly due to a possible re-enumeration problem.
Windows cannot identify all the resources this device uses. (16)
Windows cannot identify all of the resources that the device uses.
Device is requesting an unknown resource type.
Device drivers must be reinstalled.
Registry might be corrupted.
System failure: Try changing the driver for this device. If that does not work, see your hardware documentation. Windows is removing this device. (21)
System failure. If changing the device driver is ineffective, see the hardware documentation. Windows is removing the device.
Device is disabled.
System failure: Try changing the driver for this device. If that doesn't work, see your hardware documentation. (23)
System failure. If changing the device driver is ineffective, see the hardware documentation.
This device is not present, is not working properly, or does not have all its drivers installed. (24)
Device is not present, not working properly, or does not have all of its drivers installed.
Windows is still setting up the device.
Windows is still setting up the device.
Device does not have valid log configuration.
Device drivers are not installed.
This device is disabled because the firmware of the device did not give it the required resources. (29)
Device is disabled. The device firmware did not provide the required resources.
This device is using an Interrupt Request (IRQ) resource that another device is using. (30)
Device is using an IRQ resource that another device is using.
This device is not working properly because Windows cannot load the drivers required for this device. (31)
Device is not working properly. Windows cannot load the required device drivers.
If TRUE, the device is using a user-defined configuration.
Name of the first concrete class that appears in the inheritance chain used in the creation of an instance. When used with the other key properties of the class, the property allows all instances of this class and its subclasses to be identified uniquely.
Description of the object.
Address or other identifying information to uniquely name the logical device.
If TRUE, the error reported in LastErrorCode is now cleared.
More information about the error recorded in LastErrorCode, and corrective actions that may be taken.
Date and time the object was installed. This property does not need a value to indicate that the object is installed.
If TRUE, the device is locked, preventing user input or output.
Last error code reported by the logical device.
Free-form string indicating the layout of the keyboard.
Label by which the object is known. When subclassed, the property can be overridden to be a key property.
Number of function keys on the keyboard.
Status of hardware-level password enabled at the keyboard (value=4), preventing local input.
Other (1)
Unknown (2)
Disabled (3)
Enabled (4)
Not Implemented (5)
Windows Plug and Play device identifier of the logical device.
Example: "*PNP030b"
Array of the specific power-related capabilities of a logical device.
This property is inherited from CIM_LogicalDevice.
The power management features are currently enabled but the exact feature set is unknown or the information is unavailable.
The device can change its power state based on usage or other criteria.
Timed Power-On Supported
If TRUE, the device can be power-managed (can be put into suspend mode, and so on). The property does not indicate that power management features are currently enabled, only that the logical device is capable of power management.
Current status of the object. Various operational and nonoperational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Nonoperational statuses include: "Error", "Starting", "Stopping", and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is online, yet the managed element is neither "OK" nor in one of the other states.
Values include the following:
OK ("OK")
Error ("Error")
Degraded ("Degraded")
Unknown ("Unknown")
Pred Fail ("Pred Fail")
Starting ("Starting")
Stopping ("Stopping")
Service ("Service")
Stressed ("Stressed")
NonRecover ("NonRecover")
No Contact ("No Contact")
Lost Comm ("Lost Comm")
State of the logical device. If this property does not apply to the logical device, the value 5 (Not Applicable) should be used.
Other (1)
Unknown (2)
Enabled (3)
Disabled (4)
Not Applicable (5)
Value of the scoping computer's CreationClassName property.
Name of the scoping system.