SoFunction
Updated on 2025-04-10

Enable LAN sharing (access to the username and password) registry and batch processing


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Lsa]
"restrictanonymous"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"restrictanonymous"=dword:00000000
;The location of the above two lines in the system is: Local Security Policy-Security Options-Network Access: SAM accounts and sharing are not allowed
;Anonymous enumeration. The system default value is: disabled.
; Commentary: The operating system default: the ipc$ channel can be used to establish an empty connection, and anonymously enumerate how many accounts the machine has. Apparently
; There are certain safety hazards. This system has been set to not allow empty connections. This improves the security of single-machine dial-up Internet access.
;The negative impact is that LANs cannot access each other. It takes some changes to resolve.




[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"limitblankpassworduse"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Lsa]
"limitblankpassworduse"=dword:00000000
;The location of the above two lines in the system is: Local Security Policy-Security Options-Account: Local Account with a blank password
; Only console login is allowed. The system default value is: enabled.
; Commentary: Many people’s accounts do not have passwords. In this way, when other computers in the LAN access the unit, an error message will pop up:
; Login failed: user account restrictions... This is caused by a security strategy of the XP system, to prevent others from taking advantage of your empty password
; Enter your computer. If you don't think it's important to do these restrictions, set it to: Deactivated.


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count]
"HRZR_EHAPCY"=hex:0C,00,00,00,26,00,00,00,F0,FB,E5,52,64,95,C6,01
"HRZR_EHAPCY:"P:\JVAQBJF\flfgrz32\",Jvaqbjf Firewall"=hex:0C,00,00,08,00,00,00,F0,FB,E5,52,64,95,C6,01

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List]
"445:TCP"="445:TCP:LocalSubNet:Enabled:@,-22005"
"137:UDP"="137:UDP:LocalSubNet:Enabled:@,-22001"
"138:UDP"="138:UDP:LocalSubNet:Enabled:@,-22002"
"139:TCP"="139:TCP:LocalSubNet:Enabled:@,-22004"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch]
"Epoch"=dword:000001ED

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers]
"LogonTime"=hex:E8,31,8E,4F,64,95,C6,01

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List]
"445:TCP"="445:TCP:LocalSubNet:Enabled:@,-22005"
"137:UDP"="137:UDP:LocalSubNet:Enabled:@,-22001"
"138:UDP"="138:UDP:LocalSubNet:Enabled:@,-22002"
"139:TCP"="139:TCP:LocalSubNet:Enabled:@,-22004"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Epoch]
"Epoch"=dword:000001ED
; The above values ​​correspond to the location in the system: Control panel-firewall-exception-file and printer sharing. System default: not selected.
; Commentary: All policies have been set, but the LAN still cannot access it. Tip: You do not have permission to use network resources.
;Not network path! Haha, it’s really annoying! In fact, XP has another level, which is the firewall, which must be passed through.
; The firewall is allowed.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"forceguest"=dword:00000000
;The above values ​​correspond to the locations in the system: Control panel-Management Tool-Local Security Policy-Local Policy-Security Options,
; Network access: sharing and security mode of local accounts: Classic - Local users authenticate with their own identity. At this time, the LAN
; When other machines access this machine, a dialog box will pop up. You need to fill in the correct username and password of the machine before access will be allowed. This way
; is safe. Recommended to use.

; Written by the author of "GhostXP_SP2 Computer Company Special Edition". Thank you for your use.