Monday, 9 October 2023

Disabling Admin Shares in Windows Desktop

 

Admin Shares are those shares that are created automatically by Windows OS. When you open Computer Management, expand Shared Folders, and click on Shares you will see a lot of shares with share names ending in “$”. These are all admin shares. We can disable all the admin shares except IPC$ using the following method

 
Goto HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

Create the following key or change its value

KeyName: AutoShareWks

Type: REG_DWORD

Value: 0 (Decimal)

 

 


Now open Run. Type “services.msc”. In the appeared “Services” window restart the service named “Server”.

 

Now when you open Computer Management, expand Shared Folders, and click on Shares you will see as follows.









No comments:

Post a Comment

The Definitive Debian Deep Dive: History, Release Model & Lifecycle

// System Administration · Debian Linux The Definitive Debian Deep Dive History, governance, the three-suite release pipeline, m...