WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: juergenk on December 04, 2013, 11:28:53 PM

Title: disable windows screensaver by winbatchtool
Post by: juergenk on December 04, 2013, 11:28:53 PM
hello,

i will disable the windows screensaver with an winbatch tool. Because my tool start if TimeWait (datetime).
The screensaver is with password saved but the passwort is known for the tool.
How can i disable the screensaver at windows to start the tool ?

if the tool ready i start the screensaver with shell %windir%\system32\rundll32.exe user32.dll,LockWorkStation

thanks for helping
juergen
Title: Re: disable windows screensaver by winbatchtool
Post by: Deana on December 05, 2013, 08:27:51 AM
Sorry I am not aware of any way to programmatically enter a password on a workstation with the desktop locked by a password protected screen saver. WinBatch Sendkey functions do not work when a workstation is locked.
Title: Re: disable windows screensaver by winbatchtool
Post by: snowsnowsnow on December 08, 2013, 02:51:45 AM
(Not any more...)

What version of Windows is the OP using?
Title: Re: disable windows screensaver by winbatchtool
Post by: Deana on December 09, 2013, 09:44:49 AM
Quote from: snowsnowsnow on December 08, 2013, 02:51:45 AM
(Not any more...)

What version of Windows is the OP using?

The OP didn't specify. However based on previous posts from this user, I assumed Windows 7.
Title: Re: disable windows screensaver by winbatchtool
Post by: snowsnowsnow on December 09, 2013, 12:46:51 PM
Then you're probably right - in both senses...
Title: Re: disable windows screensaver by winbatchtool
Post by: juergenk on December 11, 2013, 02:23:51 AM
If there are no chance unlook the machine by script. Kill process look machine or anything ?
I use win7 system.

Thanks for helping.

juergen
Title: Re: disable windows screensaver by winbatchtool
Post by: Deana on December 11, 2013, 09:09:47 AM
Quote from: juergenk on December 11, 2013, 02:23:51 AM
If there are no chance unlook the machine by script. Kill process look machine or anything ?
I use win7 system.

Thanks for helping.

juergen

Sorry I do not understand the question. Could you rephrase?
Title: Re: disable windows screensaver by winbatchtool
Post by: DirkM on January 03, 2014, 12:09:30 PM
I think he wants to do something like killing "screensaver.exe" to get to the desktop.

Another option might be to run the Winbatch tool via task scheduler on its own desktop instead of running it as the logged on user (who's screen is lock by the screen saver).