Is it possible to create a .bat script which turns Apps in autostart on or off?

Hannes Lauter 21 Reputation points
2022-09-29T11:32:24.67+00:00

Hey, im searching for a way to turn the Autostart off apps on or off. So i want to create a script which turns the Autostart of example1.exe off and turns the Autostart for example2.exe on.

I have no clue how you would even begin to do that, and im also a big noob in cmd

So if you have any ideas how that would be possible i would greatly appreciate it.

Thx in advance!

ps: if you are not sure what im referring to when i say "Autostart", i mean the automatic startup of the App after Windows has started.

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. MotoX80 36,401 Reputation points
    2022-09-29T12:14:45.477+00:00

    There are multiple ways to launch a program so you would first need to find out what you need to change. (Registry entry, shortcut, scheduled task.)

    Start by using the autoruns utility.

    https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns.

    In autoruns you can just uncheck an entry and that will temporarily disable it. That would be the easiest way.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.