This page will show you how to run any program when you start up Windows 10/11 without signing in.
There are three common ways to run a program at startup:
- Add it to the Startup folder
- Add to Registry
- タスクスケジューラに登録する
When you start Windows, the sign-in screen appears and you are not signed in to a specific user account, so methods 1 and 2 cannot be used.
The reason is that programs registered in the startup and registry will only run after you sign in to your user account.
By using option 3, Task Scheduler, you can run programs even if you are not signed in to your user account.
How to run a program without signing in
*You can register in the same way for both Windows 10 and 11.
To use this feature, you must first set a password for your user account.
How to Set, Change, or Remove a Local Account Password in Windows 10/11
1.Start buttonRight-click > Computer Management.
2. On the left, click Computer Management (Local) > Task Scheduler > Task Scheduler Library.
3. Next, click on "Create Task" on the right.
4. Enter a name for the task in the "General" tab (you can change the name as you like).
5. Click "Run whether user is logged on or not” is checked.
6. Open the Triggers tab and click New.

7. "New Trigger" will open, so select "At startup" under "Begin the task."
8. Click OK, open the Actions tab and click New.
9. For example, here is the content below:Batch fileI'll try registering it.
Enter the full path of the batch file. (Enclose the path in double quotation marks.)
shutdown /r /f /t 10
del %0
The above command is for testing purposes only and should never be registered.
The above command executes a command to restart after 10 seconds and then deletes the batch file itself.
Once you restart, the batch file will be automatically deleted, so even if the Task Scheduler tries to run it, it will not be able to run a file that does not exist, and Windows will start up as usual.
| Command | meaning |
|---|---|
| shutdown /r /f /t 10 | Restart after 10 seconds |
| del %0 | Delete the batch file itself |
However, if you enter the command incorrectly and the batch file is not deleted, the computer will restart every time you start it and you will not be able to sign in.
10. Once registration is complete, click OK > OK again.
11. You will be prompted to enter the user account information to run this task. Enter your password and click OK.
*If you are using a Microsoft account, please enter your Microsoft account password (not your PIN).
12.The task will then be created.
13. "Startup" not "At system startup"It becomes ".
14. Once you have confirmed this, close Task Scheduler and restart your PC.

In the image above, the test batch file registered earlier is executed without signing in, and the computer is automatically restarted.
Please refer to the above steps and try registering your favorite programs or batch files.











Comment: