Home » Guides » Personalization »

Published on 06.20.09 by Brent Trahan

Prevent Installing Software from Removable Media

Learn how to prevent a user from installing software from CD/DVD, floppy, or any other removable media in Windows 7.

If a user tries to install a program from removable media, such as CD-ROMs, floppy disks, and DVDs, a message appears, stating that the feature cannot be found.

This setting applies even when the installation is running in the user’s security context.

If you disable this setting or do not configure it, users can install from removable media when the installation is running in their own security context, but only system administrators can use removable media when an installation is running with elevated system privileges, such as installations offered on the desktop or in Add or Remove Programs.

Also, see the “Enable user to use media source while elevated setting” in Computer Configuration\Administrative Templates\Windows Components\Windows Installer.

Also, see the “Hide the ‘Add a program from CD-ROM or floppy disk’ option” setting in User Configuration\Administrative Templates\Control Panel\Add or Remove Programs.

Prevent Installing Software from Removable Media

  1. Type gpedit.msc in the Start menu’s search box and then press Enter.

    Note: This guide shows you how to make changes to Windows 7 using Group Policy. Group Policy is not available in Home versions of Windows 7.

  2. Navigate to User Configuration, Administrative Templates, Windows Components, and then select Windows Installer in the left column of the Group Policy editor.


  3. Double-click Prevent removable media source for any install in the Settings section of the Group Policy editor.
  4. Select Enable and then click OK to save the changes.


Still need help? Ask your computer question now.

Related Guides:

Leave a Reply

Subscribe to this guide's comments RSS feed.

Microsoft Windows is a registered trademark of Microsoft Corporation. Microsoft Corporation in no way endorses or is affiliated with MAXIMUMpcguides.com. All other products mentioned are registered trademarks of their respective companies. MAXIMUMpcguides IS NOT RESPONSIBLE for any damage or data loss to your computer from using this web site. All information on MAXIMUMpcguides is provided on an AS IS basis with NO WARRANTIES.

Copyright 2006-2019 Brent Trahan. All rights reserved.