I have written a script that will disable the Master browser on the local machine. Can someone look it over and till me if this looks like it will work. Will the value and script work with win 2k. I only have access to XP machines. Should the script be setup to check for os type then run the appropriate reg settings? If so can someone point me to the right code. Thank you for your help.
========================
Dim WSHShell, valKey, DWvalue
Set WSHShell = WScript.CreateObject("WScript.Shell")
DWvalue = 4
WshShell.RegWrite "HKLM\SYSTEM\CurrentControlSet\Services\Browser\Start", DWvalue, "REG_DWORD
========================
Dim WSHShell, valKey, DWvalue
Set WSHShell = WScript.CreateObject("WScript.Shell")
DWvalue = 4
WshShell.RegWrite "HKLM\SYSTEM\CurrentControlSet\Services\Browser\Start", DWvalue, "REG_DWORD