Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How can I run CMD as Administrator under Windows 7 64bit Home Premium?

03 Feb 2011   #1

Windows 7 Home Premium 64bit
How can I run CMD as Administrator under Windows 7 64bit Home Premium?


I am new both here and Windows 7. Having a problem to run
Regsvr32 comdlg32.ocx under CMD prompt.

An application was installed to a computer with Windows 7 64bit Home Premium. But it could not run correctly telling me that it is comdlg32.ocx error.

Under C:\Windows\System32 after select CMD

Regsvr32 comdlg32.ocx

and an error message would be shown.

No problem to Windows7 Prof 64bit if I select run as Administrator to CMD there.

Any advice and suggestions are appreciated.



My System SpecsSystem Spec
03 Feb 2011   #2

MSDN Home Premium

Use the lower left Orb to 'Search'

Type in "CMD" (without the quotes).

When CMD.exe shows in the list, right click it and select Run as Administrator.

Elevated Command Prompt

However, that CommonDialog OCX you are trying to register is a VB6 control and VB6 can be problematic with 64bit.

Best of luck though :)

If you are intending to run VB6 apps then you might need to register quite a few more DLL's and OCX's and if so it might be quicker to put the whole regsvr32 list in a .BAT file and run that as Administrator.

As a help, these are the main components you may wish to consider:

regsvr32 itircl.dll
regsvr32 itss.dll
regsvr32 hhctrl.ocx
regsvr32 msxml4.dll
regsvr32 VBPrnDlg.dll (if used)
regsvr32 Msflxgrd.ocx
regsvr32 comdlg32.ocx
regsvr32 SYSINFO.OCX
regsvr32 MSCOMM32.OCX
regsvr32 COMCT232.OCX
regsvr32 COMCT332.OCX
regsvr32 Msmask32.ocx
regsvr32 MSCOMCT2.OCX
regsvr32 mscomctl.ocx
regsvr32 threed32.ocx
regsvr32 dbgrid32.ocx
regsvr32 DBLIST32.OCX
regsvr32 comctl32.ocx
regsvr32 RICHTX32.OCX
regsvr32 TABCTL32.OCX
regsvr32 msrd2x35.dll
regsvr32 msjet35.dll
My System SpecsSystem Spec
03 Feb 2011   #3

Windows 7 Ultimate x64

Have you tried running the program in Windows Vista or even Windows XP compatibility mode?
If that does not work, you can maybe try Windows XP Mode:
My System SpecsSystem Spec

03 Feb 2011   #4

Windows 7 Pro x64 SP1

I run cmd in the administrator mode by creating a shortcut to cmd.exe and
running the shortcut as administrator.
works for me.

Elevated Command Prompt Shortcut

My System SpecsSystem Spec
03 Feb 2011   #5

Windows 7 Home Premium 64bit

Thank you all for your quick replies.

What is the platform you are having, Win7 64bit home premium?

Kind regards,

My System SpecsSystem Spec
07 Feb 2011   #6

Windows 7 Home Premium 64bit

Yes, it works now.

Many thanks for your advices/suggestions.

Kind regards,

My System SpecsSystem Spec

 How can I run CMD as Administrator under Windows 7 64bit Home Premium?

Thread Tools

Similar help and support threads
Thread Forum
Administrator Privileges Win 7 64bit Home Premium (not working)
Hi, I'm the owner of the pc and only user and under user accounts Im the admin. Yet when I try to open a CBS log I get you do not have permission to open this file contact the admin? Iam the admin ;-) what gives? It had always worked in the past. How would I reset the PC to Im the admin for...
General Discussion
How do I sign on to Windows 7 Home premium as an Administrator ?
One of the programs on my PC is Spybot Search and Destroy.....after scanning,it lists all the nasties it has attempts to then remove them is only partially successful as the program tells me that I must be an Administrator to remove certain do I do this please ? Kind...
General Discussion
Windows 7 Home Premium Additional Administrator Privileges
My situation is as follows: I'm running Windows 7 Home Premium x64. I'm trying to run Intel's Chipset Utility, however it says that I need to run it "...under an account with administrator privileges". I'm already the admin, I've right clicked and selected "Run as Administrator" - also...
I want to buy Windows 7 Home Premium 64BIT from tigerdirect
Hi i am new i am asking i want to buy this from tigerdirect Microsoft Windows 7 Home Premium 64BIT Operating System Software - OEM DVD, English at but i do not know if it has the key to activate it
Installation & Setup
Windows 7 Home Premium administrator forgotten password
Hello. My friend has a laptop with Windows 7 home premium and forgot the admin password. When: - I switched to safe mode it also asked me for password - couldn't switch to command panel because it also ask for admin pass - in windows xp there could be ctr +alt +del and i could type...
System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:46.
Twitter Facebook Google+