Win7
Excerpt from: https://www.xp510.com/article/4249.html
Start the service first
Method: Start---All Programs---attachments---run---input services.msc----determine---found in the service window SSDP Discovery, UPnP Device Host, Computer Browser, Server, DNS Client, TCP/IP NetBIOS Helper, then right-click Drive, or double-click to open, select Automatic Restart, the next 3 if it has been started, do not move.
We first open the network and Sharing Center and select "Change advanced sharing Settings"
Check Enable network discovery and enable file and printer sharing, and then save your changes.
Then we open the "Computer" right-click menu and select "Manage"
In Computer Management, we click: Local Users and Groups-user-guest, double-click Guest.
In the guest properties, uncheck "Account Disabled" and then OK.
Then we open the Start menu, type Secpol.msc and enter.
After opening the local installation policy, we click: Local Policy-User rights Assignment-access this computer from the network and double-click "Access this computer from the network"
After opening the local installation policy, we click: Local Policy-User rights assignment-deny access to this computer from the network, and double-click Deny access to this computer from the network
Then, in deny access to this computer from the network properties, select Guest, delete it, and then OK.
Then we click on: Local Policies-Security options-Network access: Local account sharing and security model, and double-click Network access: local account sharing and security model
In Network access: Sharing and security model properties for local accounts, select Guest only-Authenticate local users as guest, and determine exit.
Then, find the file or folder we need to share the LAN, open the right-click menu, select: Share-specific users.
Then select "Guest" from the drop-down list and click "Share"
Here Win7 LAN sharing settings are complete!
Xp
Click: Control Panel--performance and maintenance--management tools--Local Security policy
Click on the left local policy-security option to find "Network access: Do not allow anonymous enumeration of SAM accounts and shares", double-click this entry, select "Disabled"
Follow steps 2 to find:
"Network access: Sharing and security model for local accounts" is set to "Guest only", "Account: Guest account status" is set to "enable" account: Local account with blank password only allow console logon "set to" disabled "
Found on the left: User Rights Assignment, click to find on the right:
"Deny access to this computer from the network" is set to "remove guest (no action)" "Access this computer from the network" to "Add user Guest"
Follow the steps to open: Control Panel--performance and maintenance--management tools--Computer Management--Local Users and groups--users, double-click Guest, remove "account deactivated."
Follow the steps to open: Control Panel--performance and maintenance--management tools--services, find "Server" on the right, startup type set to: Automatic, Service type set to: Start.
Select the file you want to share, right-click "Security and Sharing", on the network to share this folder before the hook, OK, this file can be implemented to share
File and Printer sharing Win7 and XP