1. Turn off Password Protected Sharing from the Control Panel
First, you can try to turn off the Password Protected Sharing from the Control Panel, and see if it works properly for you.
If you already tried this method, go straight to the next solution.
To do so, you need to follow these steps:
1.Click on the Start button and open the Control Panel
2.Click on the Network and Sharing Center
3.Click Change advanced sharing settings which you can find in the left side
4.Click the arrow next to All Networks to expand the section
5.Select Turn off password protected sharing option under Password protected sharing
6.Click Save changes.
2. Remove Guest account password
1.Open the Run box by pressing Windows Key + R on your keyboard > type lusrmgr.msc in the box and hit Enter.
2.In the Local Users and Groups box, click Users in the left pane > right click Guest and press Set Password…
3.In the Set Password for Guest box that pops up, you need to leave the New Password and Confirm Password fields empty > click OK
3. Remove Password Protected Sharing from User Accounts
1.Open the Run box by Windows Key + R on your keyboard > type "control userpasswords2" in the box and hit Enter
2.User Accounts window will open
3.Under the Users for this computer section, select Guest > click Reset Password…
4.Leave the New Password and Confirm Password fields empty > click OK
4.Command line
1.Open cmd by Administrator
2.in cmd type " net user "
5. Modify registry entries using the Registry Editor
1.Open the Run box by pressing R + Windows buttons on your keyboard > type regedit in the box and hit Enter
2.The Registry Editor window will pop up > find this location in the left pane:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
3.In the right pane, find the REG_DWORD type registry named everyoneincludeanonymous
4.Double click on the registry > edit DWORD window will pop up > modify value in Value data box from 0 to 1
5.Click OK > go the next registry location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
6.Click on the parameters folder > find the REG_DWORD type registry named restrictnullsessaccess
7.Double click on the registry > edit DWORD window will pop up > modify value in Value data box from 1 to 0
8.Close the window and restart the computer > verify if the password is turned off.
6. Check the Password never expires property
1.Open the Run box by Windows Key + R buttons on your keyboard > type lusrmgr.msc in the box and hit Enter
2.Select Users in the Local Users and Groups window > right click Guest > Properties
3.In the Guest Properties window that pops up, check the box next to Password never expires
4.Click Apply > OK > reboot PC and check if the password was removed