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.
  • Posts

  • Recent Achievements

    • One Year In
      Console General earned a badge
      One Year In
    • One Year In
      Twozo Technologies earned a badge
      One Year In
    • One Month Later
      Twozo Technologies earned a badge
      One Month Later
    • Week One Done
      Twozo Technologies earned a badge
      Week One Done
    • Veteran
      branfont went up a rank
      Veteran
  • Popular Contributors

    1. 1
      +primortal
      510
    2. 2
      +Edouard
      200
    3. 3
      PsYcHoKiLLa
      131
    4. 4
      Steven P.
      89
    5. 5
      neufuse
      74
  • Tell a friend

    Love Neowin? Tell a friend!