Open PowerShell window here context menu - Add in Windows 10  

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 61
    windows 10
       #10

    Anyone knows how to run this PowerShell *as admin*?
      My Computer


  2. Posts : 68,967
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #11

    chok said:
    Anyone knows how to run this PowerShell *as admin*?

    Hello chok,

    Do you mean this below?

    How to Add Open PowerShell window here as administrator context menu in Windows 10
      My Computers


  3. Posts : 9
    Win10Pro
       #12

    Thanks for the info and .reg downloads, Brink.
    What could well be useful as a 'linkback' to your article(s) as an additional download would be a .url file. Getting back to the source wouldn't leave the .regs orphaned as much as they are.
    Something like:

    [InternetShortcut]
    URL=https://www.tenforums.com/tutorials/60175-open-powershell-window-here-context-menu-add-windows-10-a.html
    IconFile=https://www.tenforums.com/favicon.ico
    IconIndex=1

    Saved as, say, Remove_Open_PowerShell_window_here_context_menu.url

    PS Regedit alterations like these can't be automated/aren't scriptable? Dangerous, I know, but..

    - - - Updated - - -

    Thanks for the info and .reg downloads, Brink.
    What could well be useful as a 'linkback' to your article(s) as an additional download would be a .url file. Getting back to the source wouldn't leave the .regs orphaned as much as they are.
    Something like:

    [InternetShortcut]
    URL=https://www.tenforums.com/tutorials/60175-open-powershell-window-here-context-menu-add-windows-10-a.html
    IconFile=https://www.tenforums.com/favicon.ico
    IconIndex=1

    Saved as, say, Remove_Open_PowerShell_window_here_context_menu.url

    PS Regedit alterations like these can't be automated/aren't scriptable? Dangerous, I know, but..
      My Computer


  4. Posts : 68,967
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #13

    Hello @PhredE, and welcome to Ten Forums.

    If it helps any, I have the tutorial URL link in the .reg files for reference when editing the .reg file.
      My Computers


  5. Posts : 1,746
    Windows 10 Pro x64 22H2
       #14

    Hello Brink, thank you for useful tutorial, I found several same tutorials by googling out but your is better because it also includes an icon into context menu!

    However you might want to update this thread because it doesn't work out of the box. one also need to change "command" sub directory permissions in registry editor in order to make it work.

    System: Windows 10 x64 1903 (18362.365)
      My Computer


  6. Posts : 68,967
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #15

    zebal said:
    Hello Brink, thank you for useful tutorial, I found several same tutorials by googling out but your is better because it also includes an icon into context menu!

    However you might want to update this thread because it doesn't work out of the box. one also need to change "command" sub directory permissions in registry editor in order to make it work.

    System: Windows 10 x64 1903 (18362.365)
    Thank you for letting me know zebal.

    Tutorial now updated for these changes.
      My Computers


  7. Posts : 1,656
    Windows 10 Pro x64
       #16

    @Brink:

    I've followed the tutorial and downloaded the REG file, and unblocked it. Clicking YES when asked if I wish to add it, I get this error message.

    Open PowerShell window here context menu - Add in Windows 10-2019-10-03_01h54_45.png

    I am the only account holder on the PC and am Administrator. PowerShell is not open. Am I missing something?
      My Computers


  8. Posts : 68,967
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #17

    Golden said:
    @Brink:

    I've followed the tutorial and downloaded the REG file, and unblocked it. Clicking YES when asked if I wish to add it, I get this error message.

    Open PowerShell window here context menu - Add in Windows 10-2019-10-03_01h54_45.png

    I am the only account holder on the PC and am Administrator. PowerShell is not open. Am I missing something?

    Hey Colin,

    I just tested on my system to see if anything may have changed, but it can successfully merge for me.

    Most likely one of the steps to change owner or permissions may have been missed for one of the registry keys. It's not hard to do with that many.
      My Computers


  9. Posts : 91
    10 pro
       #18

    Is it possible to set the owner and permissions with a script? I would like to add this to a collection of tweaks that I am assembling into a monster batch script that I run when setting up a new computer or updating an existing one, but I don't want to have to manually set registry permissions first. The script to set permissions can be batch, powershell, vbscript, or anything else that can be called from a .bat file. I would prefer not to have to download and install any 3rd-party software if at all possible, just use what comes with a clean install of Windows.
      My Computer


  10. Posts : 1,746
    Windows 10 Pro x64 22H2
       #19

    Hello Brink,

    Do you know if there are any possible issues if we leave "Administrators" group as owners of those registry keys?
    and also to leave them have "Full control" on keys.

    After successfully applying reg key, I will set permissions back to what it was before, but I'm wondering whether that's necessary and if so why?
      My Computer


 

Tutorial Categories

Open PowerShell window here context menu - 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 17:54.
Find Us




Windows 10 Forums