Is there any way to define and allow a custom snap-ins to be run via the GPO ?
Main Topics
Browse All TopicsHello,
I currently use a GPO to restrict users from loading Snap-Ins in the MMC.
But I would like to allow some only two or three specific custom non Microsoft Snap-Ins to be run by some users.
How could I add these custom snap-ins in the GPO in the following entry :
User Configuration/Administrati
Many thanks for your help.
Jeff
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.
with "custom snap-in" you mean an mmc snap-in from an ISV (3rd party software), right?
(this is different from "customized mmcs".)
if so, you can do the following:
- locate the ID string of the snap-in underneath the following registry key:
HKEY_LOCAL_MACHINE\SOFTWAR
You can identify the ID by searching for the "NameString" registry value.
(Make sure you choose the correct registry key with two sub keys called "NodeTypes" and "StandAlone")
e.g. the software DriveLock from CenterTools adds a new snap-in to the mmc with the ID {AE1F876B-4B9A-4235-80A3-9
(The software, that adds that snap-in has to be installed on that machine in order to be listed in the registry)
Copy that ID.
- now, create a new GPO and remember the GUID of the GPO.
You can retrieve the GUID from the GPO by displaying the properties of the GPO ("Unique name"), e.g. {31B2F340-016D-11D2-945F-0
- navigate to your SYSVOL share (\\%USERDOMAIN%\SYSVOL\<yo
(in my example {31B2F340-016D-11D2-945F-0
- navigate to the "adm" folder (where all the administrative templates for that GPO are stored).
The administrative templates define what registry settings you can alter with the GPO.
- open the "system.adm" template with notepad
- search for the string "CATEGORY !!MMC_RESTRICT" (this is where all the GPO restrictions for snap-ins are defined)
- create a new Policy by inserting a new policy between the other ones, e.g.
POLICY !!MMC_CenterToolsDriveLock
KEYNAME "Software\Policies\Microso
#if version >= 4
SUPPORTED !!SUPPORTED_Win2k
#endif
EXPLAIN !!MMC_Restrict_Explain
VALUENAME "Restrict_Run"
VALUEON NUMERIC 0
VALUEOFF NUMERIC 1
END POLICY
The Policyname (in my example "MMC_CenterToolsDriveLock"
Change the ID of the snap-in to the one you remembered (in my example {AE1F876B-4B9A-4235-80A3-9
- then, search again for "MMC_ActiveDirDomTrusts" in the file to add a name for the policy to be displayed in the GPO snap-in
- insert the string "MMC_CenterToolsDriveLock=
in my example "CenterTools DriveLock" will be displayed underneath the mmc snap-ins in the GPO which can be edited then
- save the file "system.adm"
- open the newly created GPO and navigate to
"User Configuration\Administrati
and voila, your newly created snap-in is listed and can be enabled or disabled
I hope my contribution helped you solve your problem (and I haven't forgotten anything ;-)
If not, please let me know.
ATB
Markus
Hello Markus,
Yes you're right, I mean exactly adding a 3rd party snap-ins in the MMC, which is not listed.
I tested your solution setp-by-step and it works perfectly ! Many thanks !!
The only things which is remaining is that each time I open the corresponding snap-in, I get a MMC Message saying "The snap-in below, referenced in this document has been restricted by policy. Contact your administrator for details." with only a OK button. I click OK and the snap-ins open and works.
Is it a normal behavior or is there a possibility to prevent this message from appearing ?
Jeff
Hi Jeff,
is the referenced Class ID (CLSID) in the mmc "Snap-In Creation Failed"-Window the exact same as the one you restricted?
(In my example {AE1F876B-4B9A-4235-80A3-9
In my case (with the snap-in from CenterTools) it works perfectly ... The mmc opens and the snap-in does not work.
If I open the mmc and try to add the snap-in manually it is not listed (with the policy setting configured to "disabled").
I don't think you can disable this error message after all.
ATB
Markus
Business Accounts
Answer for Membership
by: Phadke_hemantPosted on 2006-10-31 at 05:53:56ID: 17841863
Here you cannot add the user defined custom entries.