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

Page 1 of 2 12 LastLast

  1. Posts : 6
    win10
       #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)
    Attached Thumbnails Attached Thumbnails To open cmd.exe as administrator without creating a shortcut for cmd-cure.png  
      My Computer


  2. Posts : 6,823
    22H2 64 Bit Pro
       #2

    I just use context menu.

    To open cmd.exe as administrator without creating a shortcut for cmd-users.jpg
      My Computer


  3. Posts : 42,922
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #3
      My Computers


  4. Posts : 6
    win10
    Thread Starter
       #4

    @dalchina,

    I tried the method shared in the link . It didnt work out.

    @Callender,

    I was looking for solution where registry setting or gpo leads to the admin mode of cmd
      My Computer


  5. Posts : 6,823
    22H2 64 Bit Pro
       #5

    I cannot help with that.
      My Computer


  6. Posts : 16,912
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #6

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

    How are you intending to run cmd if not by using a shortcut?

    Denis
      My Computer


  7. Posts : 42,922
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #7

    I tried the method shared in the link . It didnt work out.
    Do you mean...
    - the tutorial didn't do what I wanted
    or
    - following the tutorial didn't add the context menu entry as shown in Callender's screenshot
    (it's rather trivial- download and merge a .reg file).
    or
    - something else.

    At present I am confused as to your requirement.

    Are you aware, for example, that you can- with a small tweak- have a command prompt as admin option in your Win key+X menu?

    All too vague for me- good luck!
      My Computers


  8. Posts : 6
    win10
    Thread Starter
       #8

    @dalchina,

    It didnt do what I wanted. Though I merged the reg files, When I launch the cmd without clicking on open as administrator, it opens without as admin for logged in user
      My Computer


  9. Posts : 42,922
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #9

    Did you get the upper option added to your context menu as per screenshot in post #2?

    Please post a screenshot showing that, and the window you see when you click it.
    To post a screenshot use the icon above your post with tooltip Insert Image.

    If that's not working, please add a comment with a link here under that tutorial.
    Thanks.
      My Computers


  10. Posts : 16,912
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #10

    Hiddenworld said:
    ... When I launch the cmd ...
    How do you want to launch it?

    Try3 said:
    "To open cmd.exe as administrator without creating a shortcut for cmd"

    How are you intending to run cmd if not by using a shortcut?

    Denis
      My Computer


 

  Related Discussions
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 13:16.
Find Us




Windows 10 Forums