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.

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?

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

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

    • No registered users viewing this page.