Run cmd.exe in Administrator mode without explorer.exe

All we need is an easy explanation of the problem, so here it is.

I’ve recently had trouble with explorer.exe not working. I found a possible solution here, using sfc.exe. The problem is that I cannot “right-click Command Prompt, and then click Run as administrator”, since explorer.exe does not work for even a second without crashing. I tried to use the runas command to open cmd as administrator, but I get an error 1327 because I have a blank password.

My question is, is there any other way to run cmd.exe with admin privileges? If not, is there any way to run sfc.exe without admin privileges? If not, does anyone have solution to my original problem of explorer.exe stopping and restarting ad nauseam?

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

I found a simple solution that I can’t believe I overlooked. Just open Task Manager, click “Show processes from all users”, then click Continue to get Task Manager with Administrative Privileges. From there, go to File > New Task > cmd > OK, which will now open with admin privileges. From there I was able to get sfc to work just fine.

Method 2

Is there any other way to run cmd.exe with admin privileges?

Yes, restart your computer in safe mode and log in as the “administrator” user, he normally only shows up when you are logging in to safe mode.


If not, is there any way to run sfc.exe without admin privileges?

SFC requires administrator privileges, however you can remove the drive and run sfc.exe on another computer that you can run software as administrator, you will need to use the arguments /OFFBOOTDIR and /OFFWINDIR to point at the drive letter of the attached drive.

sfc /scannow /OFFBOOTDIR=d:\ /OFFWINDIR=d:\windows

That is what you would type on the other computer if the new attached drive showed up as the D: drive.


If not, does anyone have solution to my original problem of
explorer.exe stopping and restarting ad nauseam?

Your last option is use the System Recover Options menu and try rolling back to a restore point. (it’s not SFC but it may fix the problem)

Method 3

try a new profile? it could be one user account is trashed?

Method 4

cmd.exe is in windows\system32. if you go there you can always press the right click button to open it as admin

task manager – new task – search – go to \windows\system32\ and find cmd.exe – press right mouse button – run as admin

😀

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply