Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

How can a PowerShell script be automatically run on startup?

Writer Sebastian Wright

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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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