Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 421 Posts 111 Joined 2003-08-29 00:00 22-year member UID 9153 Gender Male
Status Offline
By default, XP installs File and Printer Sharing for Microsoft Networks on the local connection. It has a big impact on security and startup speed for home users. I’m planning to use a batch file to deal with the registry issue, so I’d like to see whether anyone has experience with this.
Credits 5,212 Posts 2,478 Joined 2007-02-08 23:39 19-year member UID 79003 Gender Male
Status Offline
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace
There’s a print under it, see if that’s it...
If you turn that off, it seems sharing won’t work, right?
If it’s for yourself, try uninstalling the protocol and see whether that works?
Credits 14 Posts 8 Joined 2007-03-07 23:15 19-year member UID 81017 Gender Male
Status Offline
I’ve also been looking for a solution to this problem for a long time, and there still hasn’t been any suitable solution, other than uninstalling it manually!
Credits 14 Posts 8 Joined 2007-03-07 23:15 19-year member UID 81017 Gender Male
Status Offline
Found it already, but it still needs a bit more work!
Dim WshSHell
On Error Resume Next
Set WshSHell = WScript.CreateObject("WScript.Shell")
WshSHell.Run "control.exe ncpa.cpl"
WScript.Sleep 500
WshSHell.SendKeys "{DOWN}{UP}"
WScript.Sleep 500
WshSHell.SendKeys "%FR"
WScript.Sleep 500
WshSHell.SendKeys "{DOWN}{ }"
WScript.Sleep 500
WshSHell.SendKeys "%U"
WScript.Sleep 500
WshSHell.SendKeys "Y"
WScript.Sleep 10000
WshSHell.SendKeys "{TAB 5}{Enter}"
WScript.Sleep 3000
WshSHell.SendKeys "%FC"
Set WshSHell = Nothing
WScript.Quit