Teach you to disable default sharing for domain users by Group Policy

Source: Internet
Author: User
Tags numeric

The existence of the default share facilitates some administrative work, but it does have a hidden problem, so how to see if the local PC has the default share enabled, and normal domain users can use the following command.

So how to disable it?

Use the following method to resolve.

1.1 Create ADM configuration, as follows, save as *.adm

CLASS MACHINE     
CATEGORY!! Category1     
CATEGORY!! Category2     
POLICY!! PolicyName     
EXPLAIN!! Defaultsharesexplain     
keyname "system\currentcontrolset\services\lanmanserver\parameters\"     
VALUENAME " AutoShareWks "     
VALUEON NUMERIC 1     
valueoff NUMERIC 0 End POLICY End CATEGORY End CATEGORY     
[ Strings]     
category1= "network"     
category2= "     
sharing" policyname= "Administrativeshares" 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.

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/server/

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.