{"id":20214949,"url":"https://github.com/nikolai2038/run-programs-on-startup-as-admin","last_synced_at":"2025-10-04T16:38:39.362Z","repository":{"id":63225303,"uuid":"565400728","full_name":"Nikolai2038/run-programs-on-startup-as-admin","owner":"Nikolai2038","description":"This script allows you to create an application startup that will run as an administrator when a user logs into Windows","archived":false,"fork":false,"pushed_at":"2024-09-29T20:48:18.000Z","size":33,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T14:27:50.727Z","etag":null,"topics":["powershell","startup-script","windows","windows-10","windows-11"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nikolai2038.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-13T09:37:59.000Z","updated_at":"2024-09-29T20:47:46.000Z","dependencies_parsed_at":"2025-04-10T14:10:59.147Z","dependency_job_id":"8b99700f-15d4-48f9-9556-73a1a1caf076","html_url":"https://github.com/Nikolai2038/run-programs-on-startup-as-admin","commit_stats":null,"previous_names":["nikolai2038/run-programs-on-startup-as-admin"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Nikolai2038/run-programs-on-startup-as-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikolai2038%2Frun-programs-on-startup-as-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikolai2038%2Frun-programs-on-startup-as-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikolai2038%2Frun-programs-on-startup-as-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikolai2038%2Frun-programs-on-startup-as-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nikolai2038","download_url":"https://codeload.github.com/Nikolai2038/run-programs-on-startup-as-admin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikolai2038%2Frun-programs-on-startup-as-admin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278343082,"owners_count":25971399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["powershell","startup-script","windows","windows-10","windows-11"],"created_at":"2024-11-14T06:18:57.309Z","updated_at":"2025-10-04T16:38:39.306Z","avatar_url":"https://github.com/Nikolai2038.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Run programs on Windows Startup as Administrator\n\n**EN** | [RU](README_RU.md)\n\n## Description\n\nThis 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).\n\nThis is achieved by creating an appropriate scheduled task.\n\n## Requirements\n\n- Windows 10/11;\n- PowerShell.\n\nYou also need to enable the ability to execute scripts `*.ps1`, if not already enabled:\n\n1. Run `PowerShell` **as administrator**;\n2. Execute:\n\n    ```powershell\n    Set-ExecutionPolicy Unrestricted\n    ```\n\n## Usage\n\n1. Run `PowerShell`;\n2. Clone the repository:\n\n    ```powershell\n    git clone https://github.com/Nikolai2038/run-programs-on-startup-as-admin.git\n    ```\n\n3. Reopen `PowerShell` **as administrator**;\n4. Execute the script for creating a scheduled task:\n\n    ```powershell\n    \u0026 \"\u003cpath to the cloned repository\u003e/task_create.ps1\"\n    ```\n\n    Enter (if necessary):\n\n    ```powershell\n    R\n    ```\n\nThe 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.\n\nThe task itself calls the script `task_script.ps1`, which, in turn, runs all shortcuts of programs located in the folder `\u003cpath to the cloned repository\u003e/links` in a loop.\n\nAt the moment, the script works with shortcuts, not executable files. If there are no shortcuts, then nothing will happen.\n\n## Contribution\n\nFeel free to contribute via [pull requests](https://github.com/Nikolai2038/run-programs-on-startup-as-admin/pulls) or [issues](https://github.com/Nikolai2038/run-programs-on-startup-as-admin/issues)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolai2038%2Frun-programs-on-startup-as-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikolai2038%2Frun-programs-on-startup-as-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolai2038%2Frun-programs-on-startup-as-admin/lists"}