Open command window here as administrator - Add in Windows 10  

Page 7 of 11 FirstFirst ... 56789 ... LastLast

  1. Posts : 2
    Windows 10 64-bit
       #60

    it wouldn't work for me until.


    It took me for a loop it wouldn't work for me until found I didn't have the Path Environment Variable for powershell makes sense finally.
      My Computer

  2. hdmi's Avatar
    Posts : 384
    10 Home (20H2)
       #61

    Add open cmd here as admin without UAC prompt


    If you, like me, prefer to 'Shift+Open here' the command window as an administrator without getting greeted by the UAC prompt, then this might be for you. I also got annoyed by the little stroboscopic side effect resulting from how cmd /c start is used in various tutorials so, I went ahead and decided to apply old medicine─nothing too complicated.

    I included a README.txt file in the zip and added some additional brief comments in each file about how to set this all up right. At first I was going to write up a full-blown tutorial, but then I got lazy and bored so, please feel free to reply with your suggestions like possible improvements, questions, or other related remarks.

    elecmd.zip
    Last edited by hdmi; 13 Feb 2021 at 08:44.
      My Computers

  3. Matthew Wai's Avatar
    Posts : 5,069
    Windows 10 Home 20H2
       #62

    hdmi said:
    It contains five script files, which can be combined into a single batch script.
    If you are interested, see how I combine scripts in the tutorial below:
    How to Add Create Elevated Shortcut to New Context Menu in Windows 10
      My Computer

  4. hdmi's Avatar
    Posts : 384
    10 Home (20H2)
       #63

    Matthew Wai said:
    It contains five script files, which can be combined into a single batch script.
    If you are interested, see how I combine scripts in the tutorial below:
    How to Add Create Elevated Shortcut to New Context Menu in Windows 10
    I know, and, I had already downloaded and studied your batchfile from that tutorial a couple years ago, but my view is that adding more code than really should be necessary to get the job done right is what obfuscates clarity, as nobody likes to waste their time and effort churning through additional code when their only important goal is to get to understand the script as fast as they can. I.e., people are not computers.
      My Computers

  5. Matthew Wai's Avatar
    Posts : 5,069
    Windows 10 Home 20H2
       #64

    I don't expect people will get to understand a script before running it.
    I think they want to get results produced by the script.
      My Computer

  6. hdmi's Avatar
    Posts : 384
    10 Home (20H2)
       #65

    Matthew Wai said:
    I don't expect people will get to understand a script before running it.
    They don't have to understand if they don't want to. The best that I can do is just to help them try to understand it.
      My Computers

  7. hdmi's Avatar
    Posts : 384
    10 Home (20H2)
       #66

    hdmi said:
    If you, like me, prefer to 'Shift+Open here' the command window as an administrator without getting greeted by the UAC prompt, then this might be for you. I also got annoyed by the little stroboscopic side effect resulting from how cmd /c start is used in various tutorials so, I went ahead and decided to apply old medicine─nothing too complicated.

    I included a README.txt file in the zip and added some additional brief comments in each file about how to set this all up right. At first I was going to write up a full-blown tutorial, but then I got lazy and bored so, please feel free to reply with your suggestions like possible improvements, questions, or other related remarks.

    elecmd.zip
    elecmd.zip
    Changelog:

    • The .reg file wasn't working properly so it has now been corrected.
    • It now also includes the option to add Shift+Open command window here as standard user.
    • It now also includes the .reg files needed to remove these added keys from Windows registry.
      My Computers


  8. Posts : 637
    Windows 10 20H2
       #67

    Use "Open command window here as administrator" and I also have a "Open command window here", how do I get rid of it?
      My Computer

  9. Brink's Avatar
    Posts : 56,311
    64-bit Windows 10 Pro for Workstations build 21359
    Thread Starter
       #68

    rdwray said:
    Use "Open command window here as administrator" and I also have a "Open command window here", how do I get rid of it?
    Hello mate,

    There's a remove option in the tutorial here on the first page for "Open command window here as administrator", and one at the link below "Open command window here".

    Open command window here - Add in Windows 10
      My Computers


  10. Posts : 637
    Windows 10 20H2
       #69

    Brink said:
    Hello mate,

    There's a remove option in the tutorial here on the first page for "Open command window here as administrator", and one at the link below "Open command window here".

    Open command window here - Add in Windows 10
    Hi Shawn, still have the "Open command window here" in the Shift+Right click.
      My Computer


 
Page 7 of 11 FirstFirst ... 56789 ... LastLast

Tutorial Categories

Open command window here as administrator - Add in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 05:23.
Find Us




Windows 10 Forums