My goal is logout current session, then delete the running local user profile. And I have a service to delete the profile already.
My problem is, the user has no idea about the background service and who may power off the machine or login again too soon.
The idea is that the service will show some popup, and it will not display "Welcome to Windows" until background job finish.
I have read some tricks to run GUI application without login, but I cannot find how to it.
How can it be done on Windows XP and Vista?
Another idea came from my boss is that "Shutdown and install windows update", but execute our apps rather then patch installer. How to install my application hooks at that point?