windows server 2016系统下卸载nfs时出现system error 1072的报错如下
C:\Users\Administrator>net use y: \1.1.1.1\backup
System error 1272 has occurred.
You can’t access this shared folder because your organization’s security policies block unauthenticated guest access. These policies help protect your PC from unsafe or malicious devices on the network.
报这个错是因为server2016系统禁止了guest访问smb和nfs
操作方法:
1,在powershell中执行下列命令,添加允许guest配置
reg add “HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters” /v “AllowInsecureGuestAuth” /t REG_DWORD /d 1 /f
reg add “HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters” /v “RequireSecuritySignature” /t REG_DWORD /d 0 /f
2,重启共享服务
net stop lanmanworkstation /y && net start lanmanworkstation && net start SessionEnv
本文链接地址: https://danteng.org/how-to-solve-umount-nfs-system-error-1272-has-occurred-on-windows/