top of page

Disable Admin Shares

Disable Admin Shares 


Disable Admin Shares C$, IPC$, ADMIN$ to prevent remote access and local access via \\\c$ from a browser, shortcut or cmd.


Disabling admin shares will prevent ConfigMgr deploying the client agent and remote administrative access.



New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanmanServer\Parameters' -name AutoShareWks -PropertyType DWORD -Value 0

New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanmanServer\Parameters' -name AutoShareServer  -PropertyType DWORD -Value 0

bottom of page