The CD-ROM is inserted into the optical drive and is automatically played by default, which is more convenient. But it also facilitates the spread of the virus. You can turn off AutoPlay, and it's up to the user to know how to run it.
1, start → Control panel. or click the Control Panel on the taskbar.
2, control Panel → Hardware and sound
3, hardware and sound → automatic playback
4, automatic playback → cancellation for all media and equipment to use the automatic playback option, is to prohibit all autoplay (also can be customized settings) → Save
5, click the Drop-down menu can choose the default action options → Save
6, if not assured, you can set up in Group Policy: start → run → input: gpedit.msc Enter the Group Policy Editor.
7. Computer Configuration → admin templates → all settings
8, then on the right side of the window to pull down, find off auto play → edit (or double-click to open)
9, has been enabled → default to disable the CD-ROM automatic playback → OK
10, at this time, if you set all the drives (including U disk also prohibit automatic playback, prevent viruses) → Determine