startup minimized

Author Message
Ron 09/01/2010 10:08 pm
I chose the option for a controlled startup program to start minimized. It does not. Tried the same for notepad.exe to present an example, same problem.

I modified the Start menu item for Notepad to start minimized and it works - i.e. starts minimized when started from the start menu.

2.9.304 SR4

P.S. When adding a program, the execution tab is not available until you add it and then edit its properties.
Oleg Chernavin 09/02/2010 12:17 pm
I made a change. Please see how it works now:

Thank you!

Best regards,
Oleg Chernavin
MP Staff
Ron 09/22/2010 09:29 pm
Very good. When I select to start minimized, it works, for notepad and the other program I always wanted to start minimized.

Thank you!
Ron 09/22/2010 11:57 pm
Well, almost. It seems now that it starts everything minimized, regardless of the setting. BUT, that's only during startup - via CTRL.

Invoking run from within a running SO (which was started as admin) starts the program according to the setting - normal or minimized. I'll need to run further test on a VM, can't be rebooting my primary machine everyday - it controls too many things :-)

I noticed that SO now request admin privileges when started. That's understandable because it needs that to monitor the keys that only admins can see. This presents a problem though. After starting SO, if you run a program from within it, that program inherits the admin privileges. More often than not, you do NOT want this. Not sure how you'd solve this issue.

An enhancement would be to add a check box for [x] Run with highest privileges. Win 7 Task Scheduler allows this and I use it to start the few old programs I have that must be started as admin. Checking that box will start the program and avoid the "do you want to allow" prompt. Not sure if that ability is restricted to Task Scheduler or not.

Thankfully, ctrl somehow runs without admin privileges so controlled startup programs start the way you would want them to.

Oleg Chernavin 09/23/2010 01:17 pm

I tested Controlled Startup - I added Notepad, Wordpad and Paint. The first was set to minimize, second - normal, third - maximize. All of them started exactly as setup. The only probable difference - I didn't reboot, I simply used Tools - Run all Controlled Startup items.

Can you try this was as well - there should be no difference between reboot and this menu.

Regarding administrative priveledges - yes, this is so. Frankly, I searched on methods to run programs in normal mode, but didn't find it yet. I will continue searching.

Ron 09/23/2010 08:26 pm
I'll set up a Win7 x64 VM that I can devote to testing just this. I'll see if I can verify the different behavior on boot as opposed to running within SO.

Regarding running as admin. How does ctrl get started when I boot? It seems to be launching controlled items as a normal user. That's my assumption. I have one program that doesn't work properly when run as admin so it's the tool I use for testing. It's what convinced me that ctrl was running programs as a normal user while running from within SO ran them as admin.

Ron 09/23/2010 10:26 pm
Well, I'm having a different problem with this fresh install on Win7 Pro x64. The "Execution" tab will not display for any program. I entered my reg key to make sure it made no difference - none.

But, I will note that without being registered, minimize on start-up does not work. Earlier this evening I was repeatedly starting SO but it would not minimize. Just now after entering my key, I exited and restarted for good measure and behold it minimized. FYI.
Oleg Chernavin 09/24/2010 06:48 am
Yes, this minimize problem is weird! The code is very simple there. But I will continue testing it myself.

Admin rights - Ctrl.exe starts normally - it doesn't have so-called "manifest" that tells Windows to start it with administrative privelegdes. Therefore, all applications it starts inherit the same mode.

SO.exe starts in administration mode because it needs access to all Registry entries for their modification. And all apps that it starts inherit the admin mode by default. This is the difference.

Ron 09/24/2010 11:09 pm
Ok. Don't forget the new problem of the Execution tab not being displayed. I can't even select how I want the program to run without that.
Ron 09/24/2010 11:16 pm
More info on the missing execution tab: I have notepad as a test program to start. If I move it to the controlled start-up section, the execution tab IS displayed. Sounds like a bug slipped in.


2.9.11 SR5
Oleg Chernavin 09/27/2010 08:50 am
No, this is not a bug. It is possible to control the way the program starts only for Controlled Startup. For example, Registry entries do not allow that at all.

Ron 09/27/2010 08:50 pm
Ok, that make sense. I just never noticed it.
Oleg Chernavin 09/28/2010 06:41 am
Yes. In fact, shortcuts in Start Menu allow minimize/maximize option. I think, I need to add this ability to StartUp Organizer as well. But for Registry it will be simply impossible.