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: Crash trying to launch elevated command prompt

08 Mar 2011   #1
Mark Phelps

Win7 Pro 32-bit, Win8 Pro 32-bit
 
 
Crash trying to launch elevated command prompt

Needed to launch an elevated command prompt and now, explorer crashes when I do so.

What I've already done:
1) Run sfc /scdannow both from inside Win7 and from DVD. Finds files it can't fix. Appear to be due to (1) login screen customization, and (2) Vista basic custom there. But -- these have been true from when I first installed Win7 and have only run into this problem recently.
2) Read the thread on diagnosing Explorer crashes, applied the registry fix, generated the dump file. So, I can upload that here.
3) Do regular full-partition images, so went back three months, restoring one at time -- problem remains with the oldest restore I have -- December of last year.
4) Restored latest backup (2/25/11), ran startup repair (from DVD) three times. Rebooted Win7, tried elevated command prompt -- still crashes Explorer.

So, apart from a complete clean-install (which I am dreading because of all the pain I went through scrounging drivers for this XP-era Tablet PC), is there anything else I can do?


My System SpecsSystem Spec
.
08 Mar 2011   #2
usasma
Microsoft MVP

 
 

1 - start scrounging drivers "just in case". Save them to a flash drive or DVD

2 - upload the dump file. If it's too big to upload, upload it to a free file-hosting service and post the link here.

3 - check the CBS.log file (C:\Windows\logs\CBS\CBS.log) for the missing/corrupt files. Here's a KB article on it for Vista (Win7 should be similar): How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program generates in Windows Vista

4 - scan for viruses, scan for rootkits

5 - try a Repair Install of Win7: Repair Install
My System SpecsSystem Spec
09 Mar 2011   #3
Mark Phelps

Win7 Pro 32-bit, Win8 Pro 32-bit
 
 

Quote   Quote: Originally Posted by usasma View Post
1 - start scrounging drivers "just in case". Save them to a flash drive or DVD
Already started, thanks.

Quote:
2 - upload the dump file. If it's too big to upload, upload it to a free file-hosting service and post the link here.
Don't know how to upload files here. Is there a tutorial on that?

Quote:
3 - check the CBS.log file (C:\Windows\logs\CBS\CBS.log) for the missing/corrupt files. Here's a KB article on it for Vista (Win7 should be similar): How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program generates in Windows Vista
Catch-22 here in that, in order to do this, I have to open an elevated command prompt -- which I can't do because it crashes. Tried this from a regular command prompt and, as expected, it fails to open the CBS log file.

Quote:
4 - scan for viruses, scan for rootkits
Did that -- nothing found

Quote:
5 - try a Repair Install of Win7: Repair Install
Will try this -- but need to finish collecting the drivers first. Did this on my home PC last weekend and had to reinstall and reconfigure lost of stuff. The "Repair Install" did more damage than I had expected.

But ... many thanks for the feedback.
My System SpecsSystem Spec
.

09 Mar 2011   #4
usasma
Microsoft MVP

 
 

How to upload dump files: http://www.sevenforums.com/tutorials...en-forums.html

Copy CBS.log to your Desktop, try taking ownership of it there, then see if you can open it normally. If not, zip it up and upload it (if it's too big, upload it to a free file-hosting service and post a link here).

Frankly, I don't do repair installs on Vista or Win7 - it's just not worth my time. At work we just backup the data, wipe the hard drive with DBAN (we have a license), and then reinstall Windows. My home system is a bit more complicated (since I test stuff on it), but I either restore an image that I made - or I do the above procedure on my own stuff.
My System SpecsSystem Spec
12 Apr 2011   #5
Mark Phelps

Win7 Pro 32-bit, Win8 Pro 32-bit
 
 

Sorry ... been busy and not able to get back to this until last weekend.

Able to borrow a Windows 7 DVD with SP1 and did a Repair Install. Didn't fix the problem. Still not able to launch an elevated command prompt without crashing Windows Explorer.

So ... a complete reinstall is my only option at this point?

Since I now have a Windows 7 DVD (with SP1) DVD on loan, can I reinstall using that and my original product key? Or are the product keys SP-specific? I'm asking because I don't want to do a complete reinstall, then upgrade again to SP1 -- and discover it's the SP1 upgrade that breaks the elevated command prompt -- putting me right back into the situation I'm in now.
My System SpecsSystem Spec
12 Apr 2011   #6
usasma
Microsoft MVP

 
 

SP1 doesn't break the system - rather it's either an incompatible driver/program or malware that breaks it when confronted with SP1.

In general (no warranty is expressed or implied! ) if you can do a repair install with the DVD, then you should be able to use the SP1 DVD to do an install. Worst case is that the install will fail - in which case you can install the DVD w/o SP1 (then update drivers, then try installing SP1).
My System SpecsSystem Spec
12 Apr 2011   #7
Mark Phelps

Win7 Pro 32-bit, Win8 Pro 32-bit
 
 

usasma: Thanks for the quick response.

I actually expected to have to reactivate with the Repair Install -- but I did not.

Since a clean install is going to take a while, especially reinstalling all the apps and customizations, I won't be able to get around to that until this weekend. But I'll post back here when I get some results.
My System SpecsSystem Spec
18 Apr 2011   #8
Mark Phelps

Win7 Pro 32-bit, Win8 Pro 32-bit
 
 

Actually, SP1 DOES break the system -- at least, that's what I discovered when I spent the weekend reinstalling my Tablet PC from scratch.

Reinstalled from my original non-SP1 DVD, applied all the Windows updates except SP1. Rebooted (numerous times), everything was OK.

Applied the SP1 update (through Windows Update) -- machine bluescreens upon reboot.

Tried this twice (restored from image backup prior to SP1) -- and it did the same thing both times!

So, wiped the partition, reinstalled from scratch (again!). This time, downloaded the SP1 update from MS and saved it locally. Ran the SP1 update. Completed like before.

But this time, upon reboot, worked OK. No blue screen.

And, yes, this is the same set of apps and drivers as before.

So, it looks like the downloaded SP1 update behaves better than the one through Windows Update.
My System SpecsSystem Spec
Reply

 Crash trying to launch elevated command prompt




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...
Tutorials
Elevated Command Prompt Shortcut
How to Create an "Elevated Command Prompt" Shortcut in Windows 7 and Windows 8 This tutorial will show you how to create a shortcut that will open an elevated command prompt with administrator rights in Windows 7 and Windows 8. When you use the elevated command prompt shortcut, you may be...
Tutorials
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 16:04.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App