You could do that with Nnetsvc.exe
Modify these instructions?:
How to Disable the Computer Browser Service Throughout a Domain
http://support.microsoft.com/default.aspx?scid=kb;en-us;297789
Modify as so?:
In addition to three batch files, you need the following utilities from
the Windows NT Server Resource Kit:
• Netdom.exe
• Nnetsvc.exe
• Rreg.exe
How to Start the Computer Browser Service
1. Create a Member.bat, Strtbrow.bat, and Strtbrow2.bat batch file.
Code for the Member.bat File
@ECHO OFF
NETDOM MEMBER > MEMBER.TXT
FOR /F "skip=6 tokens=4" %%i IN (MEMBER.TXT) DO ECHO %%i >> SERVERS.TXT
Code for the Strtbrow.bat File
@ECHO OFF
FOR /F "tokens=1" %%i IN (SERVERS.TXT) DO call strtbrow2.bat %%i
Code for the Strtbrow2.bat File
@echo off
echo Processing computer %1 >> output.txt
NETSVC /START %1 BROWSER >> output.txt
REG UPDATE HKLM\System\CurrentControlSet\Services\Browser\Start=2 %1 >>
output.txt
2. Place the three preceding batch files and resource kit utilities
into a folder, and then place the folder on the computer that is to run
the batch files. This computer must be a member of the domain where you
want to enable the Computer Browser service.
3. Run the Member.bat file, which creates two text files: Member.txt
and Servers.txt. The Servers.txt file includes a list of all of the
workstations and member servers in the domain. This file can serve as
the list of targets for the Strtbrow.bat batch file.
4. Run the Strtbrow.bat file. This file examines the list of computers
that are listed in the Servers.txt file, and then calls the
Strtbrow2.bat file to start, and then enables the Computer Browser
service on each computer. The results of this process are logged to the
Output.txt file, which can be reviewed to determine the computers that
had been successfully processed.
Seems to me that should work? For the Server service just adapt the
instruction accordingly. I make no guarantees as to wether or not this
will work. Up to you to study it and test it. I accept no
responsibility as to the usability or end results. Use at your own
risk! Up to you to figure out what to do with the information.
Search terms for more information: "sc", "Service Controller",
"netsvc.exe" "scm", "Service Controller Manager",
"HKLM\System\CurrentControlSet\Services\Browser\Start"
sc.exe examples here:
http://www4.gamewood.net/NTReskit/SC-DEV.TXT
Or probably a lot simpler and easier to do it with a Domain Security Policy:
Microsoft Windows 2000 Security Hardening Guide
Chapter 5 - Security Configuration
http://www.microsoft.com/technet/security/prodtech/windows2000/win2khg/05sconfg.mspx#EHAA
John