The Disable media source for any install Group Policy prevents users, including administrators, from installing programs from removable media, regardless of the security context used. The policy is configured at User Configuration\Administrative Templates\Windows Components\Windows Installer.
If the policy is enabled, an attempt to install from removable media will be greeted with a message stating that the feature cannot be found.
If the the policy is Not Configured, you can create the DisableMedia value name, as a REG_DWORD data type, at HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Installer. Setting the data value to 1 will enable the policy.
NOTE: As with all registry paths that begin with HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows, you must also add this Value Name at
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\LocalUser\Software\Policies\Microsoft\Windows\Installer.