Execution Before logonui

M

mwieder

Guest
Hi - I wrote a VB exe that updates the number of unread mail messages dsiplayed on the logon screen by contacting the server and updating the unreadmail in the registry. I then changed the registry so it runs my program before it runs the logonui.exe so that the new values should be displayed, but alas, they are not. After I login as a user, I can see that the values have indeed been updated in the registry, and in fact, if I hit windows-L to get back to the logon screen, those new values display, but for some reason they are not displaying on initial logon. As far as I can tell, there could be one of two things happening here 1) the system is calling my script in parallel with loading the logonui.exe so my script has not yet updated the values when the logon screen comes up. 2) the values for the unread mail count for initial logon are stored in some place other then the unredmail keys in the registry. I think the second one is less likely. How can I fix this problem? Can I force Windows to wait for ending executing the first script before it calls logonui.exe or is there something else wrong here that I'm missing?
thanks so much!!
 

Qumahlin

OSNN Veteran Addict
Joined
6 Dec 2001
Messages
2,006
Where are you calling your script up? cause i'm pretty sure windows places it's files in priority during load unless you load the script in dos...but if ya load the script in dos it clearly won't be able to load...so it's most likely that logonui is loading first and your script is changing the reg values after load which as you state won't show up till after you load logonui again..sorry man not sure if ya can load your script first =/
 
M

mwieder

Guest
in the registry: HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\Cu
rrentVersion\Winlogon\Userinit

I was under the impression, the order one entered the programs here, the order they were executed. Furthermore, it seems like there is clearly some delay before the logon screen is displayed, presumably because it is then running my code. Anyone that has any expertise in this area would be very helpful here.
thanks!
 

Members online

No members online now.

Latest profile posts

Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?

Forum statistics

Threads
62,005
Messages
673,461
Members
5,599
Latest member
Larry Chris