RestrictAnonymous in registry keeps on returning to 0 value.

Anonymous
2024-01-30T03:43:27+00:00

VA tool keeps on detecting Allowed Null Session as vulnerability, I already set the RestrictAnonymous value to 1 in the registry but within the day the value returns to 0 I don't have a clue why. the server is stand alone so I think that this is not related to group policy issue.

Windows for business Windows Server Performance Application technologies and compatibility

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-02-01T02:46:57+00:00

    Hello

    Thank you for posting in Microsoft Community forum.

    If the RestrictAnonymous value keeps returning to 0 in the registry, it is possible that there is a third-party software or script that is changing the value. You can try to identify the culprit by checking the Event Viewer for any related events or by using a tool like Process Monitor to monitor registry changes.

    Additionally, you can try to set the RestrictAnonymous value through Group Policy to ensure that it is enforced. You can create a new Group Policy Object (GPO) and configure the "Network access: Restrict anonymous access to Named Pipes and Shares" policy setting under Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options. Set the policy to "Enabled" and select the "Do not allow enumeration of SAM accounts and shares" option.

    Once the GPO is created and linked to the appropriate OU, run the "gpupdate /force" command on the affected server to apply the policy immediately.

    Best Regards,

    Wesley Li

    0 comments No comments
  2. Anonymous
    2024-02-01T23:22:08+00:00

    let me try that, but GPO is not suitable because it's a standalone server.

    0 comments No comments
  3. Anonymous
    2024-02-06T02:26:57+00:00

    Okay, waiting for your test results.

    0 comments No comments