First, open "Network and Sharing Center" and select "change advanced sharing settings"
Select Enable network discovery and enable file and printer sharing, and save the changes.
Right-click the computer and choose manage"
In "computer management", click local user and group-user-Guest, and double-click Guest.
In "Guest properties", deselect "account disabled" and click OK.
Next, open the Start menu, enter secpol. msc, and press enter.
After the "local installation policy" is enabled, click "local policy"> "user permission assignment"> "deny access to this computer from the network" and double-click "deny access to this computer from the network"
In "deny access to this computer from the network", select "Guest", delete it, and then confirm.
Click "local policy"> "security option"> "network access": Share and security model of the local account, and double-click "network access: Share and security model of the local account"
In "network access: local account sharing and security model attributes", select "only guests-authenticate the identity of the local user as the guest" to confirm exit.
Then, find the file or folder that we want to share with the LAN, right-click the menu, and choose Share> specific user.
Select "Guest" from the drop-down list and click "share"
Now, the sharing settings for Win7 Lan are complete.
Then, you can perform the regular printer sharing process to add the printer normally.