Auditing SMB1 for Windows Server 2008 R2

Kamran Ahmed 271 Reputation points
2020-10-28T12:40:12.197+00:00

Hi,

Before disabling SMB1 i need confirm if there are any applications and devices trying to connect on this protocol. I'm trying to find a way to enable SMB1 auditing on Windows Server 2008 R2, there are plenty of articles for 2012 but nothing for 2008. The commands for 2012 do not work in 2008. I have tried googling but can't seem to find anything.

Thanks

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2020-10-28T12:45:25.077+00:00

    You can follow along here. (towards end of doc)
    https://techcommunity.microsoft.com/t5/storage-at-microsoft/stop-using-smb1/ba-p/425858

    --please don't forget to Accept as answer if the reply is helpful--


2 additional answers

Sort by: Most helpful
  1. Gloria Gu 3,941 Reputation points
    2020-10-29T06:32:33.35+00:00

    @Kamran Ahmed Hi,

    Thank you for posting in Q&A!

    After my research for relate information, there're two ways to enable SMB audit:

    1.Add registry Key
    Path "HKLM Local Machine:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters"
    AuditSmb1Access -Type DWORD -Value 1 –Force

    2.Or you can use the PowerShell command:
    Set-SmbServerConfiguration –AuditSmb1Access $true

    According to the offical document, if you want to run this command on Windows Server 2008 R2 , they must installed the May 2018 monthly update. But please understand that since On January 14, 2020, support for Windows Server 2008 and 2008 R2 ended. So unfortunately, we don't have the environment for test.

    For more details about this command, please refer to:
    detect-enable-and-disable-smbv1-v2-v3

    Hope you have a nice day!
    Gloria

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Marco Zoppi 1 Reputation point
    2022-06-09T15:02:17.427+00:00

    Hi, I tried to add the registry key on my Fileserver cluster with 2 host windows server 2008 R2. I need to restart to see this logs?
    I tried to searching on my event viewer but I not found smb event

    can you explain details please? what event I need su searching?
    I tried to use a filter also on system and smbServer event but nothing.

    thanks

    0 comments No comments

Your answer

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