Enable admin share for win7 in workgroup

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.