Im trying to make a bootable windows 10 usb that runs a program on startup with no login, i tried modifying the windows bootable install usb however, it did not work. i have also tried making a bootable installation of windows autorun a file but it was too big to put on a usb stick.
13 Answers
It's very easy to make a bootable USB. All you need to follow these steps:
- Go to start and type "cmd" and entre.
- Type "Disk part" in the command prompt and entre.
- New command prompt would open, type "list disk" and entre
- Then type "select disk 1" entre
- Type "clean" and entre.
- Type "create partition primary" and hit enter.
- Type 'select partition 1' a hit Enter.
- Type 'active' and hit Enter.
- Type 'format fs=ntfs quick' and hit Enter.
- Type exit.
- Copy all the window 10 data in pen drive and boot.
Once you have a bootable it is fairly easy for it to run a program on boot. Try to create a task in the Task Scheduler. You can create a task and configure it to run a certain program every time you boot. Also, you can configure Windows to always login the first time you boot without needing a password. You can use netplwiz as describe in this link.
There's an easier way to do this. If you copy a shortcut to your application in the following windows directory, your application will run immediately on startup without any extra steps.
C:\Users\YOUR_USER\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
1