Windows 10: How To Automaticaly Start A Program Minimized Solved

Page 1 of 2 12 LastLast
  1.    02 Jan 2017 #1

    How To Automaticaly Start A Program Minimized


    I have an old programme I like called Desktop Secretary that I am using With Windows 10. Its being run in compatibility mode for Vista SP2. The built in option to run on startup does not work for Win 10 so I am using Task scheduler to make it run automatically at startup. Is there any way I can get it to automatically start up minimised instead of maximised? Now it will start up automatically and I have to manually click on the "-" button to minimise it and then it will go to the system tray. I have tried disabling the task schedule and putting a shortcut in the Win 10 start up folder with the option to start up mimised. After doing that the programme does not start up at all. Manually clicking that shortcut starts it maximised and not minimised. Is there any other method or a way to use Task Scheduler to make it start minimised? Your thoughts would be appreciated.

    Kind regards
    Chris
      My System SpecsSystem Spec

  2. Bree's Avatar
    Posts : 1,759
    10 Home x64 (1607), Pro x86 (1511 & 1607)
       02 Jan 2017 #2

    Chris Nicola said: View Post
    The built in option to run on startup does not work for Win 10 so I am using Task scheduler to make it run automatically at startup. Is there any way I can get it to automatically start up minimised instead of maximised?
    I like to have Task Manager run automatically at start up, minimised to the taskbar. Task Manager has no options of its own to run minimised, so I start it from a .bat file in...
    C:\Users\<my_username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
    ...containing the command:
    start /min taskmgr

    You could try launching your program with something similar, a command along the lines:
    start /min "C:\Program Files (x86)\Desktop Secretary"

    Try it from a command prompt first to see if it works as you'd wish.
      My System SpecsSystem Spec

  3.    02 Jan 2017 #3

    Thanks for you help. In this case the issue is not actually with Task manager to start mimised. I want to start Desktop Secretary minimised by using Task manager or by another method. I apologise if I did not explain clearly.

    Kind regards
    Chris
      My System SpecsSystem Spec

  4. Bree's Avatar
    Posts : 1,759
    10 Home x64 (1607), Pro x86 (1511 & 1607)
       02 Jan 2017 #4

    Chris Nicola said: View Post
    I apologise if I did not explain clearly.
    No, it's me who didn't explain clearly. I'm suggesting you use 'start /min' command to run you program, with a command something like:
    start /min "C:\Program Files (x86)\Desktop Secretary\desktopsecretary.exe"
      My System SpecsSystem Spec

  5.    02 Jan 2017 #5

    Thanks. This might work. In Task manager I now have "C:\Program Files (x86)\Desktop Secretary(Free Version)\Desktop_Secretary.exe" So if I understand correctly should I change it to: start /min "C:\Program Files (x86)\Desktop Secretary(Free Version)\Desktop_Secretary.exe" ?

    Kind regards
    Chris
      My System SpecsSystem Spec

  6. Bree's Avatar
    Posts : 1,759
    10 Home x64 (1607), Pro x86 (1511 & 1607)
       02 Jan 2017 #6

    I think you mean 'in Task Scheduler', but basically yes. Try opening a Command Prompt and type the command:
    start /min "C:\Program Files (x86)\Desktop Secretary(Free Version)\Desktop_Secretary.exe"
    ...to test that it works as expected. If you can't get it to work in Task Scheduler, then write the command into a new text file on your desktop, rename it as DS_min.bat then copy or move it to your C:\Users\<my_username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup folder.
      My System SpecsSystem Spec

  7.    02 Jan 2017 #7

    Thanks. Yes I mean task scheduler. I will try some tests and let you know how I get on.

    Kind regards
    chris
      My System SpecsSystem Spec

  8.    03 Jan 2017 #8

    I tried various methods.

    1- I tried adding the Start /min argument in Task scheduler and then it did not launch at all
    2- I tried opening cmd and running
    start /min "C:\Program Files (x86)\Desktop Secretary(Free Version)\Desktop_Secretary.exe"
    It will not run at all. I also tested a batch file with this command in the startup folder and no result.
    3- With cmd I ran, start /min "" "C:\Program Files (x86)\Desktop Secretary(Free Version)\Desktop_Secretary.exe"
    Then it launches maximised and I still have to click onto the "-" to minimise it.

    I am sure this can be done with the right syntax. Not sure if this is a permissions or privileges problem with Win 10. I want to enter the same command as when I click on the "-" in the window.

    I will keep trying. Your suggestions are welcome.

    Kind regards
    Chris
      My System SpecsSystem Spec

  9. Bree's Avatar
    Posts : 1,759
    10 Home x64 (1607), Pro x86 (1511 & 1607)
       03 Jan 2017 #9

    Chris Nicola said: View Post
    Not sure if this is a permissions or privileges problem with Win 10...
    Neither!

    Intrigued by your problem I found and downloaded Desktop Secretary and tried it myself. The reason 'start /min' doesn't work is that Desktop Secretary doesn't open in a conventional window that can be minimised to the taskbar, rather it puts an icon in the system notification tray (much like Defender does). Ticking its option to start automatically adds the following 'Run' entry to the registry:
    "C:\Program Files (x86)\Desktop Secretary(Free Version)\Desktop_Secretary.exe" /background

    Run this command from a command prompt, or from a .bat file in the Startup folder and it works as intended - but with one crucial extra step: as this is an unsigned program you have to click 'Yes' on a UAC prompt to let it run. The problem with launching it from the registry 'Run' entry is that you never get to see a UAC prompt. Presumably this is the same for launching it in Task Scheduler, which would explain why that doesn't work.

    This Tutorial may help in launching from Task Scheduler without the need for a UAC prompt...
    https://www.tenforums.com/tutorials/...dows-10-a.html

    ...if not, you can launch it with a .bat in Startup, but will have to click 'Yes' on the UAC each time, whether that's an improvement on clicking its '-' each time is a moot point.
      My System SpecsSystem Spec

  10.    04 Jan 2017 #10

    Thank you very much. This information has solved the problem. Now Desktop Secretary will automatically run at startup and minimise to the system tray which is what its supposed to do. In the end the solution was quite simple. I copied and pasted the following line you gave me into Task scheduler.
    "C:\Program Files (x86)\Desktop Secretary(Free Version)\Desktop_Secretary.exe" /background
    After clicking OK, task scheduler said this had an argument and did I want to apply it. I checked ok and the job was done. Please see the attached screenshot. I also note that to get Task scheduler to work I previously had to check the option to run with the highest privileges. I do not get any user account control prompt. In any case, I have UAC turned off.

    Thank you again for all your help.

    Kind regards
    Chris
    Attached Thumbnails Attached Thumbnails Desktop Secretary Task Scheduler.JPG  
      My System SpecsSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Hello, I want to start an EXE program Minimized, or better yet, hidden (so I don't see its program in the Taskbar) only when the computer comes back from Hibernate. (This EXE file does the command to delete the hiberfil.sys file.) It only runs for a...
Hi, I need Windows 10 to boot directly to a program. Whatever I try .vbs, .bat or just shortcut in Startup folder, it always starts minimized to task bar. When I click on the task bar it gets blown up full screen. Once I turn off the Tablet mode...
Hello Community! I'm trying to get BBC iPlayer downloads to start automagically at 2100 so that it can start downloading Doctor Who. I'd like it to start minimized, but I am unsure how to do so. In addition to this, does anyone know if there...
I recently updated my 4 year old acer laptop to win10. I have a calender program called "windates" I placed a short cut in the system startup folder but the program does not start when I boot up my laptop. I did put a short cut on the desktop which...
I've been trying to figure this out for a while now and I can't. I've looked at tons of small tips online to get this working but it doesn't work at all. I have a batch file which causes various programs to start when opened. However, one of them...
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 06:39.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums