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.
Defines how (when) the device is started. Options are:
Starts the device automatically during system startup.
Starts the device every time the system starts, before any other devices start. Select this option for critical devices essential to system operation.
Prevents users from starting the device. The system can still start disabled devices.
Allows the device to be started by a user or a dependent device.
Starts the device every time the system starts, after the Boot devices start. Select this option for critical devices essential to system operation.
Use the starttype parameter with the chres or editres commands to modify this property.
Changes the current service state. Options are: started, stopped, and paused.
Use the status parameter with the chres or editres commands to modify this property.
The fully qualified path for the specified device.
A 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)
Copyright © 2013 CA Technologies.
All rights reserved.
|
|