MSFN Forum: Timed Shutdown Screen Saver - MSFN Forum

Jump to content


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Timed Shutdown Screen Saver Beta 1 Release Rate Topic: -----

#1 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 27 January 2008 - 12:51 PM

I posted this here because this seemed the best place (not sure of any better)...anyhow, is there any interest in a screen saver that runs another screen saver for a set time and then shuts down the computer (like if someone walks away from it a while)? I about have it finished for my sake, just was wondering if there was any interest in something like this for posting it here.

This post has been edited by Glenn9999: 16 November 2008 - 09:50 PM



#2 User is offline   PC_LOAD_LETTER 

  • Well, I stole something else
  • Group: Super Moderator
  • Posts: 1,829
  • Joined: 13-October 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 January 2008 - 02:58 PM

this is kinda what im looking for but not exactly. i have 2 PCs on my desk -my new vista machine connected to my monitor via DVI and my old XP machine that has had issues recently with the screensaver not starting.
the problem comes in when Vista activates the screensaver, 15 minutes goes by and powers off the screen. The monitor detects no input on DVI and switches to VGA where it proceeds to attempt to burn the XP desktop into my 24" LCD monitor :} (please no one tell me LCD burn-in doesn't occur -I have a 19" LCD in my office with a sunflower desktop wallpaper permanently burnt into it that begs to differ) besides the terror of seeing a ghost XP desktop for the rest of this monitors life, i have to access the menu on the monitor to switch it back to DVI when i return to my desk.

If this program could be modified to start the blank screen screensaver after the interval specified, that would prevent the monitor from switching and let me use a screensaver on this machine again (im using 'blank screen' with a modified power profile at the moment)

#3 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 29 January 2008 - 09:33 AM

View Postgeek, on Jan 27 2008, 02:58 PM, said:

If this program could be modified to start the blank screen screensaver after the interval specified, that would prevent the monitor from switching and let me use a screensaver on this machine again (im using 'blank screen' with a modified power profile at the moment)


After I posted this, I had the thought to set an option in it as to what to do (Standby, Hibernate, Log off, maybe even start the blank screen saver like you suggest - in addition to shutting down the computer). It should be easy enough to do once I get the chance to sit down and finish it up.

I'll just go ahead and post it to this thread when I get it to the point I'm happy with it.

#4 User is offline   perlabsrat 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 28-November 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 January 2008 - 12:34 PM

View PostGlenn9999, on Jan 27 2008, 01:51 PM, said:

I posted this here because this seemed the best place (not sure of any better)...anyhow, is there any interest in a screen saver that runs another screen saver for a set time and then shuts down the computer (like if someone walks away from it a while)? I about have it finished for my sake, just was wondering if there was any interest in something like this for posting it here.

Posted ImagePosted Image



My kids are constantly walking away from the computer and leaving it on all day long. This would be a great thing for me. If there is a link to download it from I would like to give it a try.

Thanks.

#5 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 16 February 2008 - 08:33 AM

Here's a 1st release. I haven't run into issues myself, but by all means let me know how things go if you try it, either way.

copy it into the Windows\System32 directory (if XP) or Windows\System (if 98/ME) to install.

This post has been edited by Glenn9999: 04 April 2008 - 12:25 AM


#6 User is offline   war59312 

  • Will's Blog
  • PipPipPipPipPip
  • Group: Members
  • Posts: 932
  • Joined: 07-June 02

Posted 07 March 2008 - 01:28 AM

Excellent thanks!!

This post has been edited by war59312: 07 March 2008 - 01:30 AM


#7 User is offline   aceuk 

  • Group: Members
  • Posts: 6
  • Joined: 02-January 04

Posted 16 March 2008 - 06:19 PM

Hi Glenn. Great idea for a screensaver. I just have one small problem with it though. :)

When I use the screensaver at the logon screen i.e. when there isn't anyone logged onto the computer, I get the error shown below.

Posted Image

These are the settings I use in the registry.

Quote

Windows Registry Editor Version 5.00

[HKEY_USERS\.DEFAULT\Software\SShut]
"SSaveName"="logon.scr"
"Sh_Timeout"=dword:0000000a
"Sh_Action"=dword:00000001

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"ScreenSaveTimeOut"="60"
"ScreenSaveActive"="1"
"SCRNSAVE.EXE"="C:\\Windows\\System32\\ssshut.scr"

What do you think would cause this problem?

#8 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 16 March 2008 - 07:47 PM

View Postaceuk, on Mar 16 2008, 07:19 PM, said:

What do you think would cause this problem?


It would seem when no one is logged in (i.e. as a default screen saver), there is no assigned right for a running program to shut down the system. To shut down a system via software, you have to have the assigned rights as a user to be able to do it. The program assigns those rights before it shuts down. But since there is no user right to assign (i.e. no user to assign those rights to), you see the message you are seeing. See the Microsoft Page on this error for more details.

