Command Prompt Elevate to Administrator

I'm working on a Windows 7 system.  Windows Explorer is crashing upon login and I've got a black screen.  I can start task manager and run commands this way. I'd like to run some commands as Admin but holding ctrl+shift+enter on cmd within the Run box is not working.  I also can't navigate to cmd within system32 as Explorer is not working.  I need a way to run commands as Administrator for example chkdsk.
LVL 1
Vontech615Asked:
Who is Participating?
 
Sudeep SharmaConnect With a Mentor Technical DesignerCommented:
When you are at normal command prompt you can type: "runas /user:machinename\adminuser" cmd but that will still prompt you for an admin password and open a new cmd window.

Sudeep
0
 
GiladnCommented:
1. Did you try safe mode with command prompt?
2. Did you try command from windows 7 cd repair mode? You can also do system restore from there..
0
 
Sam Simon NasserCONSULTANT/DIRECTORCommented:
either you do it in the safe mode, or get windows 7 DVD and boot from it, and from their either : use the command prompt, or you do a system restore the date where it was working,
0
Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

 
Vontech615Author Commented:
Yeah I know I can boot from a windows disk or live disk and run my commands the way I want. My question is just from the local hd that is having the problems is there way to run a command elevated.
0
 
Vontech615Author Commented:
btw system restore isn't working but this question is less about fixing the problem and more about running elevated commands.
0
 
Vontech615Author Commented:
SSharma, that's what I was looking for.  I found it through Google but I appreciate your response.  This is the solution.
0
All Courses

From novice to tech pro — start learning today.