Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Autostart

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-11-11 : 10:33:11
Kevin writes "I am trying to figure out a way of having the mssqlserver service autostart when I install it on Windows 95/98/ME. I am creating a installation program and noticed that on non-NT Windows machines the mssqlserver service doesn't have the autostart option set. I found the place in registry where the autostart option is stored for NT, but I can't find the place in non-NT Windows' registry. I have the command that will start the service in non-NT machines (scm -Action 1 -Service mssqlserver) but that cause a message to come u saying the service has been started and I don't want that. This is MSDE 2000 that I am using with mixed security.

Thanks,
Kevin"

smccreadie
Aged Yak Warrior

505 Posts

Posted - 2002-11-11 : 13:46:22
Windows 9x doesn't have services. I think SQL Server mimics them somehow. I believe that mssql will always be running on Win9x.

Go to Top of Page

jasper_smith
SQL Server MVP & SQLTeam MVY

846 Posts

Posted - 2002-11-11 : 14:04:29
You can supply the Silent paramater to prevent the pop up e.g.
scm -Silent 1 -Action 1 -Service mssqlserver



HTH
Jasper Smith
Go to Top of Page
   

- Advertisement -