Main Topics
Browse All TopicsIs there a way to disable 2000/XP client administrative shares using a Group Policy?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: TJworldPosted on 2004-11-19 at 19:19:32ID: 12631939
On the Domain Controller open and edit with notepad
inf
rolSet\Ser vices\LanM anServer\P arameters\ AutoShareS erver,4,%A utoShareSe rver%,0
CurrentCon trolSet\Se rvices\Lan ManServer\ Parameters \autoshare server
%SystemRoot%\inf\sceregvl.
Add the following value to this section
[Register Registry Values]
MACHINE\System\CurrentCont
and
[Strings]
AutoShareServer = Prevent Administrative Shares from being created
After you have modified the Sceregvl.inf file to include your custom registry settings, the changes need to be registered by running the following command:
C:\>regsvr32 scecli.dll
to register the new policy.
Now open the Group Policy Editor for the policy you want to add the setting to.
Start Menu>Settings>Control Panel>Administrative Tools>Active Directory Users and Computers MMC,
Right-click the domain and choose Properties,
Choose the Group Policy tab,
Select the policy you want to work with,
Press the Edit button,
Group Policy Editor opens.
Expand the tree
Computer Configuration>Windows Settings>Security Settings>Local Policies>Security Options
In the policy list in the right pane look for "Prevent Administrative Shares from being created"
(this is the setting we created in sceregvl.inf)
Double-click to bring up its properties,
Tick "Define this policy setting"
Select "Enabled"
Press OK
Close Group Policy Editor.
To force the policy out immediately from the Domain Controller
C:\>secedit /refreshpolicy machine_policy /enforce
On an XP workstation
C:\>gpudate
Check your client's registry at
HKEY_LOCAL_MACHINE\System\