Tech Support > Microsoft Windows > Development Resources > Windows Login script/command
Windows Login script/command
Posted by CRono.Twph on August 3rd, 2004


hi to everyone, I try to create a process that check a condition (if a
file exist and contain a valid string) and so it can logout/login a
user.
I'm able to logout a user, but I can't login it, is there any command,
such "C:\WINDOWS\System32\rundll32.exe user32.dll,LockWorkStation" (I
use that to logout user) that permit to force a login?

Posted by Sten Westerback on August 4th, 2004



"CRono.Twph" <crono8502@virgilio.it> wrote in message
news:86abf328.0408030116.1bbe7ede@posting.google.c om...
cause the dialog to be cancelled...
Also, you need to run you app as a service that integrate to GINA
as the logon screen is on a different desktop.
But if you wan't a noninteractive logon then you have LogonUser()
if you know the password...

- Sten





Similar Posts