Protecting Hyper-V 2019/2016 VMs with disks that reside on SMB 2.0 shares
For Hyper-V 2019 and some later Hyper-V 2016 versions, the insecure guest logins setting must be enabled to protect VMs with data that resides on SMB 2.0 shares. Use these steps to enable this setting on a Hyper-V 2019 or 2016 server:
- Open the Local Group Policy Editor.
- Browse to Computer Configuration > Administrative Templates > Network > Workstation.
- In the Settings area, click Enable insecure guest logons, select the Enabled option and save the changes.