Jump to content



Photo

Elevated Command Prompt on Non Booting PC?


  • Please log in to reply
12 replies to this topic

#1 Berserk87

Berserk87

    Neowinian Senior

  • Joined: 14-June 05
  • Location: BC, Canada

Posted 19 February 2012 - 23:57

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.


#2 n_K

n_K

    Neowinian Senior

  • Tech Issues Solved: 3
  • Joined: 19-March 06
  • Location: here.
  • OS: FreeDOS
  • Phone: Nokia 3315

Posted 20 February 2012 - 00:00

runas /user:administrator cmd

#3 OP Berserk87

Berserk87

    Neowinian Senior

  • Joined: 14-June 05
  • Location: BC, Canada

Posted 20 February 2012 - 00:08

that does nothing.

#4 OP Berserk87

Berserk87

    Neowinian Senior

  • Joined: 14-June 05
  • Location: BC, Canada

Posted 20 February 2012 - 01:06

it looks like that command is from windows xp.

#5 +Ryster

Ryster

    Evil Teddy Rules!

  • Tech Issues Solved: 2
  • Joined: 02-August 04
  • Location: Uttoxeter, UK
  • OS: Windows 10 Tech Preview
  • Phone: Lumia 930

Posted 20 February 2012 - 01:15

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?

#6 OP Berserk87

Berserk87

    Neowinian Senior

  • Joined: 14-June 05
  • Location: BC, Canada

Posted 20 February 2012 - 01:18

windows wont boot, so im in 'system recovery tools'.
trying the runas command tells me "not recognized as a internal or external command."

#7 +Ryster

Ryster

    Evil Teddy Rules!

  • Tech Issues Solved: 2
  • Joined: 02-August 04
  • Location: Uttoxeter, UK
  • OS: Windows 10 Tech Preview
  • Phone: Lumia 930

Posted 20 February 2012 - 01:21

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

#8 OP Berserk87

Berserk87

    Neowinian Senior

  • Joined: 14-June 05
  • Location: BC, Canada

Posted 20 February 2012 - 01:41

running it. looks like its stuck at 60%.

#9 OP Berserk87

Berserk87

    Neowinian Senior

  • Joined: 14-June 05
  • Location: BC, Canada

Posted 20 February 2012 - 06:11

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.

#10 articuno1au

articuno1au

    Neowinian Senior

  • Tech Issues Solved: 3
  • Joined: 20-March 11
  • Location: Brisbane, Australia

Posted 20 February 2012 - 06:20

That means it's doing something.

Let it keep running, and try booting once it's done.

Let us know.

#11 OP Berserk87

Berserk87

    Neowinian Senior

  • Joined: 14-June 05
  • Location: BC, Canada

Posted 20 February 2012 - 07:09

check disk finished, fixed a bunch of stuff, still hangs on the loading windows screen.
its not freezing there, and ive seen the user screen once.

#12 articuno1au

articuno1au

    Neowinian Senior

  • Tech Issues Solved: 3
  • Joined: 20-March 11
  • Location: Brisbane, Australia

Posted 20 February 2012 - 07:11

Might be getting close to a Linux Live CD + Reformat.

#13 OP Berserk87

Berserk87

    Neowinian Senior

  • Joined: 14-June 05
  • Location: BC, Canada

Posted 20 February 2012 - 08:08

yep.
clean install time...