0

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?

0

I was able to solve this issue by running the task at logon instead of startup.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.