How Can a Powershell Script Be Automatically Run on Startup?

I have a PowerShell script to monitor an image folder. I need it to run automatically on startup.

I tried to use MSConfig, but I could not find it in that list.

How can I have the script automatically run on startup?

2

2 Answers

Copy ps1 into this folder, create it if necessary.

C:\Windows\System32\GroupPolicy\Machine\Scripts\Startup
1

On Windows 10 personal machine

I added my startup bat script to this folder:

C:\Users\bsheps\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

The script runs automatically every time I log in to my computer.

1

Your Answer

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

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest