it will bring up an extra control panel for autologins. You can disable needing a password to login (it sounds like your script just entered the information).
This is seperate from needing a password to resume from suspend/hibernate. That option is located under power options. Click the 'advanced settings' and then 'change settings that are unaccesable' (or something like that...not on my win7 machine at the moment). It will have an option for 'require password on resume', which you can disable.
Hope that info help,
I have developed an application with C++ which will send,
"Ctrl+ ALt + delete" and then user name and password and then enter if machine is in locked or log off status and my exe got schedule.
Can anybody help me that how can I do this for windows 7?