Re: Command Line For Server Service
From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 01/07/05
- Next message: Dan: "Re: Performance"
- Previous message: RogerC: "Re: IE window size?"
- In reply to: BookerW: "Re: Command Line For Server Service"
- Next in thread: Terry: "Re: Command Line For Server Service"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 07 Jan 2005 18:39:36 +0100
BookerW wrote:
> ok, I just ran a test on my machine, and you can use net start and use the
> actual service name and that works. Now my next dilemna, is how to enable a
> service via command line, that has been disabled.
Hi
Setting the Server service to Automatic:
%SystemRoot%\system32\sc.exe config LanmanServer start= auto
-- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx
- Next message: Dan: "Re: Performance"
- Previous message: RogerC: "Re: IE window size?"
- In reply to: BookerW: "Re: Command Line For Server Service"
- Next in thread: Terry: "Re: Command Line For Server Service"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|