Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Prevent users from running executables from usb sticks

03 Jul 2011   #1

Windows 7 Ultimate x64
Prevent users from running executables from usb sticks

Guys, how do I prevent users from running executabels from usb sticks? I do want them to save and read files from the usb sticks, but not any executable files such as bat, exe, vbs etc.

My System SpecsSystem Spec
03 Jul 2011   #2

64-bit Windows 10 Pro

Hello Balthier,

You could make their user accounts to be a standard user instead of administrators, then they will not be able to run anything that will affect the system or other users. However, this will affect them being able to do this at all, and not just from USB sticks.

User Account Type - Change

In addition, you could use AppLocker to create rules to not allow their specific user accounts to open or run specific types of files.

AppLocker - Create New Rules

Hope this helps,
My System SpecsSystem Spec
04 Jul 2011   #3
A Guy

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1

You can use Software Restriction Policies to only allow users to access programs that are in the Program Files, or Program Files (x86) for instance. It's a bit beyond me, but I'm sure Brink or another can get into more detail. I found this pod cast:

How Do I: Software Restriction Policies in Windows 7

and a link that explains:

How to make a disallowed-by-default Software Restriction Policy

A Guy
My System SpecsSystem Spec


 Prevent users from running executables from usb sticks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
Take Ownership - Allow or Prevent Users and Groups To
How to Allow or Prevent Users and Groups to be able to Take Ownership This will show you how to allow or prevent specific users and groups from being able to Take Ownership of items such as a file, folder, registry key, drive, or other objects in Vista, Windows 7, and Windows 8. You will...
Prevent executables from running on mapped network drives
Hi! In our company, we are using Windows 7 and my goal is to prevent users (also administrators) of specific workstations from running executables which are located on mapped network drives (servers). I tried different things (e.g. Software Restriction Policies or Applocker => in both cases I...
Network & Sharing
450+ errors in Memtest with both sticks, now running 1 stick, question
Hello everyone, I have been getting BSODs for awhile now unfortunately. At first I thought it was my power supply not supplying enough power anymore because it's 2+ years old and has been through many builds. Well, I ran Memtest last night just to be sure, and after waking up 8 hours later,...
BSOD Help and Support
How to prevent users from changing my wallpaper?
I would like to specify a set of wallpapers to rotate,(a feature windows 7 has by default) and then make it impossible for any user, administrator or otherwise, to change that set. I know there has to be a way to do that, because there are multiple tutorials on how to lock just one wallpaper, I...
Prevent Other users from rearranging desktop icons ?
Is there a way to prevent users from rearranging the desktop icons ? or where does Windows 7 keep the configuration files that keeps track of the icon placement on the desktop?
General Discussion
RAM... Two sticks, three sticks, dual channel, triple channels, huh?
I ordered some computer stuff at 4a.m. and I had a major brainfart when doing so. I ordered some Crucial ram that came in 2GB sticks, sold is in doubles and triple packs, my thought was well, 6GB is better then 4GB when ordering but after doing so I thought, wait, don't you normally...
Hardware & Devices

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 09:27.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App