install Windows Server 2003 management tools on a Windows Vista-based computer – Error MMC could not create the snap-in.

CAUSE

Microsoft Management Console (MMC) could not create the snap-in

This issue occurs because the Administration Tools Pack is not installed by a user who has administrative user rights. New security enhancements in Windows Vista require elevated user rights when a .dll file is registered. Therefore, Windows Vista security enhancements require that certain snap-ins are installed only by a user who has local administrative user rights.

MMC could not create the snap-in

To resolve this issue, register the Windows Server 2003 management tools on a domain user account. To do this, follow these steps:

1. Log on to Windows Vista as a user who has local administrator permissions.
2. Create the RegisterAdminPak.cmd script. To do this, follow these steps:

a. Start Notepad, and then open a blank document.
b. Paste the following code to the document in Notepad:

@echo off  REM RegisterAdminPak.cmd REM (c) 2006 Microsoft Corporation.  All rights reserved.
set filelist=adprop.dll azroles.dll azroleui.dll ccfg95.dll
set filelist=%filelist% certadm.dll certmmc.dll certpdef.dll certtmpl.dll
set filelist=%filelist% certxds.dll cladmwiz.dll clcfgsrv.dll clnetrex.dll
set filelist=%filelist% cluadmex.dll cluadmmc.dll cmproxy.dll cmroute.dll
set filelist=%filelist% cmutoa.dll cnet16.dll debugex.dll dfscore.dll
set filelist=%filelist% dfsgui.dll dhcpsnap.dll dnsmgr.dll domadmin.dll
set filelist=%filelist% dsadmin.dll dsuiwiz.dll imadmui.dll lrwizdll.dll
set filelist=%filelist% mprsnap.dll msclus.dll mstsmhst.dll mstsmmc.dll
set filelist=%filelist% nntpadm.dll nntpapi.dll nntpsnap.dll ntdsbsrv.dll
set filelist=%filelist% ntfrsapi.dll rasuser.dll rigpsnap.dll rsadmin.dll
set filelist=%filelist% rscommon.dll rsconn.dll rsengps.dll rsjob.dll
set filelist=%filelist% rsservps.dll rsshell.dll rssubps.dll rtrfiltr.dll
set filelist=%filelist% schmmgmt.dll tapisnap.dll tsuserex.dll vsstskex.dll
set filelist=%filelist% w95inf16.dll w95inf32.dll winsevnt.dll winsmon.dll
set filelist=%filelist% winsrpc.dll winssnap.dll ws03res.dll
for %%i in (%filelist%) do ( 	echo Registering %%i ... 	regsvr32 /s %%i  )
echo. Echo Command Completed

c. On the File menu, click Save.
d. In the Save as type box, click All Files, type C:\Users\UserAccountName\RegisterAdminPak.cmd in the File name box, and then click Save.Notes
UserAccountName represents the folder name of the user who is currently logged in.You must run this script in Windows Vista only.
3. Run RegisterAdminPak.cmd from an elevated command prompt. To do this, follow these steps:

a. Click Startthe Start button, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.User Account Control permission If you are prompted for an administrator password or for confirmation, type your password, or click Continue.
b. At the command prompt, type the following command, and then press ENTER.Note If you are running a 64-bit version of Windows Vista, type cd %systemroot%\syswow64 before you run the following command.

C:\Users\UserAccountName\RegisterAdminPak.cmd

Leave a Reply

You must be logged in to post a comment.