Prevent use of USB flash drives with WIndows 7

I have a standalone Windows 7 Professional machine and need to prevent users from copying data from it.  

It is used on a Standard user login, and I have an Administrator login for it.

How can I prevent USB flash drives from being used on the machine?

Is it possible to prevent CDs/DVDs from being burned?
LVL 11
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

R. Andrew KoffronCommented:
this might help.
be careful it's an old article.
To block your computer's ability to use USB Removable Disks follow these steps:

1.Open Registry Editor.
2.In Registry Editor, navigate to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR1.Locate the following value (DWORD):
Start and give it a value of 4. Note: As always, before making changes to your registry you should always make sure you have a valid backup. In cases where you're supposed to delete or modify keys or values from the registry it is possible to first export that key or value(s) to a .REG file before performing the changes.

1.Close Registry Editor. You do not need to reboot the computer for changes to apply
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

PowerEdgeTechIT ConsultantCommented:
You can block all access to removable media (CD, USB, etc.) using local policies ...

Start, type in gpedit.msc, then:
Computer Configuration (or Users Configuration), Windows Settings, Administrative Templates, System, Removable Storage Access
R. Andrew KoffronCommented:
here's an article on how to do it in server 2008 I don't have access to a windows 7 machine right now to test if it's compatible but will try it soon.
You can actually set a local group policy that will configure this a bit more gracefully than a manual registry edit:

Computer Configuration -> Administrative Templates -> System -> Removable Storage Access

You can potentially enable All Removable Storage classes: Deny all access, or if you want to retain a bit of flexibility, enable Removable Disks: Deny write access.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
R. Andrew KoffronCommented:
just tested Run5k's and it's a much better method than the previous articles.

PowerEdgeTech's tech is the same with a minor mistake in the gp path just remove "(or Users Configuration), Windows Settings"
PowerEdgeTechIT ConsultantCommented:
(or Users Configuration) was there on purpose, as an optional course.  If you follow the same path under Users Configuration, you can set the policies per user rather than global per machine.  Probably not helpful on a single machine, but if implementing in a Domain environment, Users Configuration will allow you to block/allow access per user group rather than the entire machine, just in case there are individuals (like administrators) who should retain access.  But yes, I forgot to remove 'Windows Settings'.
To expand upon PowerEdgeTech's good advice, if you want to configure local group policies that only affect non-administrators that is certainly possible, but it requires a few extra configuration steps:

How to Apply Local Group Policies to All Users Except Administrators

Explore the benefits of the Multiple Local Group Policy feature in Windows 7
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.