Windows 2012 R2 disables SMB1

9,597

Since you are used to PowerShell (and it's good practice regardless)...enable it permanently on the server:

Add-WindowsFeature FS-SMB1

EDIT: As pointed out in the comments...SMB1 should NOT be used in a production environment when possible.

Share:
9,597

Related videos on Youtube

user130356
Author by

user130356

Updated on September 18, 2022

Comments

  • user130356
    user130356 almost 2 years

    We have a Windows 2012 R2 server that acts as a file server.

    Initially our copy machine worked with scanning to the file share. After an update, the scan to file share stopped working and eventually we found out it was because the copy machine (3 years old, newest firmware) uses SMB version 1 and Microsoft had disabled this.

    By running the following in powershell and rebooting I got SMB1 supported again and everything worked.

    Set-SmbServerConfiguration –RejectUnencryptedAccess $false
    Set-SmbServerConfiguration –EnableSMB1Protocol $true
    

    But later after another reboot it has been disabled again.

    What is happening? How can we permanently activate SMB1 support?

  • user130356
    user130356 over 9 years
    After some windows updates, it stopped working again. Sigh... running 'Get-WindowsFeature' shows already a check at FS-SMB1. What can I do?
  • Bernie White
    Bernie White about 7 years
    SMB-1 is too out of date, it's not good practise to enable out of date protocols, it is insecure.
  • Todd Walton
    Todd Walton about 7 years
    As firmly and repeatedly explained here.
  • kralyk
    kralyk about 7 years
    @BernieWhite - see my comment below
  • kralyk
    kralyk about 7 years
    @ToddWalton - while you both are correct, and I'll edit the answer to help reflect that...I can only answer based on what the user had requested at the time. He/she has to decide on their own the security implications.