On Windows Server, I found that the schedule that is executed when the system boots up is registered in the task scheduler, so I used another method to register the startup program to clean the task scheduler.


It is a method to register in the startup program like a common PC without using the task scheduler. But I couldn't register startup program same way as the PC, so I had to directly add startup program in startup folder.

 

And, I found two way how to access the folder.

 

How to register the startup program easily:

There are the two ways. 

 

 (Administrator privileges will be required.)

 

 1) Using Run(windows key + R)

  'shell:startup'

 

 2) file explorer

  %appdata%\Microsoft\Windows\Start Menu\Programs\Startup

 

 

After that, just add the program or batch file you want to run at startup to the directory.

 

shell:startup