making something run only at boot

  • Thread starter Thread starter jon
  • Start date Start date
J

jon

I want a script of mine to run when the computer boots but
not when someone logs on. What key should I put it in? I
know these keys run when a user logs on:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\RunOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\RunOnce

So I think I would put it in one of these two:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\ RunServices
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\ RunServicesOnce

I'm on Windows 2000. What one though do I put it in?
Probably the first (out of the last 2) would be my guess.
 
jon said:
I want a script of mine to run when the computer boots but
not when someone logs on. What key should I put it in? I
know these keys run when a user logs on:
(snip)

Hi

How to enable computer startup script (Win2k/WinXP Pro):

From the Start menu Run dialog, open: gpedit.msc

Then, under "Computer Configuration",
open Windows Settings\Scripts (Startup/Shutdown)
(double click on "Startup", Add...).


More info in Tip 2147 in the 'NT Reg Hacks' at http://www.jsiinc.com

JSI Tip 2147. Windows 2000 Startup/Shutdown, Logon/Logoff scripts?
http://www.jsiinc.com/sube/tip2100/rh2147.htm
 
Back
Top