Windows

Remove Auto Share Folder on Windows

  1. Intro

    Windows share default folder like C$, D$, IPC$, ADMIN$.But Security aspect that is very weak. Then remove share folder

  2. Command

    net share   ; show share folder
    
    net share /delete [Share Folder Name]   ; delete share folder(Not  delete Original folder, Just Delete share link)
    
    reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters /v AutoShareWks /t REG_DWORD /d 0

     

  3. Firewall : Block port UDP, TCP
    135, 137-139, 443, 445
Back To Top