Windows 10: Add Open PowerShell window here as administrator in Windows 10  

Page 2 of 2 FirstFirst 12
  1.    10 Aug 2017 #10

    Brink said: View Post
    Does it look like the example screenshot in the tutorial?
    If so, it's running PowerShell even though it's in a command window instead of the usual blue PowerShell window.
    Is there any way to get this registry mode to produce the normal 'blue' normal Powershell window? (instead of the oversized black command window)

    Thanks!, -JT
      My ComputerSystem Spec

  2. Brink's Avatar
    Posts : 32,286
    64-bit Windows 10 Pro build 18242
    Thread Starter
       10 Aug 2017 #11

    Hello JT, and welcome to Ten Forums. :)

    Done.

    I've updated the add .reg files in the tutorial for it to open an actual PowerShell window.
      My ComputersSystem Spec

  3.    11 Aug 2017 #12

    Brink said: View Post
    Hello JT, and welcome to Ten Forums. :)
    Done.
    I've updated the add .reg files in the tutorial for it to open an actual PowerShell window.
    Thanks Brink! :) I just downloaded it and tested the "Add_Shift+Open_PowerShell_window_here_as_administrator_context_menu.reg", and noticed a BIG error is being shown every time the window is opened now... I've attached a screenshot:
    Click image for larger version. 

Name:	Administrator_Windows_PowerShell_2017-08-11_12.59.56.png 
Views:	120 
Size:	26.4 KB 
ID:	148410

    I'm running Windows 10 Pro (Creators Update) 64-bit. Would totally appreciate a fix for this! (we are so close...)
    -JT
      My ComputerSystem Spec

  4. Brink's Avatar
    Posts : 32,286
    64-bit Windows 10 Pro build 18242
    Thread Starter
       11 Aug 2017 #13

    Well, heck. It was working just fine yesterday.

    I'll look into it, and see what can be done. May have to go back to command window running PowerShell instead for it to be stable.
      My ComputersSystem Spec

  5.    11 Aug 2017 #14

    Brink said: View Post
    Well, heck. It was working just fine yesterday.
    I'll look into it, and see what can be done. May have to go back to command window running PowerShell instead for it to be stable.
    Thanks Brink! Really hoping you can fix this! (the oversized command window looks pretty ugly and doesn't distinguish itself)
    -JT
      My ComputerSystem Spec

  6. Brink's Avatar
    Posts : 32,286
    64-bit Windows 10 Pro build 18242
    Thread Starter
       11 Aug 2017 #15

    Found the cause of the issue.

    If the folder has a space in it's name, then it gives the error message.

    If the folder has a single name with no spaces, you don't get the error.

    Working on it more now.
      My ComputersSystem Spec

  7.    11 Aug 2017 #16

    Brink said: View Post
    Found the cause of the issue.
    If the folder has a space in it's name, then it gives the error message.
    If the folder has a single name with no spaces, you don't get the error.
    Working on it more now.
    So cool ....
      My ComputerSystem Spec

  8. Brink's Avatar
    Posts : 32,286
    64-bit Windows 10 Pro build 18242
    Thread Starter
       11 Aug 2017 #17

    For now, I have updated the .reg files to open a command window running PowerShell at the location until I get it better sorted for a PowerShell window.
      My ComputersSystem Spec

  9.    29 May 2018 #18

    Hello Shawn!

    Thank you very much for the tutorial, really useful.

    On my own setup, I changed the .reg file a little bit in order to open an actual PowerShell window and close the cmd prompt.

    I substituted "&& PowerShell" for "&& start PowerShell && exit" on a notepad.

    This way the cmd prompt starts a new PowerShell window and then exits, leaving the PowerShell window open.

    There may be a better solution, but this was really fast to implement and works just fine.

    Thank you,

    Victor
      My ComputerSystem Spec

  10. Brink's Avatar
    Posts : 32,286
    64-bit Windows 10 Pro build 18242
    Thread Starter
       29 May 2018 #19

    Thank you Victor, and welcome to Ten Forums.

    That is a nice change. I've updated the tutorial to include it.
      My ComputersSystem Spec


 
Page 2 of 2 FirstFirst 12

Tutorial Categories

Add Open PowerShell window here as administrator 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 Xbox Windows Phone


Related Threads
How to Add "Open command window here as administrator" context menu in Windows 10 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands at the command prompt, you can perform tasks on...
How to Add 'Open Bash window here as administrator' context menu in Windows 10 Microsoft first made investments that improve cmd, PowerShell, and many other command-line tools and developer scenarios. Second Microsoft decided to grow their...
How to Open Elevated Windows PowerShell in Windows 10 Windows 10 comes with Windows PowerShell 5.0 included. Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. Built on...
Windows 10 comes with Windows PowerShell 5.0 included. Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. Built on the .NET Framework, Windows PowerShell helps IT...
Whenever I have more than one window open the active window seems to change unexpectedly without me even clicking in the window to activate it. For example I'll have one half of my screen streaming a Netflix video and the other half will be another...
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:36.
Find Us