To disable insecure guest authentication on your Windows system, you can use the following methods:
Using Group Policy
- Open the Group Policy Management Console.
- Navigate to Computer Configuration > Administrative Templates > Network > Lanman Workstation.
- Locate the setting Enable insecure guest logons.
- Right-click on it, select Edit, and then set it to Disabled.
- Click OK to apply the changes.
Using PowerShell
You can also disable insecure guest logons using PowerShell. Open an elevated PowerShell prompt and run the following command:
Set-SmbClientConfiguration -EnableInsecureGuestLogons $false -Confirm:$false
By following these steps, you will enhance the security of your system by preventing insecure guest logons, which are vulnerable to various attacks.
References: