Need a way to run a script on windows boot up prior to a user logging in
6,119
You can use a Group Policy (or the local policy) to assign a startup script; you can configure it in the section Computer Configuration -> Windows Settings -> Scripts (Startup/Shutdown)
.
You can also use Scheduled Tasks
to configure a task to run at computer startup.
Related videos on Youtube
Author by
Sharjeel
Techie, Social Media Junkie, Early Adopter and a Foodie
Updated on September 17, 2022Comments
-
Sharjeel over 1 year
I need to run a custom script which runs when Windows boots up.I know its possible to run it when a user logs in but I want to run it when the system reboots i.e. prior to a user logging in. The OS in question is Windows 2003 and Windows 2000
-
Massimo about 14 yearsWrong. HKXY\Software\Microsoft\Windows\CurrentVersion\RunX keys, as well as the Startup folder(s), are processed by at user logon. If nobody logs in, your program will not be executed. You should use Scheduled Taksks or a policy.