custom Startup Items launcher

G

George Valkov

I have created a C++ application that strips admin privileges and can then
start any application in restricted context (SafeRun).

I want to integrate it with the start-up items:
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
All Users\Start Menu\Programs\Startup
Current Users\Start Menu\Programs\Startup

.... so that Windows will only start my application and it
will take care to run the others with less privileges.

Is this possible and how?
Thank You for any web links, examples and ideas!


George Valkov
__________________________
....browse the web safer
 
G

George Valkov

Thank You Kelly!
Now I know the order in which the start-up locations are processed.
I also found out here:
http://www.jsifaq.com/SF/Tips/Tip.aspx?id=5550
how to prevent windows from processing the registry Run locations.

I still need help on this:
My program or DLL must be notified about two events:
{
~ user logon
~ program or driver installation that creates and entry under
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
and then tells windows to execute it immediately to complete the
installation. Yes, some installations relay on this and will not be
complete, if they cannot create and execute a HKLM\...\Run startup item.
}

Any ideas?


George Valkov


:
| Q179365 INFO: Run, RunOnce, RunServices, RunServicesOnce and Startup
| http://support.microsoft.com/support/kb/articles/q179/3/65.asp
|
|
| --
|
| All the Best,
| Kelly (MS-MVP/DTS&XP)
|
| Taskbar Repair Tool Plus!
| http://www.kellys-korner-xp.com/taskbarplus!.htm
|
| Is it October already? Either way, Happy Birthday if today is your
| birthday!
|
|
| | >I have created a C++ application that strips admin privileges and can
then
| > start any application in restricted context (SafeRun).
| >
| > I want to integrate it with the start-up items:
| > HKCU\Software\Microsoft\Windows\CurrentVersion\Run
| > HKLM\Software\Microsoft\Windows\CurrentVersion\Run
| > All Users\Start Menu\Programs\Startup
| > Current Users\Start Menu\Programs\Startup
| >
| > ... so that Windows will only start my application and it
| > will take care to run the others with less privileges.
| >
| > Is this possible and how?
| > Thank You for any web links, examples and ideas!
| >
| >
| > George Valkov
| > __________________________
| > ...browse the web safer
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top