Share via

How do I disable InsecureGuestAuthEnabled?

Randy E Sanchez II 20 Reputation points
2026-01-01T02:01:37.85+00:00

I received this notice earlier: An administrator has enabled AllowInsecureGuestAuth. Clients using insecure guest logons are more vulnerable to attackers-in-the-middle, phishing, and malware

Windows for home | Windows 11 | Security and privacy
0 comments No comments

Answer accepted by question author

AI answer

2026-01-01T02:01:44.23+00:00

To disable insecure guest authentication on your Windows system, you can use the following methods:

Using Group Policy

  1. Open the Group Policy Management Console.
  2. Navigate to Computer Configuration > Administrative Templates > Network > Lanman Workstation.
  3. Locate the setting Enable insecure guest logons.
  4. Right-click on it, select Edit, and then set it to Disabled.
  5. 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:

AI-generated content may be incorrect. Read our transparency notes for more information.

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Sumit 43,801 Reputation points Volunteer Moderator
    2026-01-01T02:46:27.3133333+00:00

    Hi Randall,

    I would like to let you know that after using the command, your Network shares/mapped drives might break. In that case reverse them.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.