Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using windows registry to run at startup time... 1

Status
Not open for further replies.

XPPROGRAMMER

Programmer
Nov 15, 2004
44
US
Hello everyone,

I have a program or a file that called "XDB server" on my
windows 2k professional machine, that usually reports an
error in the event viewer under "system log" during the
bootup time only. This program or file does NOT have any
reference in the Startup Folder. So, my question is:
can windows 2k load or run a program during bootup time
just by using the program's name from the registry?

thanks for the help.
 
For Win2k there are a number of places a startup entry could be made. In the order of which registry and other processing steps occur at startup:

BootExecute
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute

Services
(see my note below)

User enters a password and logs on to the system

UserInit
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit

Shell
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell

All Users-RunOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce

All Users-Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

All Users-RunOnceEx
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx

All Users-RunEx
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunEx

Current User-RunOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce

Current User-Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Current User-RunOnceEx
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnceEx

Current User-RunEx
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunEx

Common Startup Folder

Startup Folder

********** end of startup processing **********

But in your instance I suspect it is a service entry. Start, Run, services.msc and see if you can find, and disable the entry.

Or, use "AutoRuns" to do the same from a GUI interface:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top