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/