Does it work without problem if you were to set the action to black screen (just to clarify that I'm on the right track)?

(I'll look into fixing this for the next revision)

#9 User is offline   aceuk 

  • Group: Members
  • Posts: 6
  • Joined: 02-January 04

Posted 17 March 2008 - 05:10 PM

I've just tried it with the blank screen screensaver (scrnsave.scr) but unfortunately I still get the same error message.

Thanks for looking into this for me. I really appreciate it. :)

This post has been edited by aceuk: 17 March 2008 - 05:16 PM


#10 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 17 March 2008 - 06:29 PM

View Postaceuk, on Mar 17 2008, 06:10 PM, said:

I've just tried it with the blank screen screensaver (scrnsave.scr) but unfortunately I still get the same error message.


What I was asking was whether it worked for not if you set the "action" in the configuration to "Black Screen" instead of "Shutdown"...

Hopefully I can look into this and a couple of other things very soon.

#11 User is offline   DL. 

  • Tweaker or whatever I happen to be focused on at the moment..
  • PipPipPip
  • Group: Members
  • Posts: 489
  • Joined: 05-March 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 March 2008 - 07:14 PM

This could be somewhat useful. But I would like it to have an option to make the monitor go to standby rather than using a screensaver (the screen is still fully powered on with a screensaver).

#12 User is offline   aceuk 

  • Group: Members
  • Posts: 6
  • Joined: 02-January 04

Posted 18 March 2008 - 02:42 AM

'Black Screen' as the action doesn't produce the error. Sorry for the confusion, Glenn.

This post has been edited by aceuk: 18 March 2008 - 02:42 AM


#13 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 19 March 2008 - 12:51 AM

View PostDL., on Mar 17 2008, 08:14 PM, said:

This could be somewhat useful. But I would like it to have an option to make the monitor go to standby rather than using a screensaver (the screen is still fully powered on with a screensaver).


I'm not sure I understand. The idea is more for to do something with the system so the power requirements will be eliminated/reduced if it is left for a certain period of time unattended. I know many people/places where the computer tends to be left on - the screen saver is an ideal enough solution to do whatever it is. I started out with shutdown, and moved to all the other options.

As far as sending the monitor to standby, is that functionality already not in the Power Options? However, this program will send the whole system to standby in the time period if you were to set it. If there is a concern of the screen saver even running, I guess you could always set it to one minute - you would mainly see the countdown screen that aceuk posted.

(and yes I know the Black Screen option does not turn the monitor off, but as you saw in this thread, it was a requested feature)

View Postaceuk, on Mar 18 2008, 02:42 AM, said:

'Black Screen' as the action doesn't produce the error. Sorry for the confusion, Glenn.


Not a problem, thank you for checking into it. That confirmed the problem for me.

#14 User is offline   DL. 

  • Tweaker or whatever I happen to be focused on at the moment..
  • PipPipPip
  • Group: Members
  • Posts: 489
  • Joined: 05-March 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 March 2008 - 07:02 AM

Putting the monitor in standby is already in the power options yes, but that wasn't what I meant.

What I meant was the option of using standby rather than a screensaver as the first step (Set screensaver to run: Standby), then after the set time the system would perform the action selected by the user.

#15 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 20 March 2008 - 01:15 AM

View Postaceuk, on Mar 17 2008, 06:10 PM, said:

I've just tried it with the blank screen screensaver (scrnsave.scr) but unfortunately I still get the same error message.

Thanks for looking into this for me. I really appreciate it. :)


It seems to me, unless I'm missing something (and I've been known to do that from time to time), that the screen saver would not be possible under WinLogon. The necessary permissions are not in the main super-user account (the NT kernel's version of Root in Linux - SYSTEM), which runs when the system is booted up. It seems I can't find a way to add those permissions, either (programmatically or through registry). The program could probably (again my guess) impersonate a logged on user to do it through the shutdown app, but it would need to prompt for a user account and (if necessary) password for that to happen - not sure that's too wise from a security standpoint.

I can understand the limitations, though, since it is the super-user account and would effectively bypass all authorizations and security if were possible to add privileges (the malware author's dream). But the odd thing about it is this: NT doesn't stop you from setting SCRNSAVE.EXE in this case to whatever you would like that would run. Perhaps the most ludicrous and silly/stupid thing you could do is set it to EXPLORER.EXE and get a fully working login session (with limits of course, most notable being the only thing you could do is "switch user". You can't log off, shutdown, restart the system, etc, etc. - it's effectively an account with no privileges beyond exactly what's required to run MSGINA).

Interesting stuff, anyhow...

#16 User is offline   aceuk 

  • Group: Members
  • Posts: 6
  • Joined: 02-January 04

Posted 20 March 2008 - 06:34 PM

Would it perhaps be possible to interact with a program such as PowerOff (which can run as a service) in order to provide the ability to shutdown/reboot etc. when no one is logged on to the computer?

#17 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 22 March 2008 - 08:29 PM

View Postaceuk, on Mar 20 2008, 07:34 PM, said:

Would it perhaps be possible to interact with a program such as PowerOff (which can run as a service) in order to provide the ability to shutdown/reboot etc. when no one is logged on to the computer?


No. the limitations I mentioned apply to all programs run under SYSTEM and not just the screen saver. I can especially confirm it by looking at the source and seeing that this program requires the same access permissions as mine does to perform a shutdown.

This post has been edited by Glenn9999: 22 March 2008 - 08:29 PM


#18 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 22 March 2008 - 08:32 PM

View PostDL., on Mar 19 2008, 07:02 AM, said:

What I meant was the option of using standby rather than a screensaver as the first step (Set screensaver to run: Standby), then after the set time the system would perform the action selected by the user.


I see what you mean, and I could do this. In fact, I already made a screensaver which has this function (turn off the monitor). Integrating it into the main app hopefully won't be too hard.

#19 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 04 April 2008 - 12:33 AM

Here's a new revision of this screen saver...

Changes:
0.2: Fixed defaults for screen saver name for Windows ME - maybe other 9X systems?
0.2: Wrote check so screen saver will not run & warn of problems if someone tries to run it as a logon screen saver. Windows, as far as I'm aware from my testing, does not allow the application permissions necessary to do any of the configured actions beyond "log off" and "black screen". This makes it effectively useless in function under Win Logon.
0.2: Added option to turn off the monitor as a screen saver action.

This post has been edited by Glenn9999: 30 September 2008 - 06:18 PM


#20 User is offline   dvdsanz 

  • Group: Members
  • Posts: 1
  • Joined: 30-September 08

Posted 30 September 2008 - 10:44 AM

Hwat?hwyicannotdownload?

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy