Solved Run a VBS file on USB drive when the drive is plugged in

bawldiggle

GrayGhost2 ret.
Pro User
VIP
Local time
2:00 PM
Messages
895
Location
Australia
I would like to run my "Example.vbs" file that is located on a USB drive when ever the USB device is plugged into any PC.

Two wiki-pages AutoPlay AND AutoRun have not helped. I have also searched this forum for AutoRun and AutoPlay ... without relevant success.
The wiki explanations are complex and I am none the wiser
I assumed either "AutoPlay" or AutoRun.inf" would lead to success, but so far nothing.

The USB drive is moved between 6 PCs, 4x Win7 (32/64bit), 1x Win8(64bit) and 1x WinXP(32bit)

I would appreciate any help :)
 

My Computer My Computer

At a glance

XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Toshiba, Lenovo (laptops) + 4 rigs
OS
XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
UPDATE

After several hours of searching (and learning) ... cannot be done in Windows 7.
MS removed the ability in Win7 for security reasons.
Prevents infections from USB drives. :cool:
 

My Computer My Computer

At a glance

XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Toshiba, Lenovo (laptops) + 4 rigs
OS
XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
Back
Top