Skip to content

Releases: Nikolai2038/run-programs-on-startup-as-admin

v.1.0.5

29 Sep 20:48
8e7a7ed
Compare
Choose a tag to compare

Changes:

  • Change LICENSE to MIT.

v.1.0.4

04 Jun 18:48
Compare
Choose a tag to compare

Changes:

  • Fix clone instruction.

v.1.0.3

28 Sep 21:23
Compare
Choose a tag to compare

Changes:

  • Update instructions;
  • Update license.

v.1.0.2

10 Sep 16:26
Compare
Choose a tag to compare

Changes:

  • Update instructions;
  • Allow start if on batteries.

v.1.0.1

10 Apr 09:40
Compare
Choose a tag to compare

Changes:

  • Removed the launch in a minimized form;
  • Update instructions;
  • Add automatic confirmation when deleting a task.

v.1.0.0

15 Nov 06:19
Compare
Choose a tag to compare

EN | RU

This script allows you to create an application startup that will run as an administrator when a user logs into Windows (because startup in Windows itself does not allow you to run applications as an administrator).

This is achieved by creating an appropriate scheduled task. To create it, you need to run PowerShell as administrator, and execute:

& "<path to the cloned repository>/task_create.ps1"

Enter:

Y

The created scheduled task can be viewed in the Windows Task Manager and changed manually if required. The name of the task being created: RunProgramsOnStartup. Calling the task_create.ps1 script again will recreate the task.

The task itself calls the script task_script.ps1, which, in turn, runs all shortcuts of programs located in the folder <path to the cloned repository>/links in a loop. At the moment, the script works with shortcuts, not executable files. If there are no shortcuts, then nothing will happen.

Feel free to contribute!