Recently, mongoxec was used to remotely run the program under win7, but this mongoxec must use an account that can access ADMIN share to work (Admin share is \ computername \ C $ ). By default, Windows 7 does not support admin share (Admin share can be used by the domain administrator after the domain is entered). Therefore, you need to change the settings for Windows:
1. Open Network discovery and file and printer sharing
2. Add a DWORD key "localaccounttokenfilterpolicy" to the Registry HKLM \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ System and the value is 1:
Then restart the computer.
If you still cannot access ADMIN share, check whether you have joined homegroup:
Open Control Panel-> network and Internet-> homegroup, click homegroup and leave homegroup
If you still cannot access ADMIN share, you have to go over the settings in the Group Policy:
1. Run secpol. MSC
2. Locate "Local Policies ies"-> "Security Options"
Enable Network Security: LAN Manager Authentication Level and set it to "Send LM & NTLM-use NTLMv2 session security if negotiated"
3. Run gpedit. MSC
4. Go to "Computer Configuration"/Windows Settings/Security Settings/Local Policies/Security Settings ".
5. enable:
Network Access: Allow anonymous SID/Name Translation
Network Access: Let Everyone permissions apply to anonymous users
6. Disable:
Network Access: Restrict anonymous access to named pipes and shares
Network Access: Do not allow anonymous enumeration of SAM accounts
Network Access: Do not allow anonymous enumeration of SAM accounts and shares