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

Electrajet

New member
Local time
5:27 AM
Messages
4
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 Computer My Computer

At a glance

Windows 7 Home Premium 64bit
OS
Windows 7 Home Premium 64bit
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.

http://www.sevenforums.com/tutorials/783-elevated-command-prompt.html

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
 
Last edited by a moderator:

My Computer My Computer

At a glance

MSDN Home PremiumIntel i54GbATI Radeon HD 5770
Computer Manufacturer/Model Number
Novatech (UK) iRush Pro
OS
MSDN Home Premium
CPU
Intel i5
Motherboard
Intel DP55WB
Memory
4Gb
Graphics Card(s)
ATI Radeon HD 5770
Sound Card
On Board
Monitor(s) Displays
Philips 170B
Hard Drives
1 x 1Tb
(7 Partitions)
PSU
750W
Case
Antec 300
Cooling
Tricool Fans
Keyboard
Microsoft 3000 Wireless
Mouse
Microsoft 5000 Wireless BlueTrack
Internet Speed
6.1 Mbps

My Computer My Computer

At a glance

Windows 7 Professional 32-bit SP1AMD A4/A63.00GB EDOVMware SVGA 3D
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Virtual Machine
OS
Windows 7 Professional 32-bit SP1
CPU
AMD A4/A6
Motherboard
Intel Corporation 440BX Desktop Reference Platform
Memory
3.00GB EDO
Graphics Card(s)
VMware SVGA 3D
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic Non-PnP Monitor on VMware SVGA 3D
Screen Resolution
1440x900
Hard Drives
1 x 60GB VMware Virtual SATA Hard Drive ATA Device
Antivirus
Kaspersky Total Security
Last edited by a moderator:

My Computer My Computer

At a glance

Windows 7 Pro x64 SP1Intel Core I716 GigsNVIDIA GeForce GTX 670M
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Laptop Qosimo X870
OS
Windows 7 Pro x64 SP1
CPU
Intel Core I7
Motherboard
Toshiba Qosmio
Memory
16 Gigs
Graphics Card(s)
NVIDIA GeForce GTX 670M
Monitor(s) Displays
17.7" laptop
Screen Resolution
1600 x 900
Hard Drives
256 Gig SanDisk SSD for C
256 Gig Intel SSD for D
Internet Speed
50/25 FIOS
Antivirus
Vipre (all you can eat for 10 machines)
Browser
IE and FF
Other Info
I have dos 6.22, wfwg 3.11, win98, 2000 and xp VHD's available for testing. MS's Virtual PC works great.
Thank you all for your quick replies.

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

Kind regards,

Ke
 

My Computer My Computer

At a glance

Windows 7 Home Premium 64bit
OS
Windows 7 Home Premium 64bit
Yes, it works now.

Many thanks for your advices/suggestions.


Kind regards,

Ke
 

My Computer My Computer

At a glance

Windows 7 Home Premium 64bit
OS
Windows 7 Home Premium 64bit
Back
Top