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: Run a VBS file on USB drive when the drive is plugged in

09 Mar 2014   #1
bawldiggle

XP/7x32 & x64/8x64/8.1x64
 
 
Run a VBS file on USB drive when the drive is plugged in

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 System SpecsSystem Spec
.
09 Mar 2014   #2
bawldiggle

XP/7x32 & x64/8x64/8.1x64
 
 

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.
My System SpecsSystem Spec
Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Removed Win 7 drive- plugged into 3.0 USB but won't boot
My HP laptop died but the drive worked. I removed the drive, bought an adaptor to plug it into my USB 3.0 port on my new HP G7 2269wm laptop. It has Win 7 Home Premium but won't boot up on my new computer even though I change the bios to select the port. I don't want to install a new Win 7 over...
General Discussion
USB flash drive not showing up when plugged in
Hello everyone Seems I keep having to come back here lol, but this time, I have a device issue. I have an HP v125w 8GB flash drive that just recently (an hour ago) stopped wanting to show up on my pc. I've done the whole uninstall drivers for it and everything under the USB controllers,...
Hardware & Devices
Windows 7 Will Only Boot if Boot Drive is the only Drive Plugged In
I have a Windows 7 install on a 60gb SSD (assigned to C: in Windows), and a 3 other drives just for storage, and programs. Windows will only boot if the SSD is the only one plugged in. BCD lists this as my only entry, and is calling the C: drive to boot. However when I load my Windows cd, this...
General Discussion
Will not boot if more than one hard drive plugged in.
I had to do some serious reinstall things. Processor died, had to put in a newer...used one. I checked my ... BIOS/Setup thing, and there was not IDE or Sata choosing for boot order. I have it set up as 1. dvd rom 2. hard drive 3 and 4 are disabled. Everything worked FINE before I put in...
Hardware & Devices
save file on external drive not the same as internal drive
Why do files moved to an external drive not behave the same as those same files in an internal drive? I noticed that if I do anything to a file that is in an external drive, that file can not be saved under the same name (read only). In order to do so one must save it internally and then copy or...
General Discussion
WEI fails (cannot write file to hard drive) Boot drive set to B:\
I had a regular install of Windows 7 on a WD 1 TB drive with the usual C:\ as the boot drive. I just got a new SSD, so I set up a parallel or dual boot of Windows 7 on the SSD which is set up as the B: drive. So when I boot into the Windows on the SSD (B:\) and run the WEI, it fails because...
Performance & Maintenance


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 14:50.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App