Jump to content
Microsoft Windows Bulletin Board

How to restore Windows 2016 removed feature


Recommended Posts

Guest Alex Chekov
Posted

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...