Elevated Command Prompt on Non Booting PC?


Recommended Posts

I have a friends laptop with me that wont boot into windows because of a failed update.

Looks like windows is starting then just hangs there for hours and hours, never actually loading.

So I'm trying to run sfc /scannow hoping that will find the messed up files and replace them, but windows resource protection keeps blocking me because the cmd prompt isnt being run as admin.

I can't boot the computer, so I can't figure out how to get elevated permissions to run sfc /scannow from the startup repair options.

Link to comment
Share on other sites

it looks like that command is from windows xp.

runas is a ubiquitous command that has existed in XP, Vista, 7, 2003, 2008 and 2008R2... it may even have been in 2000 and NT4 too, but I can't remember that far back. It is not just a windows xp command.

Where are you trying to run sfc from? In the recovery console?

Link to comment
Share on other sites

If you're in the recovery console, then you don't need to do runas. The console should automatically have the rights it needs.

Try a chkdsk of the C drive first.... chkskd c: /f

Link to comment
Share on other sites

I've left check disk running since you first posted to.

It scans up to 60% in a matter of seconds, then goes very very slow. its now at 64% showing a couple errors fixed.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.