I know how to set it as "automatic, etc" at this registry tree. What I don't know how is how to enable the service's hardware profile that is disabled at the moment. E.g. A laptop can be setup having 2 hardware profiles. One profile is setup for LAN & another for stand-alone dial-up environment. Now, how to enable a disabled service running on LAN hardware profile? Thanks.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] Sent: Saturday, 16 March 2002 4:04 AM To: MSWinNT Discussions Subject: RE: Enable service via script? You should also be able to do this by changing a value in the registry. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ Under the service name there should be a DWORD value "Start" 2= Automatic 3= Manual 4= Disabled This could be easily be done with a .REG file. VBScript and Kixtart also have methods for modifying the registry. -----Original Message----- From: Ed Esgro [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 11:19 AM To: MSWinNT Discussions Subject: RE: Enable service via script? I have used the netsvc program many times from a command line to start stop pause and restart services. I am not exactly sure if it will allow you to change the startup options for it, but you can check it out. Maybe there is a switch that will allow you to do this. This article has some info about this utility. http://www.techrepublic.com/article.jhtml?id=r00320020225wtn01.htm&vf=fa v&rc ode=r003 -----Original Message----- From: BY [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 7:36 AM To: MSWinNT Discussions Subject: Enable service via script? Dear all, I am reviewing my company's SOE environment at the moment. There a service has been set as DISABLE on workstation hardware profile. If I were to do this, I try not to visit all my 2,500 machines to enable them back. I know the service name. I don't think NET command has option to enable a service. Has anyone done it before via NET command or SMS Server 2.0? Is this possible? Thanks in advanced. BY ------ You are subscribed as [EMAIL PROTECTED] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to %%email.unsub%% ------ You are subscribed as [EMAIL PROTECTED] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to %%email.unsub%% ------ You are subscribed as [EMAIL PROTECTED] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to %%email.unsub%% ------ You are subscribed as [email protected] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED]
