pcservne
asked on
Disable USB drives in Windows 7
For Windows XP I had a simple registry code in the login script that would disable/enable USB drives for users or computers. I'm trying to find a way to do the same thing for Windows 7 - use the login script instead of GPO so I have more granular control. Any ideas?
ASKER
That's what I have now. It only works for Windows XP, not Windows 7.
http://www.redmondpie.com/disable-usb-storage-in-windows-8-7-how-to-guide/
Note that you need to reboot for the change to take effect.
Further info:
http://www.askvg.com/how-to-disable-restrict-use-of-usb-storage-devices-in-windows/
Note that you need to reboot for the change to take effect.
Further info:
http://www.askvg.com/how-to-disable-restrict-use-of-usb-storage-devices-in-windows/
ASKER
Same commands as the previous post. I don't know why they claim it works on Win7/8, but it does NOT.
hi,
check your GPO setting i think your GOP not working in win 7 PC. and please RUN rsop.msc in win 7 system and check rules are apply or not.
check your GPO setting i think your GOP not working in win 7 PC. and please RUN rsop.msc in win 7 system and check rules are apply or not.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OK - but I've got 250 machines and can't do it manually. Plus some users need access to USB drives regardless which PC they sign onto. That's why my command of turning the UsbStor service to 3 or 4 in the login script worked perfectly. Except what several articles say, it doesn't work in Windows 7. Disabling USBSTOR.INF & USBSTOR.PNF seem like the answer, but I need a way to do it in the login script, not GPO.
Open in new window
Set Start to 4.HTH,
Dan