custom Startup Items launcher

  • Thread starter Thread starter George Valkov
  • Start date Start date
G

George Valkov

Guest
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
 
Re: custom Startup Items launcher

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!


"George Valkov" <a@b.com> wrote in message
news:OjdXZkn2HHA.4004@TK2MSFTNGP05.phx.gbl...
>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
>
>
 
Re: custom Startup Items launcher

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


"Kelly" wrote:
| 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!
|
|
| "George Valkov" <a@b.com> wrote in message
| news:OjdXZkn2HHA.4004@TK2MSFTNGP05.phx.gbl...
| >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
| >
| >
|
|
 

Similar threads

C
Replies
0
Views
104
Compuuter
C
N
Replies
0
Views
105
Neil Cummings
N
D
Replies
0
Views
146
Default Username 98
D
Back
Top