

Is there a simpler way? Let me know! 👍Īnd by the way, don’t enable SMB1. Something this trivial took me way too long. The State property should say: Enabled Conclusion After rebooting, from a PowerShell prompt run the command below to check the installation: Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol Now we can enable the feature with the following command: dism /online /Enable-Feature /FeatureName:SMB1Protocol /All /source:c:\wim\mount\windows\winsxs /limitaccess

Without this update, the installation of the SMB1 feature will not succeed.

It will take a while to update! You need to do this because the files mounted from the downloaded ISO do not match the version of the Windows Server 2019 image. Now we can update the mounted files offline with the following command: Dism /Add-Package /Image:"C:\wim\mount" /PackagePath= "c:\patches\windows10.0-kb4551853-圆4_ce1ea7def481ee2eb8bba6db49ddb42e45cba54f.msu" For this installatin to work, I needed to download the update from and put it somewhere like c:\patches. The Azure Windows Server 2019 image (at time of writing, June 2020) has a cumulative update installed. It will not work yet! Patch the mounted files Now don’t try to enable the feature by pointing to the sources with the -source parameter of Enable-WindowsOptionalFeature. The contents of install.wim is now available in c:\wim\mount. Under c:\wim, create a folder called mount and run the following command: dism /mount-wim /wimfile:c:\wim\install.wim /index:4 /mountdir:c:\wim\mount /readonly In the mounted ISO, search for install.wim and copy that file to a folder on your C: disk like c:\wim. On recent versions of Windows, you can right click an ISO and mount it. I downloaded the ISO to the Azure virtual machine.

I am not sure if you can use the evaluation version of Windows Server 2019 because I did not try that. I downloaded Windows Server 2019 (November 2019 version) from. I guess I need the Windows Server 2019 sources! Downloading Windows Server 2019 When you try to install the feature, you get: Notice the State property? The feature is disabled and the payload (installation files) are not on the Azure virtual machine. Let’s first get some information about the feature: Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol Easy enough to add that right? Trying the installation I realize this is not a very exciting post, especially compared to my other wonderful musing on this site, but I felt I really had to write it to share the pain!Ī colleague I work with needed to enable this feature on an Azure Windows Server 2019 machine to communicate with some old system that only supports Server Message Block version 1 (SMB1).
