It has to be possible to write your own logonui.exe (XP Welcome Screen) for Windows XP, but the question is how? I've determined that when you go to log off or switch user, XP calls the executable with the /status parameter (I did this by writing my own that shows a message box of the command line parameters). If the application exits prematurely, Windows calls it again and continues to do so with the same switch.. If you close it too fast too many times, it will just show the classic login screen (probably because it thinks theres an error causing logonui.exe to crash). So... I tried to invoke the login screen by using a normal logonui.exe and using the /status parameter.. but nothing happens. I think logonui.exe has to run as SYSTEM instead of the currently logged in user and thats why its exiting.. How would I run it as SYSTEM? "runas /user:SYSTEM "logonui.exe /status"" asks for a password for SYSTEM.. Is there anything that lets me see more under the hood of what applications (logonui.exe) are doing (writing files, passing parameters, whats being passed to them, etc)? This would give me a big start on this..
The advantages of being able to write your own logonui.exe would be tremendous. As XP has been out for some time now, I think it's about time someone cracked this.. I couldn't find any information on Google though..
Edit: I would post in the boot and login screens forum, but it's not very active and I figured I'd get better responses here (programmers tend to know how stuff works internally better.. or how to figure out how it works)...
Question
todd
It has to be possible to write your own logonui.exe (XP Welcome Screen) for Windows XP, but the question is how? I've determined that when you go to log off or switch user, XP calls the executable with the /status parameter (I did this by writing my own that shows a message box of the command line parameters). If the application exits prematurely, Windows calls it again and continues to do so with the same switch.. If you close it too fast too many times, it will just show the classic login screen (probably because it thinks theres an error causing logonui.exe to crash). So... I tried to invoke the login screen by using a normal logonui.exe and using the /status parameter.. but nothing happens. I think logonui.exe has to run as SYSTEM instead of the currently logged in user and thats why its exiting.. How would I run it as SYSTEM? "runas /user:SYSTEM "logonui.exe /status"" asks for a password for SYSTEM.. Is there anything that lets me see more under the hood of what applications (logonui.exe) are doing (writing files, passing parameters, whats being passed to them, etc)? This would give me a big start on this..
The advantages of being able to write your own logonui.exe would be tremendous. As XP has been out for some time now, I think it's about time someone cracked this.. I couldn't find any information on Google though..
Edit: I would post in the boot and login screens forum, but it's not very active and I figured I'd get better responses here (programmers tend to know how stuff works internally better.. or how to figure out how it works)...
Link to comment
Share on other sites
7 answers to this question
Recommended Posts