Jump to content
Sign in to follow this  
suroit

Running a script prior to Windows user logon ?

Recommended Posts

suroit

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 by suroit

Share this post


Link to post
Share on other sites
water

I think this thread ("Run script before windows logon") will help.

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
suroit

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.

Share this post


Link to post
Share on other sites
Tyranlol

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 by Tyranlol

[u]Only by Attempting the Impossible You Can Earn the Remarkable[/u]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×