suroit Posted August 17, 2010 Posted August 17, 2010 (edited) This is what is happening: I am running a scheduled script every night at 2:00 am on Windows XP SP3, and it sometimes happens that my PC reboots, for example due to a short power shortage. It then sits with the logon screen that has the users icons, waiting for a user to logon. I may be mistaken, but I was under the impression that this state was similar to the "locked workstation" state, and that it was possible to run a script without logging in. I haven't been able to do it. I have followed the recommendation regarding running scripts on locked workstations (no Send() MouseClick() WinActivate() WinWaitActive() WinActive() etc) Can anyone confirm whether it is possible or not to run scripts prior to logging in as a Windows user? Thanks. Edited August 17, 2010 by suroit
water Posted August 17, 2010 Posted August 17, 2010 (edited) I think this thread ("Run script before windows logon") will help. Edited August 17, 2010 by water My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
suroit Posted August 17, 2010 Author Posted August 17, 2010 I think this thread ("Run script before windows logon") will help.Thanks Water, I don't know how I missed that thread. But I am worried about Fire's proposal in that thread, deemed "very dangerous" without me understanding what the danger really is.
Tyranlol Posted August 19, 2010 Posted August 19, 2010 (edited) Thanks Water, I don't know how I missed that thread. But I am worried about Fire's proposal in that thread, deemed "very dangerous" without me understanding what the danger really is.The danger in this is that this method is typically used by keyloggers & other virusses to log your password and/or do other stuff, for example you could have a file to shutdown your computer even before you could logon and remove it.Computers is only dangerous if you use it in a dangerous way. Edited August 19, 2010 by Tyranlol [u]Only by Attempting the Impossible You Can Earn the Remarkable[/u]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now