Run administrative command prompt from command prompt

Legendman3

New member
Local time
8:08 AM
Messages
1
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 Computer

OS
Windows 7 Home Premium 64bit
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.
 
Last edited by a moderator:

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
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 Computer

OS
Windows 7 Ultimate SP1 x64/Ubuntu 11
if cmd doesnt resolve, u can run sfc command
 

My Computer

Computer Manufacturer/Model Number
Windows 7 Ultimate 64-bit
OS
Windows 7 Ultimate N 64-bit
CPU
AMD Black Edition - AMD Phenom X4 2.5 GHz Processor
Motherboard
Bio Star
Memory
8GB DDR2 800MHZ BRANDED
Graphics Card(s)
Palti NVIDIA GeForce GTX 460
Monitor(s) Displays
3D 23.6" & 22"
Screen Resolution
1920x1080@120Hz
Hard Drives
313GB SAMSUNG SAMSUNG HD321KJ
PSU
OCZ 600W StealthXStream PSU, PowerWhisper, Active PFC
Internet Speed
22793
CMD.EXE is located in %windir%\system32
 

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
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 Computer

Computer Manufacturer/Model Number
Me and AMD
OS
win 7 64 ultimate/UE linux desktop & Vector Linux notebook, win 7 32 ultimate-tablet/pc
CPU
quad-core Opteron(phenom ll 981) @ 3.5ghz
Motherboard
MSI 880-G45
Memory
10g Teem Xtreme DDR3 PC1600
Graphics Card(s)
Sapphire HD5770 VaporX 1G DDR5
Sound Card
via 7.1
Monitor(s) Displays
dual displays Dell 21.5's
Screen Resolution
1600x900
Hard Drives
250g WD Sata and 320g WD Sata on a RAID Stripe, 3rd drive 160g Ide WD data backup
PSU
Diablotek DA600-Watt ATX Power Supply
Case
xClio Godspeed 747
Cooling
Cooler Master Hyper N 520 Mirror polish & 3 120mm Case Fans
Keyboard
Windows blk Media Wave
Mouse
Logitec Trackman Marble-Right, Nostromo n52-Speedpad-Left
Internet Speed
Cable 20Mbps, cisco dpq3212 SIP & linksysE3000 DDWRT
Other Info
new baby; Dell M4400 Mobile workstation, Intel C2D T9800 2.93ghz, 8G RAM, 500 & 160G HDD, nVidia Quadro fx770m 512DDR3, 1920x1200 WUXGA LED monitor, intel 5300 dual-band N wifi 1980x1200LED
Back
Top