Jump to content

Change Autorun behaviour for USB Drives


Recommended Posts


Im trying to change the default autorun sequence for USB disk drives only. I have a script that detects drives that use USBSTOR.sys and matches them against a list of known good PNP IDs named USBDetect.vbs. If unauthorized, the script then shuts down USB Storage via devcon and sends an alert to an admin. Id like this script to run each time someone inserts a USB device. If this works, the easier it is to deploy in my domain the better. Any ideas on where to look? I have looked at google and yahoo and have yet to find what Im looking for.

Thanks in advance

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...