Click here to get back home

custom Startup Items launcher

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
custom Startup Items launcher George Valkov 08-09-2007
Posted by George Valkov on August 9, 2007, 7:33 am
Please log in for more thread options
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



Posted by Kelly on August 9, 2007, 1:00 pm
Please log in for more thread options
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
>
>



Posted by George Valkov on August 9, 2007, 6:26 pm
Please log in for more thread options
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!
|
|
| >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 ThreadsPosted
Changing machine startup sequence in the registry June 2, 2005, 1:35 pm
Windows 2003 Problem with Group Policy for Services Startup and Permissions April 27, 2006, 7:27 am
Custom COMPUTER certificate templates July 21, 2005, 1:57 pm
Custom NTFS permissions on roaming profiles? April 11, 2006, 7:48 am
CA certificate template custom subject name format January 9, 2007, 1:49 pm
CA certificate template custom subject name format January 16, 2007, 12:11 am
Certificate Enrollment w Firefox and Custom Template February 21, 2007, 8:03 pm
Having a custom warning message to update srvr logs June 8, 2005, 10:34 am
Failure audits for object access on logon scripts and startup scripts, but clients still run them fine. February 27, 2008, 7:40 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap