Monday, April 15, 2024

SMBv1 on Server 2019

We needed to enable SMBv1 on a clinical application server that gets data from treadmills. The treadmills uses embedded Windows XP so, unfortunately, the server needs to have SMBv1 enabled. This seemed harder that I anticipated. Here is the solution:


Step One

Enable the Windows feature. You can do this via the GUI (Server Manager) or PowerShell:

Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol


Step Two

The command above 'enables' the feature but does NOT switch the protocol on. You also need the following command:

Set-SMBServerConfiguration -EnableSMB1Protocol $true


Step Three

Check if it is successful

SMBServerConfiguration |FormatList enablesmb1protocol

This should result in:

enablesmb1protocol : True


Cheers!



No comments:

Post a Comment