How to run batch file at startup (Windows 10)
up vote
0
down vote
favorite
I am trying to run a batch file with these contents:
ECHO OFF
TIMEOUT /T 2 /NOBREAK
DisplaySwitch.exe /internal
TIMEOUT /T 2 /NOBREAK
DisplaySwitch.exe /external
I've tried putting a shortcut to it in the startup folder, putting the bat itself in the startup folder, and running it as a task using task scheduler. I also have UAC completely disabled. It runs fine when I run it myself, but it won't run at startup. How can I get to run when I start the computer?
boot windows-10 batch
add a comment |
up vote
0
down vote
favorite
I am trying to run a batch file with these contents:
ECHO OFF
TIMEOUT /T 2 /NOBREAK
DisplaySwitch.exe /internal
TIMEOUT /T 2 /NOBREAK
DisplaySwitch.exe /external
I've tried putting a shortcut to it in the startup folder, putting the bat itself in the startup folder, and running it as a task using task scheduler. I also have UAC completely disabled. It runs fine when I run it myself, but it won't run at startup. How can I get to run when I start the computer?
boot windows-10 batch
1
Try: stackoverflow.com/questions/21218346/run-batch-file-on-start-up
– I'm on stack exchange
Jan 16 '16 at 19:35
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to run a batch file with these contents:
ECHO OFF
TIMEOUT /T 2 /NOBREAK
DisplaySwitch.exe /internal
TIMEOUT /T 2 /NOBREAK
DisplaySwitch.exe /external
I've tried putting a shortcut to it in the startup folder, putting the bat itself in the startup folder, and running it as a task using task scheduler. I also have UAC completely disabled. It runs fine when I run it myself, but it won't run at startup. How can I get to run when I start the computer?
boot windows-10 batch
I am trying to run a batch file with these contents:
ECHO OFF
TIMEOUT /T 2 /NOBREAK
DisplaySwitch.exe /internal
TIMEOUT /T 2 /NOBREAK
DisplaySwitch.exe /external
I've tried putting a shortcut to it in the startup folder, putting the bat itself in the startup folder, and running it as a task using task scheduler. I also have UAC completely disabled. It runs fine when I run it myself, but it won't run at startup. How can I get to run when I start the computer?
boot windows-10 batch
boot windows-10 batch
edited Jan 16 '16 at 19:36
asked Jan 16 '16 at 19:05
Rob
2315
2315
1
Try: stackoverflow.com/questions/21218346/run-batch-file-on-start-up
– I'm on stack exchange
Jan 16 '16 at 19:35
add a comment |
1
Try: stackoverflow.com/questions/21218346/run-batch-file-on-start-up
– I'm on stack exchange
Jan 16 '16 at 19:35
1
1
Try: stackoverflow.com/questions/21218346/run-batch-file-on-start-up
– I'm on stack exchange
Jan 16 '16 at 19:35
Try: stackoverflow.com/questions/21218346/run-batch-file-on-start-up
– I'm on stack exchange
Jan 16 '16 at 19:35
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
I was able to solve this issue by running the task at logon instead of startup.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I was able to solve this issue by running the task at logon instead of startup.
add a comment |
up vote
0
down vote
I was able to solve this issue by running the task at logon instead of startup.
add a comment |
up vote
0
down vote
up vote
0
down vote
I was able to solve this issue by running the task at logon instead of startup.
I was able to solve this issue by running the task at logon instead of startup.
answered Jan 18 '16 at 0:25
Rob
2315
2315
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1027297%2fhow-to-run-batch-file-at-startup-windows-10%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Try: stackoverflow.com/questions/21218346/run-batch-file-on-start-up
– I'm on stack exchange
Jan 16 '16 at 19:35