Disable Autoplay Pop-Up Window for CDs and USB Drives
Its practically annoying after few times of having to close the pop-up windows asking what to do each time you insert a external drive or some kinda CD media. However, the pop-up window can he disabled. Here is how to disable the autoplay pop-up window for USB drives and CD’s:
Go to your Windows Start button and navigate to RUN…now type in
Gpedit.msc and click OK
A Windows Group Policy window will pop up. This is where you configure the pop-up window setting.

Click the Administrative Templates folder, then click the System folder.
On the right side of the window you will see (may have to scroll down) the “Turn Off Autoplay” item. Double click that item.

Now a new window will pop up, now double click the item, and set the radio button to Enabled, and change the “Turn off Autoplay on” to All Drives.

Now the autoplay pop-up won’t annoy anymore.
Note: This setting will also affect your CD-ROM autoplay function as well.
This doesn’t work on “home” versions of Windows as there is no group policy editor.