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: Running an elevated command prompt (from the Recovery DVD)

28 Dec 2011   #1

Windows 7, Home Premium 64bit
Running an elevated command prompt (from the Recovery DVD)

Long story short,
I've been trying to dual-boot W7 with Ubuntu. Failed. Now I cannot boot up Windows, and though there are hundreds of forum articles explaining how to fix this (using the Bootrec/bcdedit commands in the Windows RE command prompt), but I can't run either of them (get an error). My guess is that I need to run bcdedit as an admin.
After doing some research, I learned about the "Runas" command, but I can't seem to get it to work. Microsoft and other forums didn't help much...

Please help!

My System SpecsSystem Spec
28 Dec 2011   #2


Mark Win7 partition Active, then run Startup Repair from DVD/Repair CD up to 3 separate times with reboots until Win7 starts.
Startup Repair - Run 3 Separate Times
Partition - Mark as Active (Method Two)
My System SpecsSystem Spec
28 Dec 2011   #3

Windows 7, Home Premium 64bit

Tried it. Once I do Diskpart> list disk, the status of Disk 0 is "Invalid", as opposed to "Online" as on the screen shot.
My System SpecsSystem Spec

28 Dec 2011   #4


Try using free Partition Wizard bootable CD to mark Active, then click on Disk to highlight it, from Disk tab select Rebuild MBR to see if it will start. If not run the three Repairs from DVD/Repair CD.

If this fails post back a camera snap of PW drive map with listings if possible.

Be aware that GRUB can corrupt Win7 beyond repair as we see often here. You may need to wipe your HD then clean reinstall Win7.
My System SpecsSystem Spec
28 Dec 2011   #5

Windows 7, Home Premium 64bit

No luck... here's the screen shot of the drive map. And thank you for your quick responses.

Attached Thumbnails
Running an elevated command prompt (from the Recovery DVD)-img_20111228_215837.jpg  
My System SpecsSystem Spec
28 Dec 2011   #6


The 200mb System Reserved partition should hold both System and Active flags not just Active. Did you click on Disk 1 to highlight it, then try Rebuild MBR from Disk tab, reboot to see if it starts? If not run three full Startup Repairs with reboots in between.

If that fails, try rightclicking on the Win7 partition to Modify>Set to Active, OK, then click on Disk 1 again, try Rebuild MBR, apply. If OS won't boot then try 3 Startup Repairs.

You can try bootrec.exe /fixboot, bootrec.exe /fixmbr and bootsect.exe /nt60 ALL from DVD/Repair CD Command line in case Startup Repair is missing running them for some reason.

You've now tried everything and may be up against GRUB corruption of WIn7. You can rescue your files by Copy & Paste - in Windows Recovery Console
My System SpecsSystem Spec

 Running an elevated command prompt (from the Recovery DVD)

Thread Tools

Similar help and support threads
Thread Forum
Elevated Command Prompt
How to Open an Elevated Command Prompt in Windows 7 This will show you how to open an elevated command prompt with administrator rights (Run as administrator) instead of the default command prompt without administrator rights in Windows 7. If you opened the elevated command prompt from a...
Elevated command prompt over SSH
Not sure if this is the proper forum for my question, but here it goes. I'm using a SSH server to remotely access my notebook from work. It works well for SFTP and remote command line access using a dedicated, non-admin, user account. Problem is when I want to run something that requires...
Network & Sharing
Tip for Elevated Command Prompt
This probably is not new to many, but I find it useful. There are times I want an elevated command prompt. I usually type in "cmd", right click on it and run as administrator. If you need an elevated command prompt now and then, simply create a shortcut to "cmd". Right click on the shortcut,...
General Discussion
How to open Elevated Command Prompt?
Hi friends ! Uber Philf told me to start a new thread with my problem. I cannot open an Elevated Command Prompt, Dont know why. I know that I can open it in two alternative ways : 1). Win+R, type cmd, hit enter eith ctrl+shift pressed ; and 2). start > all programs > accessories > command prompt >...
Performance & Maintenance
elevated command prompt fails
If i try and use cmd from within the start menu ,in accessories and right click ,then "Run as administrator",all i am granted is normal cmd usage e.g(C:\Users\(User Name ).Now,i then pinned cmd to the start menu and again i tried to "run as administrator",but this time cmd fails to open at all. ...
General Discussion

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 23:06.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App