Execute Code Before Logon Screen

M

mwieder

Guest
Hi - does anyone know how to have some code executed before the logon screen appears (or even while the logon screen is up)?
thanks!
 
M

mwieder

Guest
Thanks for the excellent response - a few clarifications:
1) I cannot just add a new .exe to be run before the USERINIT in the registry string?
2) As I am a novice at Windows programming, could you check I understand what you wrote correctly:
I) I should change the registry key to refelct my .exe instead of the USERINIT
II) my .exe can just be a regular .exe that would run under Windows but it must end with by executing %WinDir%\Userinit.exe.
I will be writing my .exe in VB, so if I misunderstood you can correct me with the propoer VB calls to make. Also, I didn't totally follow why the difference between the two explorer modes is important - does it limit me in the calls I can make or require me to make certain calls?

thanks for all your help!!

:D
 
M

mwieder

Guest
Thanks again!
IN my VB code, will I have any difficult making calls to the winsock control or editing the windows registry since this is going to be executed before a user has logged in?
thanks for your time!
:D
 
M

mwieder

Guest
Looks good, but one small problem - I'm using home and it doesn't come with gpedit.msc - how do I do ensure network is up without using gpedit?
thanks! :)
 
M

mwieder

Guest
Hi - unfortunately, gpedit doesn't work in XP Home - I copied it there and from the run command it gives a "file not found" (even though it's in the system32 directory) When I click on it to launch it gives a 'sanp in failure.' Any word on where in the registry I can find the correct value to modify?
thanks!
 
M

mwieder

Guest
Could you run the sysinternals software and use gpedit to change the setting and find out what it changes? those tools aren't helpful to me since I can't run gpedit so I can't trace what is being changed.
thanks!
 

Members online

No members online now.

Latest forum posts

Latest profile posts

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?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,997
Messages
673,407
Members
5,586
Latest member
PseudoKiller