I am thinking of solving both of these issues with one application. Locking the desktop is trivial. Requires maybe 5-7 lines of code total, including braces

I am familiar with writing and deleting from the registry. So that is fine.

Create an application that is the only start up app. It locks the desktop and then proceeds to load every app in its list. It can scan the registry to look for newly added programs, save the key information to a file and remove it from the registry. Then give each application a "weight" and start each one in order.

Thinking of storing the startup programs as XML. Maybe SQL Compact just to play with it?

I am thinking of solving both of these issues with one application. Locking the desktop is trivial. Requires maybe 5-7 lines of code total, including braces

I am familiar with writing and deleting from the registry. So that is fine.

Create an application that is the only start up app. It locks the desktop and then proceeds to load every app in its list. It can scan the registry to look for newly added programs, save the key information to a file and remove it from the registry. Then give each application a "weight" and start each one in order.

Thinking of storing the startup programs as XML. Maybe SQL Compact just to play with it?

Thoughts? Comments? What would you want as a feature?

Use XML, lightweight and file I/O is faster than I/O in the database anyways. Why waste CPU cycles opening up a SQL connection when you can just use an XML file?

Also, you'll need to address dependencies for each app that executes at startup.

Also, you'll need to address dependencies for each app that executes at startup.

Will I really though? Seems windows just goes down its list? I can give each app a retry count, say, 4. That means it will try to start the app 4 times. This would mean if it had 4 successive dependencies it would fail to start (possibly, worst case).

Will I really though? Seems windows just goes down its list? I can give each app a retry count, say, 4. That means it will try to start the app 4 times. This would mean if it had 4 successive dependencies it would fail to start (possibly, worst case).

I could be as wrong as a bad date. Feel free to double check it and correct me. I usually stay away from Windows Registry when programming, config files are where it's at for me.

I am thinking of solving both of these issues with one application. Locking the desktop is trivial. Requires maybe 5-7 lines of code total, including braces

I am familiar with writing and deleting from the registry. So that is fine.

Create an application that is the only start up app. It locks the desktop and then proceeds to load every app in its list. It can scan the registry to look for newly added programs, save the key information to a file and remove it from the registry. Then give each application a "weight" and start each one in order.

Thinking of storing the startup programs as XML. Maybe SQL Compact just to play with it?

Thoughts? Comments? What would you want as a feature?

Crash,

A few questions for you on this

What level of startup do you want this program to execute at? Boot? OS Load? Service Startup? Post Login? Load Device?

Where were you thinking about storing the initial executable?

Do you want this to load prior to programs like AV Software?

What happens when Safe Mode is invoked? More appropriately stated what do you want to happen when the user invokes safe mode?

I would assume I would let the OS handle it. The basic point would be to let the user control when things loaded and give them a little control over the speed.

Ok next question on this topic then becomes Which OS is it written for XP? Vista? Windows 7? each one has a different loader. XP uses NTLDRVista Windows Boot Manager, and Windows 7 RC uses Boot Loader. the load sequence between the 3 are different and the timings are different. Critical devices load before startup programs in Windows 7 Critical Device Drivers load after certain startup processes in Vista and XP so youur startup list may differ.

CrashTECH wrote:

As far as programs like AV, it would be up to the user. I wouldn't think my application should care.

Depends on the AV software. Some like Avast and Kaspersky have a realtime boot scanner that if its enabled would need to be accounted for.

Others like Trend Micro load After windows loads and login occurs but as soon as authentication happens for a console user the AV takes control and does not pass it back until both update and memory resident scans are completed.

CrashTECH wrote:

It should load in safe mode as well, but maybe maintain a different list of applications to load?

Definitely have seperate lists of programs to load as well as loading those programs with the correct startup params (switches) if they have them that will disable certain types of behavior that safe mode cannot cope with.

CrashTECH wrote:

The only problem I see is maintaining the list and preventing the OS from just loading stuff.

Yeah. The OS is going to attempt to load stuff regardless of what process you put in front of it to limit its execution. ( this is why i hate Windows OS's and why virus and trojan writers Love it) But AV Software can get around this aka Avast and Kaspersky so it IS doable. I dont understand how they manage that trick tho but they do. Maybe borrow their methods?

CrashTECH wrote:

I haven't had much time to design the app so this is good to talk about now, since I haven't written any code at all. Not even a proof of concept.

Always the best time to discuss writing an app is before you have written any code

basically it wasn't supposed to be any more complex than going out to the registry, sucking in what is in the Run key and then creating my own config file, and deleting those from the Run registry key.

Then, the only thing in the "run" registry setting or the start up folder would be this application.

You could draw out the pre-loading of applications (over 3 minutes or so?) so that the OS loads up and you can get into firefox before, say bit torrent, snagit, AIM, or whatever else you have starting up automatically.

Faster boot time while still letting all your apps start up in the sys tray. Although I try to keep it minimal anyway.

This probably isn't something I am likely to start any time soon. It doesn't seem to be a really high demand thing, nor do I really think I would be able to use it too much.

I dont know still sounds like a good concept for a learning project tho. As long as you arent concerened with getting into the OS prior to the low level stuff then just write it out like you envisioned it. You could certainly keep the programs like yahoo AIM Bittorrent etc out of the picture by loading out of the Run key and then loading an optimized list of programs.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum