Network Security bulk notes

  1. Close win7 default sharing method:  

                 Method one : write a batch file CloseAutoShare.bat such as:

                 net share C $ / del> nul 2> nul

                 net share D $ / del> null 2> nul

                 net share e $ / del> null 2> nul

                 Net share F $ / del> null 2> nul

                              This file is then placed in the boot keys to.

                  Method two: a registry key change method

                                After the "Start" → "Run" type "regedit" OK, open the Registry Editor,

                                Find the "HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ lanmanserver \ parameters" item, double-click the right window "AutoShareServer" item will be key from 1 to 0

                                This will turn off sharing for HDD partitions. If there is no entry AutoShareServer be their new one and then change the key. (Win7 invalid, then had to continue to set the following ↓)

                                Then again, or find "AutoShareWks" item in this window, but also the key value from 1 to 0, close the admin $ share.

                                And finally to "HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Lsa" items found at "restrictanonymous", the key value is set to 1, close the IPC $ share.

                               After setting must   restart the computer   can be.

 

Guess you like

Origin www.cnblogs.com/qvpenglou/p/12416755.html