Re: Server Services
From: Torgeir Bakken (MVP) (Torgeir.Bakken-spam_at_hydro.com)
Date: 02/27/04
- Next message: Doug Knox MS-MVP: "Re: auto login every time?"
- Previous message: Pegasus \(MVP\): "Re: auto login every time?"
- In reply to: LKocinski: "Server Services"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 27 Feb 2004 02:13:08 +0100
LKocinski wrote:
> Something we are installing on our workstations
> removes "Server" service from the list of services that
> are running...Administrative Tools, Services. It is not
> just "stopped" it is completely gone from the list. We do
> not know how this will impact our workstations/network if
> at all (Novell). One effect is when using computer
> management/local users/properties/ the group membership
> tab is no longer available. Error message reads "Server
> services" ....not started. Can anyone point to a white
> paper, knowledge base etc that will tell me exactly WHAT
> Server service is? It is not just "stopped" it is
> completely gone from the list. Any help will be greatly
> appreciated.
Hi
If you need to add the server service back again:
Uninstall "File & Print Sharing" from the network properties pane
and reboot (if F&PS is there), and then install F&PS (it will install
the server service again).
>From a script, you can use snetcfg.exe to do this:
http://groups.google.com/groups?selm=402BF089.E39AE5FB%40hydro.com
(note that after the procedure in the link above, F&PS will be
installed and *enabled*).
If you only want to add the server service with a script, this works
for me on Win2k (I would think it works on WinXP as well):
Export the registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer
from a machine where the server service is running as it should, to a registry
file with e.g. the name Lanmansvr.reg
Then, on a computer with no server service installed, run the following two
command lines from e.g. a batch file (note that the rundll32 line will wrap in
the newsreader!):
%SystemRoot%\system32\rundll32.exe setupapi.dll,InstallHinfSection Install.ndi
132 %SystemRoot%\Inf\netserv.inf
regedit.exe /s "Lanmansvr.reg"
-- 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
- Next message: Doug Knox MS-MVP: "Re: auto login every time?"
- Previous message: Pegasus \(MVP\): "Re: auto login every time?"
- In reply to: LKocinski: "Server Services"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|