I want to make a USB drive that begins installing a program on it in the background.
Related
i want a system that can make that a script is automatic start in the moment i put my USB in a PC.
i can not make anything on the PC than plug in a USB.
is that possible?
something like a rubber ducky
I want to open a PowerPoint file when I plug in the USB Drive. I know that there is something called Autorun, but I do not know how to make it open a file in my USB Drive.
Windows had a built in feature where you could set a USB to auto run on any machine when it was plugged in. It would usually prompt the user if they wanted to run the files. but some clever fellows figured out how to bypass this prompt and used it to maliciously run code from the USB as soon as it was plugged in. Windows 10 patched out the ability to auto run flash drives meaning that without finding a work around it is unlikely that you will get a USB to auto run.
I want to run python3 on our school computers (under Windows) during our programming classes. I installed python 3.1 onto a USB flash drive at home (using Windows), and brought it to school. However, it gives me the following error:
The program can't start because python31.dll is missing from your computer. Try reinstalling the program to fix this problem.
How do I get the file, where do I put it (can I put it onto the USB itself?) and/or is there a better alternative for python3 portability?
The reason why I don't simply use an online editor is because I also want to have pygame along with python on the USB.
If you installed python on your home PC "for all users" the .dll is in the c:\windows\system32\ (or equivalent).
Copy it to your USB drive folder or reinstall python "just for me" on the USB drive so it contains everything in one place.
I'm trying to install some unsigned legacy drivers to my computer from command line. I have used dpinst.exe and installhinfsection functions which work fine, however everything I've tried is software first, meaning it installs the driver onto your computer and then doesn't actually show up in the device manager until you plug the device into your computer.
I'm wanting to install the driver and have it show up in the device manager without having to plug in any devices.
I can do this with adding legacy hardware from the device manager, but I want this to be an automated process so all from command line and not having to do it manually through device manager.
thanks in advance
EDIT
The drivers were written by me (UserModeDriverFramework), they are emulating real devices.
I have a Mac running VirtualBox with a Win 8.1 client VM.
I have a program to run in the VM that requires access to a USB dongle — note, not a storage device! Sadly, whenever the Mac restarts it grabs the dongle, so before the VM can use it remote hands must physically remove it from the Mac and plug it in again.
Is there some way to programmatically eject (virtually, not physically of course) such a USB device from the Mac so that the VM can then take over ownership? I'll be happy to dig into I/O Kit or whatever Framework in Cocoa may be needed to accomplish this. I'd just rather not start if it's obviously impossible.
This question and answer is similar to what I'm looking for, but Step 6 is "Remove the USB device from your physical machine." I'm trying to avoid fiddling with the physical hardware by hand so that I can automate the process.