Microsoft KB Archive/320182

= HOW TO: Turn Off Automatic CD-ROM Playing in Terminal Services for Windows 2000 =

Article ID: 320182

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q320182



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

IN THIS TASK
SUMMARY
 * Using Group Policy
 * Editing the Registry



SUMMARY
This step-by-step article describes how to turn off the automatic playing of CD-ROMs on a Terminal Services server. You can turn off the automatic playing of CD-ROMs on a Terminal Service server by using Group Policy or by editing the registry.

Note that these methods turn off playing CD-ROMs automatically. If you want to turn off automatically playing CD-ROMs based on the CD-ROM that you insert, press and hold down one of the SHIFT keys while you insert the CD-ROM.

back to the top

Using Group Policy
To turn off the automatic playing of CD-ROMs:
 * 1) Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
 * 2) Right-click the domain or organizational unit that you want to configure, and then click Properties.
 * 3) Click the Group Policy tab, and then click New.
 * 4) In the New Group Policy Object box, type a descriptive name for the Group Policy object (GPO). For example, type Disable Autoplay, and then press ENTER.
 * 5) Click Edit to start Group Policy Editor.
 * 6) In the Computer Configuration section of the GPO, expand the Administrative Templates folder.
 * 7) Click System, and then in the right pane, double-click the Disable Autoplay policy object.
 * 8) Click Enabled, and then confirm that the CD-ROM object is selected.
 * 9) Click OK, quit Group Policy Editor, click the Properties dialog box, and then quit the Active Directory Users and Computers snap-in.

back to the top

Editing the Registry
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To turn off the automatic playing of CD-ROMs:  Click Start, click Run, type regedit, and then press ENTER. Locate and then click the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CDRom

 Change the Autorun value to 0 (zero).

If you later want to play CD-ROMs automatically again, change the value back to 1.

back to the top

Keywords: kbhowto kbhowtomaster KB320182

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.