PowerTip: Start a Process in a Minimized Window by Using PowerShell

Summary: Learn how to start a process in a minimized window by using Windows PowerShell.

Hey, Scripting Guy! Question How can I start a new process in a minimized window?

                    Hey, Scripting Guy! Answer Use the Start-Process cmdlet and specify a window style of minimized, as shown here.

                                                 Start-Process notepad -WindowStyle Minimized


Comments (3)

  1. LN says:

    Hey, Scripting guy, thanks for this tip, but I had an issue starting VLC.
    I am trying to run vlc.exe using it’s full path, but it does not start minimized. Any thoughts ?

    start-process C:vlc-2.1.3-win32vlc-2.1.3vlc.exe -WindowStyle Minimized

    1. Could it be a missing character?
      C:\vlc-2.1.3-win32vlc-2.1.3vlc.exe -WindowStyle Minimized

  2. JW says:

    Any reason why this doesn’t work with microsoft outlook? Using

    start-process ‘name of email.msg’ -windowstyle minimized

    Works substituting .msg file with a .pdf and other programs. any help or workaround for opening .msg files minimized?

Skip to main content