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
Electrajet

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
KremmenUK

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
Dzomlija

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
richnrockville

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
Electrajet

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,

Ke
My System SpecsSystem Spec
07 Feb 2011   #6
Electrajet

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
Thread Forum
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 found....my attempts to then remove them is only partially successful as the program tells me that I must be an Administrator to remove certain others....how 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...
Drivers
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 TigerDirect.com 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
BSOD Windows 7 Home Premium 64Bit
Hi I get random BSOD no idea why sometimes the computer won't have any for 1-2 weeks then randomly in a blue moon i'll get them please help me :(
BSOD Help and Support
Windows 7 Home Premium 64bit BSOD help!
Have had multiple BSOD all starting with trying to open firefox 3.6.12. My laptop is a HP Pavilion dv4-2160us with an i5 and 4 gigs memory and 320 gig hard drive. Have attached dump files. And my OS is OEM with the laptop bought in early June 2010 Thanks in advance for any help anyone is able...
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 19:48.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App