Disable CDROM Drive

Disables all CD-ROM drives on a computer.

Using this object in an Automation Policy will require affected computers to be re-started in order for the action to be carried out.

Privileges

Normal

Input Parameters

None

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

No input parameters required.

This object changes Registry values to enable or disable CD-ROM drives as follows:

HKLM\SYSTEM\CurrentControlSet\Services\cdrom

The 'Start' property’s values are: 1 = Enabled, 4 = Disable.