Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Run administrative command prompt from command prompt

22 Jul 2011   #1
Legendman3

Windows 7 Home Premium 64bit
 
 
Run administrative command prompt from command prompt

Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative privleges from command prompt.

I am trying to do this command:

copy explorer.exe C:\Windows\

So if there is also another command I can just tack onto that that gives me admin rights to do it. I would be happy.


My System SpecsSystem Spec
.
23 Jul 2011   #2
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

On a friend's computer that also has win 7 64 bit installed, make a system Repair CD.


Boot from the system repair CD

go to a command prompt.


CREATE A SYSTEM REPAIR DISC

START | type System Repair | Enter key | Create Disc button





GO TO A COMMAND PROMPT USING A SYSTEM REPAIR DISC

1) Insert System Repair Disc into optical reader.
2) Shutdown your computer.
3) Boot up your computer from the System Repair Disc
If your computer doesn’t boot from the optical drive, then
Immediately after pushing your Power ON button,
start tapping the F2 key to get to the BIOS to change the boot order

On some computers, Immediately after pushing the Power ON button, start tapping the F12 key and choose CD/DVD to change the boot order only for this time.
4) Wait while a mini-version of Windows is loaded and finally the SYSTEM RECOVERY OPTIONS dialog appears.
5) NEXT
6) SYSTEM RECOVERY OPTIONS dialog
will search your system for installed versions of Windows.
7) select the Use recovery tools that can help fix problems starting Windows radio button |
NEXT
8) Choose command prompt from the list shown

Run any desired commands and type EXIT when finished.
Remove the System Repair Disc.
Shutdown your computer.
Power on your computer.
My System SpecsSystem Spec
23 Jul 2011   #3
XenX

Windows 7 Ultimate SP1 x64/Ubuntu 11
 
 

Quote   Quote: Originally Posted by Legendman3 View Post
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative privleges from command prompt.

I am trying to do this command:

copy explorer.exe C:\Windows\

So if there is also another command I can just tack onto that that gives me admin rights to do it. I would be happy.
So, if it is a launching problem with explorer.exe.
1. Launch Task Manager (Ctrl+Shift+Esc).
2. Click New Task.
3. Click Browse.
4. Locate CMD and Run it as Administrator (Right Click -> Run as Administrator)
5. And do the Command.
My System SpecsSystem Spec
.

23 Jul 2011   #4
richyrichuk

Windows 7 Ultimate N 64-bit
 
 

if cmd doesnt resolve, u can run sfc command
My System SpecsSystem Spec
23 Jul 2011   #5
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

CMD.EXE is located in %windir%\system32
My System SpecsSystem Spec
25 Jan 2012   #6
xcythe

win 7 64 ultimate/UE linux desktop & Vector Linux notebook, win 7 32 ultimate-tablet/pc
 
 
How to open/repair explorer.exe after replacing with unregistered e

When this happens you have no explorer, nothing opens. You hit ctrl-alt-del for task manager and choose 'File' run, explorer.exe (unregistered explorer starts running). Then go to c:windows/explorer.exe and replace it with the original .exe. I always leave my original file in-place renamed to *.*.orig, (explorerexe.orig) Always works for me.
[Windows 7 Ultimate didn't appreciate me taking ownership of explorer and replacing it. I use UxStyle_Core64.msi then you can apply themes. Last time I edited the registry on Win 7 64 Home, Ultimate 64 was more resistant. Win 7 Pro 32 bit was easier. 3rd party software is easiest.]
My System SpecsSystem Spec
Reply

 Run administrative command prompt from command prompt




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
How to fix MBR through command prompt?
Question: What commands could I run in the command prompt during the system recovery? I try & run say "fixmbr" but it doesn't work. Say if I want to write a new master boot record how would I do that?
General Discussion
Command Prompt
How to Open a Command Prompt in Windows 7 This will show you how to open only a non-elevated a command prompt without administrator rights instead of an elevated command prompt with administrator rights (Run as administrator) in Windows 7. Some commands will need to be used in an elevated...
Tutorials
command prompt
Hi all i need you help me a thing :cry: I went to use autosave all text on command prompt (CMD), how can i do or use what command prompt cade for mark it autosave when i used command prompt. Example : Color 0a
General Discussion
Command Prompt
Ok so every time I try to open the command prompt using an external source (batch file, small c++ program i made to say Hi to me through the command prompt) it instantly closes. Does anyone have any idea why this is happening and if so how can I fix it? Thanks, Wave
General Discussion
command prompt bug ?
Hi, I just tryed to use cmd as usual but it seems that I can't explore an other HDD than C: It bugs me I don't understand why i'm the only user on my computer and I am admin on it I at home so it should work but when I type "cd d:" I get that : ...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:26.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App