0

(Windows 10). When running powershell, it is visible on the taskbar and task view but when the icon is clicked or it is switched to using alt+tab, the window is not visible.

I tried running it using run and through cmd using the commands:

start powershell -WindowStyle Normal
start powershell

I also tried using the option in right click+start and right click+context menu and running the .exe file directly but I still get the same result.

Preview

EDIT: Preview - https://imgur.com/bF8ljKT

  • Did you try to use Win+Arrow keys to move the window? – Seth Jan 13 '18 at 13:21
  • @Seth yes i did. nothing happens. – Gerard Balaoro Jan 13 '18 at 13:53
  • 1
    Not an answer but a troubleshooting suggestion. Open a command prompt and don't use the start command. The use of start could be obfuscating a PowerShell startup error. In the command prompt's window just enter PowerShell and see what that tells you - if anything. – ScottWelker Jan 13 '18 at 17:22
  • @ScottWelker it opens powershell inside the cmd window. This works, but I want to be able to open powershell in its own window, – Gerard Balaoro Jan 14 '18 at 8:12
  • 1. What's output from where powershell? 2. Could start "" powershell help? – JosefZ Jan 15 '18 at 10:19
1

Since the taskbar shows a preview of the window, it probably exists somewhere. While you have the window active, press Alt+Space to bring up the window’s system menu. Select “Move”, press any cursor key once. The window will then follow your mouse cursor. Press the mouse button to drop it.

/edit: As mentioned in the comment, the system menu also allows access to the console window’s settings (like buffer size, colors, etc.), including the ability to set the window position.

  • 1
    it doesn't work. however, when I open properties and checked layout > window position > let system position window and then restarted powershell, it worked. – Gerard Balaoro Feb 4 '18 at 14:16
  • Great to hear it worked out! I updated my answer with the info from your comment. – Daniel B Feb 4 '18 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.