Windows 7 GPO - Disable All Removable Media then Re-enable, now CD/DVD drive is inaccessible

Ok, this might be better placed in the Windows 7 forum, but we're having some issues with limiting access to removable media via GPO.
We've set up a GPO for Computer Policy, Admin Templates, System, Removable Storage Access, All Removable Storage classes: Deny all access - Enabled
After finding that this was a bit too restrictive we reset it back to Not Configured (and later Disabled to try and force it) but it seems to break our DVD drives on all Win7 x64 machines (the gpo is limited to apply only to these machines).  Instead
of the usual icon in my computer it shows a description of the CD/DVD in the drive and the usual "unknown file type" icon.  if you take the cd out it shows the usual cd rom icon, but still gives "access denied"
There is one workaround, and that is to set the GPO back to not configured and manually remove the CD/DVD device via device manager, restart, and allow windows to re-install the device drivers.
This is 100% repeatable by applying the same local computer policy (All Removable Storage classes: Deny all access - Enabled" and restarting the machine. 
Has anyone else run into this problem before?  And how can we fix it without having to go to every machine to remove the DVD drive from device manager? 
Thanks,
-Nick

Hi,
after looking on many pages for a solution i always found the same workarounds - but for me deleting the device is no option because you aren't allowed to delete devices without administrative rights. Also I can't expect that our users always have to reinstall
the device.
So i analyzed whats going on in the registry when the key "Deny_All" for blocking RemovableStorageAccess is set to 1 - with the running of gpupdate i realized that Windows is writing a registry key to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE\Device\
named "security". The problem is that windows doesn't delete this key after setting the key "Deny_All" back to 0. Only sometimes it will be deleted, for example when you apply the policy for blocking devices and reverse this setting immediatly without a restart
of windows.
I made a little script which I integrated in the user-gpo (as logon script) for granting access to the removable storage devices:
'****SCRIPT START****
' this script searches for all "security"-keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE\ and deletes them
Option Explicit
Const HKEY_LOCAL_MACHINE = &H80000002
Dim oReg : Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
Dim oShell : Set oShell = CreateObject("WScript.Shell")
Dim sPath, aSub, sKey, aSubToo, sKeyToo, dwValue
' Get all keys within sPath
sPath = "SYSTEM\CurrentControlSet\Enum\IDE"
oReg.EnumKey HKEY_LOCAL_MACHINE, sPath, aSub
' Loop through each key
For Each sKey In aSub
    'Get all subkeys within the key 'sKey'
    oReg.EnumKey HKEY_LOCAL_MACHINE, sPath & "\" & sKey, aSubToo
    For Each sKeyToo In aSubToo
        oReg.deleteValue HKEY_LOCAL_MACHINE, sPath & "\" & sKey & "\" & sKeyToo , "Security"
        if Err.Number<>0 then
            Err.Clear
        end if
    Next
Next
'****SCRIPT END****
The policy for giving access to removable storage looks like this now:
- a logon script is executed which searches for all "security"-keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE\ and deletes them
- the setting "All Removable Storage classes: Deny all access" ist set to "Disabled"
I hope this helps...
Regards
Swanson

Similar Messages

  • Windows 7 ultimate install on Hp Media center pc m7170n now cd/dvd drives not detected

    My computer crashed so I went ahead and had windows 7 installed. Now my cd/dvd drives are not being detected. Any solutions  out there?
    Anthony

    Ascottbag, welcome to the forum.
    Here is a guide that may help you solve your problem.  Please let us know if it helps or not.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • After downloading osx 10.9.2 when i open my logic pro 9 and begin to audition loops that came with lp9 i get a message that says "audio device has been removed  and then a second message the " select driver not found(-10202). my interface is a apogee duet

    after downloading osx 10.9.2 when i open my logic pro 9 and begin to audition loops that came with lp9 i get a message that says "audio device has been removed  and then a second message the " select driver not found(-10202). my interface is a apogee duet. Can anyone provide a solution to this problem. Thanks

    YES!!! YES!!! YES!!!
    I got it!!! Yes!!!
    Guys, I've solved my problem about that error -10202 (Selected driver not found).
    I have installed in my Mac Pro (OS X 10.5.8) a document with an extension ".rsrc" to correct the position of the accents in my keyboard, like acute accent, tilde and circumflex.
    That file is called "U.S. - International.rsrc" and it's stored in the following path:
    "Macintosh HD/Library/Keyboard Layouts"
    So, when it's properly installed, I can choose 2 country flags on the right side of the menu bar (U.S. - International and Brazilian).
    That's the clue!
    When I pick up "U.S. - International", my keyboard works fine with the accents, >>>BUT<<< Logic Pro 9 doesn't recognize my audio driver; and when I pick up "Brazilian", my keyboard doesn't work with the accents exactly as it shows me on each key, BUT Logic Pro 9 DOES recognize my audio driver.
    So, when I want to write anything out, I will pick up the "US - International" and when I want to work on the Logic Pro 9, I will pick up "Brazilian".
    I hope I can help all of you.
    Regards,
    Renato Veiga.

  • HT5628 When I install Windows 8 on my MacBook Pro(13-inch,Early2011),the Super DVD Drive doesn't appear in Windows 8 and installing Boot Camp 5 drivers doesn't solve my problem,what can I do?

    When I install Windows 8 on my MacBook Pro(13-inch,Early2011),the Super DVD Drive doesn't appear in Windows 8 and installing Boot Camp 5 drivers doesn't solve my problem,what can I do?

    Go into your system preferences and click the startup disk icon then select your Mac HD. 

  • I have an older IMac 5. I installed snow Leopard on. Now my DVD drive is not working. Discs go in but it dosn't boot up or show in finder. Then disc won't eject unless i shut down and restart. HELP !

    I have an older IMac 5. I installed snow Leopard on. Now my DVD drive is not working. Discs go in but it dosn't boot up or show in finder. Then disc won't eject unless i shut down and restart. HELP !

    Snow Leopard cannot run on a PPC G5 Mac as it requires an Intel processor. Please confirm what Mac you have.

  • Installed itunes 6 and now CD/DVD drive won't work at all

    I just bought a new ipod and installed the software and now my CD/DVD drive won't work at all. Here is my info: Could someone please help!!!
    Microsoft Windows XP Professional Service Pack 2 (Build 2600)
    Dell Computer Corporation Inspiron 5160
    iTunes 6.0.4.2
    CD Driver 2.0.4.3
    CD Driver DLL 2.0.3.2
    LowerFilters: ASAPIW2K (6.0.2.0),
    UpperFilters: GEARAspiWDM (2.0.4.3),
    Video Driver: NVIDIA GeForce FX Go5200 \GeForce FX Go5200
    IDE\DiskFUJITSUMHT2080AH_______________________006C___, Bus Type ATA, Bus Address [0,0]
    IDE\CdRomSONYDVD+-RW_DW-D56A____________________PDS7___, Bus Type ATA, Bus Address [0,0]
    SCSI\CdRomROXIO__DVD-ROM_EMULATOR___, Bus Type SCSI, Bus Address [0,0]
    If you have multiple drives on the same IDE or SCSI bus, these drives may interfere with each other.
    Some computers need an update to the ATA or IDE bus driver, or Intel chipset. If iTunes has problems recognizing CDs or hanging or crashing while importing or burning CDs, check the support site for the manufacturer of your computer or motherboard.
    Current user is administrator.
    D: SONY DVD+-RW DW-D56A, Rev PDS7
    Drive is empty.
    E: ROXIO DVD-ROM EMULATOR, Rev
    Drive is empty.
    If anyone has a solution for this stupid problem that would be great.
    Thanks

    Yes, I suspect that it's the virtual drive emulator software you have there. I know nothing about that software and it doesn't look like the Roxio support page even mentions it, so it's probably software old enough that they're not supporting it anymore.
    To uninstall any software, I would start with the "Add and Remove Programs" Control Panel. Uninstall it there, and then use the Microsoft Installer Cleanup Utility —
    http://support.microsoft.com/default.aspx?kbid=290301
    Download and install that. Run it and find the drive emulator software on the list and remove it there. And reboot and see if that has successfully removed it.
    There is a work around that if we just remove the iTunes CD driver, you'll probably get your drive back, but you'll only be able to rip CDs, you won't be able to burn them without the iTunes CD driver installed. You do have some Pinnacle CD burning software installed. Are you currently using that or is that leftover cruft as well?

  • Windows 7 Pro 64-Bit on Early 2008 iMac - No CD/DVD Driver error

    Hi,
    I'm trying to install Windows 7 64-bit on my early 2008 iMac and its failing at the point after I click "Start Install" in the Windows 7 installation.
    Its complaining that I don't have the required CD/DVD drivers, and prompts me to insert a disk/usb drive. Well, I can't find a way to eject the Win7 disk.
    Is there a way around this? Or am I going to have to install Win7 32-bit? Will my licence for the 64-bit version work with a 32-bit version instead??
    Thanks

    Hi
    You dont need to change the booting order in BIOS.
    You can boot from CD/DVD drive using another way
    Press F12 after notebook has powered up
    Then a boot menu should appear there you should choose the ODD as booting device and should press ENTER.
    This would enable the booting from CD/DVD drive
    You can also press the C button immediately after notebook has powered up this should enable CD/DVD drive as well.!

  • When a I open a pdf in firefox, one window opens (empty all white) and then the proper pdf. Then I have to close two windows. How do I get rid of the empty window?

    As above.

    Hello Tyler, I am trying to get rid of this page because I would like to go staight to google.

  • How to remove and then add new version of network driver on Local IPS repo

    Hi
    I have create a local repo of IPS on my system for solaris 11.1
    I have a network driver package ,now i wan to update this new driver in local IPS repo,so while doing installion on client through PXE,i will get this latest driver.
    These is some issue with old network driver,so i need to upgrade this driver.
    Please let me know the steps
    Thanks in advance

    If you're needing to use this driver during the installation then you'll need to create a custom AI image as described in the documentation at http://docs.oracle.com/cd/E23824_01/html/E21800/index.html. If you only need this driver post-installation then you just need to add the package (and its repository, assuming it's in a separate repository) to the AI manifest used for the client.

  • Windows 8.1 Bootcamp with 27 inch 2011 iMac with no DVD drive

    Hi there,
    I have seen conflicting answers on this on concerning MBP, or with working Windows 8.1. However, the CD Drive on my mac broke, and i want to dual boot it. I have a valid Windows 8.1 key i'd like to use. Is what i want to do possible just via instaling via USB drives if i have the ISOs?
    Thanks in advance!

    http://windows.microsoft.com/en-us/windows-8/create-reset-refresh-media

  • Accidentally disabled and removed DVD player

    I think I uninstalled/removed my DVD drive. I accidentally clicked on the add remove device icon on my toolbar and for some reason it uninstalled/removed the DVD drive completely, as if my computer doesn't have a disk drive and now the DVD drive won't read any disks. I tried going to the hardware properties to do the enable/disable thing, but it doesn't show up there. It's like I deleted it completely. Short of a reinstalling everything, what can I do to restore the functionality of the DVD drive?
    I'm using a HP Pavilion DV4-1265dx laptop using windows 7.
    This question was solved.
    View Solution.

    Hi,
    First, try the automated fixit from Microsoft on the link below.
    Windows 7
    Check if the drive is now working.
    If it still doesn't work, click the Start Menu, open All Programs, open Accessories, right click the Command Prompt and select 'Run as Administrator'.  In to the prompt type the following command and hit enter.
    sfc /scannow                 ( note that there is a space between sfc and the / )
    Let the process complete, then type exit and hit enter. 
    Next, click the Start Menu, open the Control Panel and click on Device Manager.  Next click to open DVD/CD-ROM Drives.  Right click the drive and select uninstall.  Do not delete drivers if asked.  When the device has uninstalled click on the 'Scan for Hardware Changes' icon ( usually just below Help on the toolbar ).  Let windows reinstall the drive and see if it now works.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • The back button no longer works. I have disabled all add-ons, rebooted & reset the defaults for the browser and nothing has changed. This happens on all webpages.How do I get the back button to light up again?

    the back button no longer works. I have disabled all add-ons,rebooted & reset the defaults for the browser and nothing has changed. This happens on all webpages.How do I get the back button to light up again?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    *Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Another possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.com/kb/Bookmarks+not+saved#w_places-database-file

  • Copy Keychain to Removable Media

    Hello All:
    I wish to 'copy' my Keychain to removable media, just in case something untoward happens. Of course, the backup is in Time Machine, however without another 'Mac' around I cannot access the data. So, I figured I copy Keychain to removable media (iPod Classic set up as hard drive).
    Now, Mac Help says to "Copy your keychain to a location... or copy it to your removable media."
    Great! Now for the daft question: How do I (exactly) copy my keychain to removable media?
    Many, many thanks in advance!

    V.K.:
    Many Thanks for the reply. I should have thought it would be as easy as that. Although you are absolutely right that removable media is no better than a TM back-up, considering I will still need a Mac to access Keychain, it is more useful to me. It is easier to travel with the iPod (Classic) and have the info available than to carry a TM, even if I will need to locate a Mac to access.
    Many thanks again,
    Bill

  • Disable all page items except one

    Hi All,
    Can any one please help me with the code. I have created a page with report from a table which has 5 values. If any user want to edit a row, he can do that by clicking the edit icon next to the row then the page redirected to another page with has a tabular form i created where there are 5 page items with values. I want to disable all the page items and enable only one item.the user can modify only one item which enabled, rest of the page items must be disabled. How can i do that. I have to use java script or is there any provision in apex itself?please help me....
    Thanks In Advance
    Meena
    Edited by: 793914 on Oct 19, 2010 2:05 PM

    Meena,
    My apologies. 3.2 also allows you to set the Page Item to Display Only. I don't know why I was thinking that was new to 4.0!
    By disabled, I assume you just want the current value to display, which would be null for a new record? It's not that you want to hide the disabled values, right?

  • Only just recently the sound on itunes has become distaughted & metallic sounding. All other media player still play sound fine. i've tried repairing uninstalling etc.

    Recently the sound on itunes has changed. It is distaughted and metallic. I have tried repairing re-installing and uninstalling but its the same. I have windows xp and all other media players are fine. mike

    fbuerg,
    You are welcome. Glad my good fortune was helpful to you.
    Time Keeper

Maybe you are looking for

  • Function module for getting the created or changed by user

    hi , iam using the t-code ob 52 inthat iam i not getting the created or changed by user so is there any function module which gives created r changed by user . it shhould take the input as t-code and it has to display the created r changed by user ..

  • 80Gb classic cant be seen by itunes

    When ever i connect my 80 gb classic ipod to my computer i get a message that pops up that is titled: devicemsglistenerwnd: iPod Service.exe – Application error and in the message box it says: the instruction at "0x00427259" referenced memory at "0x0

  • Connection to partner 'seccprd-be:sapgw00' broken

    Hi All, We are facing  tRFC queue in error in TC SM58. error is connection to partner 'seccprd-be:sapgw00' broken Error is like that: Caller    :-DEVELOPER Function Module  :- IDOC_INBOUND_ASYNCHRONOUS Target System       XXXCLNT200   Date    xxxxxxx

  • UnsupportedOperationException sending JMS messages

    Hi everyone. I'm a bit new to OC4J, so I apologize if this is a silly question. I've got the following code:     Hashtable environment = new Hashtable();     environment.put("java.naming.factory.initial", "com.evermind.server.ApplicationClientInitial

  • Manually Updating my coverage area

    Hi, I just updated my vzaccess successfully, but once I start running it, it reminds me that a area coverage update is available. Every time I tell it to update, it always comes back update failed. I notice that the connection constantly switches fro