How to restore Windows 2016 removed feature

A

Alex Chekov

Hello, guys.

SMB1Protocol feature has been removed from Windows Server 2016 (virtual machine) using the command:

Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol -Remove

For some reason I want to restore this feature. And I decided to restore this feature using the Windows Server 2016 installation disk.

1. mount iso with Windows 2016 STD to disk D

2. create folder mkdir C:\mount

3. find out the index of the necessary edition dism /get-imageinfo /ImageFile:D:\Sources\install.wim (2 in my case)

4. mount wim-image using dism /mount-wim /wimfile:D:\Sources\install.wim /index:2 /mountdir:C:\mount /readonly

5. and trying to execute the command:
Install-WindowsFeature 'FS-SMB1' -source C:\mount\Windows\WinSxS\
or
DISM /Online /Enable-Feature /FeatureName:SMB1Protocol /All /LimitAccess /Source:C:\mount\Windows\WinSxS


But get an error:


The source files could not be found.


What am I wrong?

Continue reading...
 
Back
Top Bottom