Windows XP Pro SP2 Networking problem


In same cases while trying to access a shared folder on the network,you get a similar to message to the previous post,slightly changed:
“The network path was not found”
Besides checking the usual paramemeters like workgroups,ip addresses,windows firewall etc,there’s a registry key that allows(or not)anonymous access to this computer via network.Thats the one

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa”
“restrictanonymous”,”REG_DWORD”

Simply change its DWORD to 0 (zero).

Here’s an autoit script to automate this (you need to have autoit installed to compile it).

MsgBox(64,”Gi0″,”Hello!”)
run(“notepad.exe”)
WinWaitActive(“Untitled – Notepad”)
Send(“This script checks is anonymous access via network is allowed in this computer.If it does(Anonymous access value 0)it simply shuts off.In case anonynous access isnt permitted(anonymous access value 1)it changes the value in registry automatically and you re good to go”)
Sleep(7000)
WinClose(“Untitled – Notepad”)
WinWaitActive(“Notepad”, “The text in the Untitled file has changed”)
Send(“!n”)
$var=RegRead(“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa”,”restrictanonymous”)
MsgBox(4096, “Anonymous Key”, $var)
If $var = 0 Then
run(“notepad.exe”)
WinWaitActive(“Untitled – Notepad”)
Send(“Anonymous network access to this computer is permitted.No need to perform any operation”)
Sleep(4000)
WinClose(“Untitled – Notepad”)
WinWaitActive(“Notepad”, “The text in the Untitled file has changed”)
Send(“!n”)
EndIf
If $var = 1 Then
RegWrite(“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa”,”restrictanonymous”,”REG_DWORD”,0)
MsgBox(4096,”Gi0″,”Value changed”)
EndIf
MsgBox(4096,”Gi0″,”Adios!”)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.