Windows 10: To open cmd.exe as administrator without creating a shortcut for cmd

Discus and support To open cmd.exe as administrator without creating a shortcut for cmd in Windows 10 Support to solve the problem; Hi How to make cmd.exe open in admin mode every time we launch though C:\Users\Username profile instead of C:\Windows\System32? Can it be done through... Discussion in 'Windows 10 Support' started by Hiddenworld, May 19, 2020.

  1. To open cmd.exe as administrator without creating a shortcut for cmd


    Hi

    How to make cmd.exe open in admin mode every time we launch though C:\Users\Username profile instead of C:\Windows\System32? Can it be done through group policy or registry setting ?

    I have attached the snapshot of cmd in admin mode for C:\Users\Username

    Also The windows version number is 1809 (OS BUILD 17763.1192)

    :)
     
    Hiddenworld, May 19, 2020
    #1

  2. CMD popup

    Here you go:

    • Log on under an admin account.
    • Create a desktop shortcut for cmd.exe.
    • Right-click this shortcut, then left-click "Run as administrator".
    • Accept the challenge.
    • Type these commands and press Enter after each:

      cd /d %SystemRoot%

      cd System32

      takeown /f cmd.exe

      cacls cmd.exe /g everyone:F

      (anwer "Y" when asked "Are you sure?")

      ren cmd.exe cmd1.exe
    And here is how to reverse the above steps:

    • Log on under an admin account.
    • Create a desktop shortcut for cmd1.exe.
    • Right-click this shortcut, then left-click "Run as administrator".
    • Accept the challenge.
    • Type these commands and press Enter after each:

      cd /d %SystemRoot%

      cd System32

      ren cmd1.exe cmd.exe
    If the pop-up occurs frequently then you could leave your own command prompt open for an hour or two. In this case you would only need the line in italics to reverse your action.
     
    Frederik Long, May 19, 2020
    #2
  3. angus Win User
    Settings can't be opened using the built-in administrator account


    Hello,
    Unfortunately I have the same issue as Dabz from upgrading win7 to win10.
    I've tried opening settings using all the suggested methods and it will not load using my account with Administrator access nor the built-in Administrator profile. I also tried other methods not listed such as using Run. Control panel is just a stepping stone to add users in Settings.
    I'm also having explorer.exe issues, which I believe is preventing Settings from loading.
    Using cmd (Admin) I successfully created a new user profile [and granted admin access also using cmd (Admin)], however win10 will not allow this account to log on. win10 does not list this new user within control panel but it does in the start menu. win10 will not allow to log in or switch to the new account via the start menu either.
    I can access settings in Safe Mode but this will not allow me to create a new account.
    Any help/suggestions will be greatly appreciated.
    Cheers
     
    angus, May 19, 2020
    #3
  4. To open cmd.exe as administrator without creating a shortcut for cmd

    New Apps not showing anywhere

    Hi Simon,

    I would suggest you add create a shortcut to these programs in the Desktop till we fix this issue. You can right click on the frequently used programs and select 'Send to Desktop' to create a shortcut for that program in Desktop. To troubleshoot this issue,
    I would suggest you to try the following steps and check:

    • Open an Administrator CMD window. If you can’t find a way, use these steps:
    • Press CTRL+Shift+ESC to open Task Manager.
    • Click File > Run New Task
    • Make sure you have a check mark beside “Create this task with administrative privileges”
    • Type CMD
    • Type the following commands at the CMD prompt:

      dism /online /cleanup-image /restorehealth

      sfc /scannnow
    Try these steps and let us know the results.
     
    Bennet Martin, May 19, 2020
    #4
Thema:

To open cmd.exe as administrator without creating a shortcut for cmd

Loading...
  1. To open cmd.exe as administrator without creating a shortcut for cmd - Similar Threads - open cmd exe

  2. cmd administrator

    in Windows 10 Customization
    cmd administrator: How can I execute .bat file in administrator mode without need to run it as administrator? https://answers.microsoft.com/en-us/windows/forum/all/cmd-administrator/091018b3-b3d9-4d3d-9c09-fdc591e46b90
  3. CMD as Administrator

    in Windows 10 Customization
    CMD as Administrator: After my latest Windows Update, I had many issues with my HD settings and some software that no longer functioned. One particular application would not work and notified me that my Windows "Shadow" file was full. I attempted to fix this but found I could not get CMD with...
  4. Open OSK using cmd in administration mode

    in Windows 10 Customization
    Open OSK using cmd in administration mode: All I have to do is to open OSK using administration account in cmd and for that I need to turn it to standard user . So that's why I wan to run cmd as standard user in administration cmd ....
  5. Unable to open CMD.

    in Windows 10 BSOD Crashes and Debugging
    Unable to open CMD.: Hello, I am experiencing some difficulty in opening CMD. When I clicked open or run as administrator, the CMD window pops-up and quickly disappear. Therefore, I cannot run any troubleshooting to solve Teredo network adapter for my PC....
  6. Useful CMD commands (administrator)

    in Windows 10 BSOD Crashes and Debugging
    Useful CMD commands (administrator): Hello, Please send me all the CMD commands required for leptop and what role does CMD have in my order. I'm mentioning that on leptop I installed Windows 10 Home version 1809 Thank you! A wonderful day!...
  7. run,cmd not opening

    in Windows 10 Customization
    run,cmd not opening: i opened my start menu and in that i opened windows system in which there is no run and cmd options only taskmanager is present hoe to re insall run and cmd...
  8. Disallowrun and locked exe, cmd, regedit

    in Windows 10 Support
    Disallowrun and locked exe, cmd, regedit: I did a very stupid thing. I tried to make windows block one application by creating registry in Policies/Explorer named RestrictRun. I did it and then I also created DisallowRun. In KEy Restrict run I added one application, but i couldnt create key for DisallowRun and...
  9. CMD Randomly opens..

    in Windows 10 Performance & Maintenance
    CMD Randomly opens..: Hey guys, So I just reformatted my PC and did a fresh install of windows 10 as my computer was running into some issues. The install went fine I reinstalled all of the computers drivers from the manufacturers website. My computer is custom built, so I had to go around to...
  10. CMD run as administrator registry

    in Windows 10 Support
    CMD run as administrator registry: We have an automated sysprep process that works fine for windows 8 but not in windows 10. The whole process runs when run manually through an elevated cmd prompt but after sysprep i need the cmd prompts to be automatically elevated to prompt for a computer name change....