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.









Disabling IPv6 in Windows

 

Goto HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters

Create the following key or change its value

KeyName: DisabledComponents

Type: REG_DWORD

Value: 255 (Decimal)

Sunday, 8 October 2023

LibreOffice Edit Mode

Suppose you have a LibreOffice Writer document in a shared drive. You and your colleague is editing the document from time to time. But you want to prevent accidental editing from happening in the document. How?

This can be done as follows:

First go to File -> Properties...

In the appeared Dialog Box go to “Security” tab.

Select “Open file read-only under “File Sharing Options”.

 

Click OK.

Now save the document.

When you/your colleague open the document next time it will be in read-only mode. To edit the document do the following:

Click on Edit -> Edit Mode or press Ctl+Shift+M.

 

Now the document can be edited.

 You can toggle the Edit Mode by pressing Ctrl+Shift+M.

So one has to click on Edit Mode deliberately to edit the document. Since the document is opened read-only this helps us to prevent accidental changes happening sometimes when the document is opened just for reading.