I would actually use start=demand, which allows the service to be stopped and started on demand. Then you could just use Net stop and Net start commands. Glenn Sullivan, MCSE+I MCDBA David Clark Company Inc. -----Original Message----- From: Wilson, Tyfanie [mailto:twilson@xxxxxxxxxxxx] Sent: Monday, April 21, 2003 4:03 PM To: windows2000@xxxxxxxxxxxxx Subject: [windows2000] Re: Command Line / Batch File Question This is pretty handy.. I have someone whose Messenger seems to start & = log him in randomly. This would work, but he does occasionally want to = run Messenger. If I made him another file with the opposite commands in = it: sc <computername> config messenger start=3Denabled sc <computername> start messenger would this turn Messenger back on? Thank you, ~*~ -----Original Message----- From: Greg Reese [mailto:GReese@xxxxxxxxxxxxxxxx]=20 Sent: Monday, April 21, 2003 9:24 AM To: windows2000@xxxxxxxxxxxxx Subject: [windows2000] Re: Command Line / Batch File Question thanks Glenn! This is exactly what I was looking for. Greg -----Original Message----- From: Sullivan, Glenn [mailto:GSullivan@xxxxxxxxxxxxxx] Sent: Monday, April 21, 2003 11:26 AM To: 'windows2000@xxxxxxxxxxxxx' Subject: [windows2000] Re: Command Line / Batch File Question BTW the <ComputerName> part is optional... leave it out and it will =3D execute on the local machine. Glenn Sullivan, MCSE+I MCDBA David Clark Company Inc. -----Original Message----- From: Sullivan, Glenn [mailto:GSullivan@xxxxxxxxxxxxxx] Sent: Monday, April 21, 2003 11:24 AM To: 'windows2000@xxxxxxxxxxxxx' Subject: [windows2000] Re: Command Line / Batch File Question sc <computername> stop messenger sc <computername> config messenger start=3D3Ddisabled This uses SC.exe from the resource kit. Hope this helps, Glenn Sullivan, MCSE+I MCDBA David Clark Company Inc. -----Original Message----- From: Greg Reese [mailto:GReese@xxxxxxxxxxxxxxxx] Sent: Monday, April 21, 2003 11:06 AM To: windows2000@xxxxxxxxxxxxx Subject: [windows2000] Command Line / Batch File Question Is it possible to change a service's properties from a command line? I want to be able to make a batch file that stops a service, then =3D3D disables it. The messenger service to be exact. Greg =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D= 3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D= 3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D= 3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm ================================== To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm ================================== To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm