Need to start a program minimized


  1. Posts : 184
    Windows 10 Pro 64Bit
       #1

    Need to start a program minimized


    Hi...
    I made a new string on the following registry key:
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run
    I got the program to start on windows startup. But I need it to open minimized.
    What do I need to do to make it open minimized...Thanks...
      My Computer


  2. Posts : 61,911
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Raner,

    You can set the shortcut for the program in the Run folder to always open minimized using option 1 below.

    Always Open Shortcut as Normal, Minimized, or Maximized in Windows 10
      My Computers


  3. Posts : 184
    Windows 10 Pro 64Bit
    Thread Starter
       #3

    HI Brink, I did not want to bore you all with all the details.
    I've been trying everything I know to make Logitech G Hub software open on windows startup. (How it is suppose too)
    The program has a big glitch in it.
    If I run it the default way. It starts on startup but does not see my mouse.
    If I run it with admin rights, it will not start on windows startup, but if I tick it manually it will see my mouse.
    The only way I got it to work with admin rights is with the string above.
    I tried your suggestion, it was one of the first things I tried, but it will not start on startup, on normal window nor minimized.
    I checked the default startup path of the program and it reads like this
    C:\Program Files\LGHUB\lghub.exe -- background
    But I don't want to add -- background to it till I get an opinion from someone who knows how windows reads and executes commands. Which in my case could be all the persons on this forum...LOL...
      My Computer


  4. Posts : 61,911
    64-bit Windows 11 Pro for Workstations
       #4

    In that case, you might give this below a try to see how it works for you:

    1) Create an elevated shortcut using the method in the tutorial below to run this program.

    Create Elevated Shortcut without UAC prompt in Windows 10

    2) Put this elevated shortcut in the Startup folder.

    3) Use the method I posted earlier to have this shortcut run minimized.
      My Computers


  5. Posts : 184
    Windows 10 Pro 64Bit
    Thread Starter
       #5

    Well Brink, I took a chance and added -- background to the path exec and it worked perfect. G Hub started saw
    my 502 Hero Mouse and the icon is present in the system tray and it opens G Hub app with all the functions present and working.
    It is working as if I had written the code myself...Ha...Ha...
    Thanks for all the help Brink, if it had not worked I would have made elevated shortcut, but since it worked I saved myself 20 steps.
    Because adding this -- background was a lot faster.
    Note: If anyone see's this post and tries this method. Just be careful I saw some other paths ending with \mini and with
    -background. So look at the original path of the default string in:
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    to be sure you use what the program is looking for to minimize...
    Last edited by Raner; 27 Sep 2019 at 19:45.
      My Computer


  6. Posts : 61,911
    64-bit Windows 11 Pro for Workstations
       #6

    Great news.
      My Computers


  7. Posts : 1
    win10
       #7

    Brink said:
    In that case, you might give this below a try to see how it works for you:

    1) Create an elevated shortcut using the method in the tutorial below to run this program.

    Create Elevated Shortcut without UAC prompt in Windows 10

    2) Put this elevated shortcut in the Startup folder.

    3) Use the method I posted earlier to have this shortcut run minimized.
    Thanks brink. This method works fine for me.
      My Computer


  8. Posts : 61,911
    64-bit Windows 11 Pro for Workstations
       #8

    ffeeee1 said:
    Thanks brink. This method works fine for me.
    I'm glad it could help, and welcome to Ten Forums.
      My Computers


 

  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 15:47.
Find Us




Windows 10 Forums