PDA

View Full Version : Running program just after login and before the desktop loads


Sanjeev Sharma
July 4th 07, 12:56 PM
I need to get my program to run just after the log in and
when the desktop is shown first. In my case, the timing is important. The
program should load just after the log in screen unloads (when only the
wallpaper is visible) and before the desktop fully loads in XP. Tried using
service but my program also needs to
run under the current user rather than under "SYSTEM". Placing my program
under startup folder or defining a key for it in "HKLM\Windows\...Run" also
didn't work 'cause it loads my program too late. Could 'wlnotify.dll' have
been used?

Newbie Coder
July 4th 07, 01:08 PM
Sanjeev,

Rock will start throwing his toys out the pram as you re-posted this from around
10 days ago

If you put it in the 'WinLogon\Notify' key
(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon\Notify) then the adware, spyware... programs will
pick your program up as suspicious

Running as a service wastes computer resources

I wrote you some code before, which you said would work but run the application
too late

Win.ini is an alternative location maybe

--
Newbie Coder
(It's just a name)

"Sanjeev Sharma" > wrote in message
...
> I need to get my program to run just after the log in and
> when the desktop is shown first. In my case, the timing is important. The
> program should load just after the log in screen unloads (when only the
> wallpaper is visible) and before the desktop fully loads in XP. Tried using
> service but my program also needs to
> run under the current user rather than under "SYSTEM". Placing my program
> under startup folder or defining a key for it in "HKLM\Windows\...Run" also
> didn't work 'cause it loads my program too late. Could 'wlnotify.dll' have
> been used?

Google