Windows – Removing/hiding the option to “safely remove USB devices” via GPO and registry

group-policyusbwindowswindows-registry

I ave already gone through How to prevent Windows from safely removing hardware? and it has a registry based solution for WinXP, however what I am after is:
1. a GPO based solution
2. windows 7, 2003 and 2008 as well

thanks

UPD: tried

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MYDEVICE] 
"DisableRemovable"=dword:00000001 

doesn't work for me

Best Answer

You can use GPO Preferences to set this registry key.

You can look at this article for information on how to do this. Just make sure the computers have the Client Side Extensions installed and you should be ready to go.