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?

Hi:

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
Enter

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.

Thanks.

Ke


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 MSSTDFMT.DLL
regsvr32 MSHFLXGD.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

Rich
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, Windows 7 64bit home premium?

Kind regards,

Ke
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,

Ke
My System SpecsSystem Spec
Reply

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




Thread Tools



Similar help and support threads for2: How can I run CMD as Administrator under Windows 7 64bit Home Premium?
Thread Forum
Windows 7 Home Premium Additional Administrator Privileges Drivers
Can't install Windows 7 Home Premium 64Bit? Installation & Setup
Windows 7 Home Premium administrator forgotten password System Security
Windows 7 Home Premium 64bit BSOD BSOD Help and Support
BSOD (Windows 7 Home Premium 64bit) BSOD Help and Support
BSOD Windows 7 Home Premium 64Bit BSOD Help and Support
Windows 7 Home Premium 64bit Freezing - what gives? BSOD Help and Support

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 08:35 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33