16 Ocak 2025 Perşembe

Restore or Enable Admin Shares on Windows

If you want to enable admin shares on Windows, you need to change the parameter value to 1 or delete it:

Set-ItemProperty -Name AutoShareWks -Path HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters -Value 1

How to enable c$ admin share on Windows 10 and Windows Server 2016

The LanmanServer service creates administrative shares on Windows. Remote users cannot access shared resources on this computer if this service is stopped.

Get-Service LanmanServer

check lanmanserver service state

Windows can automatically recreate the hidden admin shares, simply restart the LanmanServer service with the command:

Get-service LanmanServer | restart-service -verbose