1.    10 Jul 2016 #1
    Join Date : Jul 2016
    Posts : 8

    how to set Run as Administrator on cmd.exe?

    I can set in the compatibility box of properties 'Run as administrator' checkbox for most programs, I cannot find the checkbox for cmd.exe?
    How can I get an icon on my desktop which will always open cmd.exe as admin by default?
      My ComputerSystem Spec
  2.    10 Jul 2016 #2
    Join Date : Jul 2016
    Posts : 8
    Thread Starter

    Figured a way around

    Ok,, this worked for others:
    Copy cmd.exe from windows\system32 to for example c:\cmd.exe

    Then you can right click on cmd.exe and the compatibility mode tab is there, check run as admin, done., you'll have to change paths to get it to find, it.
    I think it might be possible to change ownership of cmd.exe to yourself, then assign all privs to yourself, then do this in place.
      My ComputerSystem Spec
  3.    10 Jul 2016 #3
    Join Date : Oct 2013
    Posts : 25,642
    64-bit Windows 10 Pro build 17046
      My ComputersSystem Spec
  4.    10 Jul 2016 #4
    Join Date : Jul 2016
    Posts : 8
    Thread Starter

    Figured it out

    Ok, so the goal is to get cmd.exe in the windows\system32 to run as admin by default.

    This is critical as many tools I use spawn cmd.exe to do their work in the c root and elsewhere

    p.s. I'm a developer of 35 years....

    So way to do it is, grab ownership of cmd.exe, rename it to cmdorig.exe
    Then make a shortcut to cmdorig.exe on the desktop, give it Admin rights....
    Now copy the shortcut INTO the windows\system32 folder and rename is cmd.exe

    Now whenever anything runs cmd.exe (from windows\system32), it'll run the cmdorig.exe as admin.

    Man they make it hard to make a living.
      My ComputerSystem Spec


Similar Threads
Thread Forum
Solved Need Administrator Permission
I'm trying to replace calc.exe in the System 32 folder with a version from XP, but keep getting a notice that I don't have permission. I'm in as the Administrator, what more do I need to do? Thanks!
Performance & Maintenance
administrator ID
I am changing my email provider, how do I change it on my administrator ID. Or once I delete my currant provider account will I still be able to sign on to my computer with a deleted email?:confused:
User Accounts and Family Safety
Solved administrator has blocked
Is there any way to work around this besides logging out then login back in as administrator? I did this to log in as administrator. “net user administrator /active:yes” I was only trying to install Cisco Connect from Linksys. After I got it...
Software and Apps
Contact the administrator
I AM the administrator! So I went through the process of changing my login to the administrator after Windows 10 put someone I don't know in charge. I'm trying to re-install a wireless HP printer which worked exceptionally well in Windows 8. ...
Drivers and Hardware
Built in Administrator
Help running Windows 10, and I am stuck in the Built in Administrator log-in. It started when I was tring to disable the log-in password for my account in Windows. I can not log-in to my user's account and do not see my profile. I have went the...
User Accounts and Family Safety
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:15.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App

Windows 10 Forums