#114620 - 2004-02-23 06:31 PM
Wake Screen Saver
|
sliver
Getting the hang of it
Registered: 2002-09-05
Posts: 94
|
Trying to use send keys like so:
$nul=SendKeys("m") or SendKeys("{ENTER}")
to wake a remote machine from it's screen saver....but it does not seem to work (using psexec to run the command on the remote machine...psexec reports kix file as started and successful). Is there another way to wake a pc using kix or any utility...should'nt this work??
|
|
Top
|
|
|
|
#114622 - 2004-02-23 08:44 PM
Re: Wake Screen Saver
|
sliver
Getting the hang of it
Registered: 2002-09-05
Posts: 94
|
I need this because pre sp4 sms clients will not install when the package is set to "only when user is logged on" and a screen saver is on. It works fine once you get the screen saver off but for some reason sms detects a screen saver being on as a the user is logged off....thus we want to run a little pre job to wake any machines who have the screen saver on (using psexec).
|
|
Top
|
|
|
|
#114624 - 2004-02-23 09:03 PM
Re: Wake Screen Saver
|
sliver
Getting the hang of it
Registered: 2002-09-05
Posts: 94
|
It runs through loginscript as well but for people that are already logged on and away from their desks for the weekend....and whose screensaver has kicked in they should be getting the package through SMS...but are not because of the screen saver thing. Thats why we wanted to run this first for everyone who was still on the network and not going to logon in the morning and then kick off the package on their pc's.
|
|
Top
|
|
|
|
#114627 - 2004-02-23 09:45 PM
Re: Wake Screen Saver
|
sliver
Getting the hang of it
Registered: 2002-09-05
Posts: 94
|
Why don't you run it as a scheduled task as a silent install?
Can you run a scheduled task as the user who is logged in (and set this up remotely)??? These apps needs to install under the users context because of HKCU settings and not the admin or system context. I have not found a way to do this using jt.exe or At. If you know a way to run a scheduled task as the user (remotely) please post because this would be very useful for me.
|
|
Top
|
|
|
|
#114629 - 2004-02-23 10:23 PM
Re: Wake Screen Saver
|
sliver
Getting the hang of it
Registered: 2002-09-05
Posts: 94
|
but how to add the users password to the scheduled job??? or would you not need that if you grab his sid?
|
|
Top
|
|
|
|
#114635 - 2004-02-24 03:58 PM
Re: Wake Screen Saver
|
sliver
Getting the hang of it
Registered: 2002-09-05
Posts: 94
|
Maybe I should pose this question then.....is there a way to run an executable remotely in the users account context????
|
|
Top
|
|
|
|
#114637 - 2004-02-24 05:04 PM
Re: Wake Screen Saver
|
sliver
Getting the hang of it
Registered: 2002-09-05
Posts: 94
|
Good idea but I know in the past they do not let us do logoff\shitdown events because too many users left important data unsaved on their desktops and lost it because of the logoff.
|
|
Top
|
|
|
|
#114638 - 2004-02-24 06:10 PM
Re: Wake Screen Saver
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
they don't let us do shitdown events either
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 657 anonymous users online.
|
|
|