Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Command Prompt Elevate to Administrator

Posted on 2013-06-04
6
679 Views
Last Modified: 2013-06-04
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.
0
Comment
Question by:Vontech615
6 Comments
 
LVL 11

Expert Comment

by:Giladn
ID: 39218957
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
 
LVL 10

Expert Comment

by:Sam Simon Nasser
ID: 39218963
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
 
LVL 1

Author Comment

by:Vontech615
ID: 39218980
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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 1

Author Comment

by:Vontech615
ID: 39218982
btw system restore isn't working but this question is less about fixing the problem and more about running elevated commands.
0
 
LVL 29

Accepted Solution

by:
Sudeep Sharma earned 500 total points
ID: 39219258
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
 
LVL 1

Author Comment

by:Vontech615
ID: 39219311
SSharma, that's what I was looking for.  I found it through Google but I appreciate your response.  This is the solution.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question