Posted by: Niko | December 4, 2007

How to run Windows 2003 AdminPak in Vista

Windows 2003 AdminPak insn’t supported in Vista but it is possible to make it running with few tricks.

Create a reg_admpak.cmd file with following content and place it for example on your desktop.

@echo off

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 Command Completed

Execute the file with adminstrator rights (hold shift and right click) and wait.

Next you need to make some changes to the Vista’s User Account Control (UAC) because Vista doesn’t provide the option that allows you run AdminPak’s consoles with domain account’s credentials. In Vista, the “Run as administrator” selection runs applications with local administrator rights.

I really hope your personal user account do not have administrative rights for your domain . System adminstrators should always have at least two user accounts: the basic user account for normal work tasks and the admin account for the administrative tasks.

Make the following change to the local security policy and Vista will prompt the credentials like in Windows XP:

Run Group Policy Object Editor (gpedit.msc) and browse for the “Local Computer Policy – Computer Configuration – Windows Settings – Security Settings – Local Policies – Security Options” branch. Find the “User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode” policy and change the value to “Prompt for credentials”.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: