Server Series 17: How does one disable domain user default sharing through group policies?

Source: Internet
Author: User

 

How does one disable domain user default sharing through group policies?

 

The default share feature facilitates some management work, but it does pose a major risk. You can also run the following command to check whether the local PC has enabled the default share feature.

 

 

650) this. width = 650; "src =" http://img1.51cto.com/attachment/201304/171147743.png "border =" 0 "/>

So how to disable it?

Use the following method.

1.1 create an adm configuration. Save the configuration as *. adm.

 

 
 
  1. CLASS MACHINE  

  2. CATEGORY !!category1  

  3. CATEGORY !!category2  

  4. POLICY !!policyname  

  5. EXPLAIN !!DefaultSharesExplain  

  6. KEYNAME “System\CurrentControlSet\Services\LanManServer\Parameters\”  

  7. VALUENAME “AutoShareWks”  

  8. VALUEON NUMERIC 1  

  9. VALUEOFF NUMERIC 0  

  10. END POLICY  

  11. END CATEGORY  

  12. END CATEGORY  

  13. [strings]  

  14. category1=”Network”  

  15. category2=”Sharing”  

  16. policyname=”AdministrativeShares”  

  17. DefaultSharesExplain=”Enables default workstation administrative shares if enabled or disables if disabled”  

1.2 open the Group Policy console, create a new users GPO, and then edit.

 

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1Z93052U-1.png "border =" 0 "/>

1.3 right-click the management template and add the Template

 

 

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1Z93023b-2.png "border =" 0 "/>

 

Add the adm file.

 

 

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1Z9305R4-3.png "border =" 0 "/>

 

1.4 after adm is added, locate the Group Policy to the classic ADM

 

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1Z9305E6-4.png "border =" 0 "/>

1.5 if the template you just added already appears, right-click to enable stop share.

 

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1Z93063Z-5.png "border =" 0 "/>

 

OK, this is done. Then, you only need to refresh the Group Policy on the client PC in the domain.

 

For domain management, it is more convenient to manage through group policies.

 

This article is from the "server & security" blog, please be sure to keep this source http://ciscoart.blog.51cto.com/1066670/1176226

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.