DEVICE Class
Each record in the DEVICE class defines a Windows hardware device as listed in the Windows Control Panel, Devices.
capamsc141
Each record in the DEVICE class defines a Windows hardware device as listed in the Windows Control Panel, Devices.
The key of the DEVICE class record is the name of the device being controlled.
The following definitions describe the properties contained in this class record. Most properties are modifiable and can be manipulated using selang or the administration interfaces. Non-modifiable properties are marked
informational
.- STARTUPTYPEDefines how (when) the device is started. Options are:
- automaticStarts the device automatically during system startup.
- bootStarts the device every time the system starts, before any other devices start. Select this option for critical devices essential to system operation.
- disabledPrevents users from starting the device. The system can still start disabled devices.
- manualAllows the device to be started by a user or a dependent device.
- systemStarts the device every time the system starts, after the Boot devices start. Select this option for critical devices essential to system operation.
- STATUSChanges the current service state. Options are: started, stopped, and paused.Use the status parameter with the chres or editres commands to modify this property.
- IMAGEPATHThe fully qualified path for the specified device.
- PROFILEA string that specifies a path to the user's profile. This string can include a local absolute path, or a UNC path.Use the profile parameter with the chusr, editusr, or newusr command to modify this property.
Example: Activate a modem
To display the status of the modem, enter the selang command:
showres DEVICE modem
To activate the modem, enter the command:
chres device modem status(started)