Open the Local area network share (Access this confidential user name and password) of the registry and batch processing _dos/bat

Source: Internet
Author: User
Tags anonymous
Open LAN Sharing (access to this confidential user name and password). cmd
Copy Code code as follows:

@ ECHO off
@ ECHO.
@ ECHO. Description
@ ECHO--------------------------------------------------------------------
@ ECHO After this batch is executed, some of the following settings are made:
@ ECHO 1, anonymous enumeration that allows SAM accounts and shares (the system is disabled by default, as the original system allows).
@ ECHO 2, native account if the blank password, allow other machines to access the local computer.
@ ECHO 3, Windows Firewall: Allows file and printer sharing.
@ ECHO 4, sharing mode: Local users authenticate as themselves.
@ ECHO 5, Guest account: not enabled.
@ ECHO--------------------------------------------------------------------
@ ECHO.
@ ECHO In this way, you must enter the correct user name and password to access this machine.
@ ECHO.
@ ECHO no matter which sharing method is used, sharing is only convenient for internal use, when using the router to surf the internet,
@ ECHO Extranet cannot access your machine and will be invaded without fear of sharing. You just remember, single dialing
@ ECHO When surfing the Internet, do not open the sharing on it.
@ ECHO--------------------------------------------------------------------
@ ECHO.
PAUSE
REGEDIT/S open LAN Share (access to this confidential user name and password). reg
NET user Guest/active:no
Cls
@ ECHO.
@ ECHO-------------------------------------------------------------------
@ ECHO operation completed.
@ ECHO does not need to reboot, and other machines now have access to the local computer.
@ ECHO.
The default share for each partition of the @ ECHO hard disk is still not open. If you need to open,
@ ECHO Please find the registry file in this directory and double-click Import.
@ ECHO-------------------------------------------------------------------
@ ECHO.
@ ECHO Common questions:
@ ECHO After the above processing, access to the machine, if it is still directly in, did not appear prompted to enter the account
@ ECHO and Password dialog, that's because the account name of the other computer is the same as the native account name (for example, double
@ ECHO is an administrator, and this machine has no password. You should rename the local account or add a password.
@ ECHO This way, unauthorized users are not free to access the resources you share.
@ ECHO-------------------------------------------------------------------
PAUSE

, author of the special edition of GHOSTXP_SP2 computer company.

Open LAN Sharing (access to this confidential user name and password). reg
Copy Code code as follows:

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 above two lines are located in the system: Local Security Policy-security option-Network access: Do not allow SAM accounts and shares
; An anonymous enumeration. The system defaults are: deactivated.
; Explanation: Operating system default: Use the ipc$ channel to establish a null connection, anonymous to cite how many accounts the machine. Obviously
; There is a certain safety hazard. This system has been set to disallow null connections. In order to improve the security of stand-alone dial-up Internet.
; The negative effect is that the LAN cannot exchange visits. You have to change it before you can solve it.




[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 option--account: Local account with blank password
; Only console logons are allowed. The system defaults are: Enabled.
; Explanation: Many people's accounts are not password-coded. In this way, when another computer on the local area network accesses this machine, it will eject the error message:
; Logon failure: User account limit ..... This is a security policy of the XP system that prevents people from taking advantage of your blank password
; Go to your computer. If you feel indifferent and do not have to do these limitations, 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\sverjnyy.pcy ", JVAQBJF Firewall" =HEX:0C,00,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: @xpsp2res. dll,-22005"
"137:UDP" = "137:udp:localsubnet:enabled: @xpsp2res. dll,-22001"
"138:UDP" = "138:udp:localsubnet:enabled: @xpsp2res. dll,-22002"
"139:tcp" = "139:tcp:localsubnet:enabled: @xpsp2res. dll,-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: @xpsp2res. dll,-22005"
"137:UDP" = "137:udp:localsubnet:enabled: @xpsp2res. dll,-22001"
"138:UDP" = "138:udp:localsubnet:enabled: @xpsp2res. dll,-22002"
"139:tcp" = "139:tcp:localsubnet:enabled: @xpsp2res. dll,-22004"

[Hkey_local_machine\system\controlset001\services\sharedaccess\epoch]
"Epoch" =dword:000001ed
; The above values correspond to the position in the system: Control Panel-Firewall-exception-file and printer sharing. System default: Not selected.
; Explanation: All the policies are set up, the LAN is still inaccessible, prompting: You do not have the right to use network resources, find
; Not to the network path! Oh, it's so furious! In fact, XP also has a checkpoint, is the firewall, must go through
; The firewall allows you to do so.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"ForceGuest" =dword:00000000
; The above numerical corresponding position in the system is: Control Panel--management tools--local security policy--local policy--security options,
; Network access: Sharing and security mode for local accounts: Classic-Local users authenticate themselves. At this time, when the LAN
; When the other machine accesses this machine, it will pop up the dialog box and need to fill in the correct username and password to allow access. This way
; is safe. Recommended use.

, written by the author of the GHOSTXP_SP2 Computer Company Special Edition. Thank you for your use.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.