How to start the batch scripts before Windows logging in?

Today, I will share how to start the batch scripts before the Windows logging in. You will need Admin rights to set up this.

  1. Open the Windows Powershell (Admin).
  2. Type gpedit.msc command and open the Local Group Policy Editor.
  3. Under Computer Configuration > Windows Settings you’ll find Scripts (Startup/Shutdown) and Double click to enter the setting.
  4. Double click again and Add your batch script and press OK.

  5. Then press OK again to close your Startup Properties Windows.

That’s it. I hope this will help. πŸ™‚
Photo: https://www.brandeps.com

Leave a Reply

Your email address will not be published. Required fields are marked *