Prevent users from running executables from usb sticks


  1. Posts : 6
    Windows 7 Ultimate x64
       #1

    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 Computer


  2. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
       #2

    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,
    Shawn
      My Computer


  3. Posts : 53,365
    Windows 10 Home x64
       #3

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 03:12.
Find Us