![]() ![]() |
Jan 27 2008, 12:51 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Members Posts: 273 Joined: 23-April 07 Member No.: 136800 OS: XP Home
|
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: Nov 16 2008, 09:50 PM |
|
|
|
Jan 27 2008, 02:58 PM
Post
#2
|
|
|
I'm a few hundred PCs Group: Super Moderator Posts: 1172 Joined: 13-October 07 From: Oklahoma Member No.: 158212 OS: Vista Enterprise x86
|
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 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) |
|
|
|
Jan 29 2008, 09:33 AM
Post
#3
|
|
|
Member ![]() ![]() Group: Members Posts: 273 Joined: 23-April 07 Member No.: 136800 OS: XP Home
|
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. |
|
|
|
Jan 29 2008, 12:34 PM
Post
#4
|
|
|
Newbie Group: Members Posts: 19 Joined: 28-November 07 Member No.: 164265 OS: none
|
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. ![]() ![]() 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. |
|
|
|
Feb 16 2008, 08:33 AM
Post
#5
|
|
|
Member ![]() ![]() Group: Members Posts: 273 Joined: 23-April 07 Member No.: 136800 OS: XP Home
|
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: Apr 4 2008, 12:25 AM |
|
|
|
Mar 7 2008, 01:28 AM
Post
#6
|
|
|
Will's Blog ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 953 Joined: 7-June 02 From: U.S.A Member No.: 1403 OS: Vista Ultimate x86
|
Excellent thanks!!
This post has been edited by war59312: Mar 7 2008, 01:30 AM |
|
|
|
Mar 16 2008, 06:19 PM
Post
#7
|
|
|
Group: Members Posts: 6 Joined: 2-January 04 From: Oxfordshire Member No.: 11855 OS: Vista Ultimate x64
|
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. ![]() 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? |
|
|
|
Mar 16 2008, 07:47 PM
Post
#8
|
|
|
Member ![]() ![]() Group: Members Posts: 273 Joined: 23-April 07 Member No.: 136800 OS: XP Home
|
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) |
|
|
|
Mar 17 2008, 05:10 PM
Post
#9
|
|
|
Group: Members Posts: 6 Joined: 2-January 04 From: Oxfordshire Member No.: 11855 OS: Vista Ultimate x64
|
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: Mar 17 2008, 05:16 PM |
|
|
|
Mar 17 2008, 06:29 PM
Post
#10
|
|
|
Member ![]() ![]() Group: Members Posts: 273 Joined: 23-April 07 Member No.: 136800 OS: XP Home
|
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. |
|
|
|
Mar 17 2008, 07:14 PM
Post
#11
|
|
|
Registry Specialist, Tweaker... ![]() ![]() ![]() Group: Members Posts: 487 Joined: 5-March 05 From: Hbg/Krn Member No.: 46454 OS: XP Pro x86
|
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).
|
|
|
|
Mar 18 2008, 02:42 AM
Post
#12
|
|
|
Group: Members Posts: 6 Joined: 2-January 04 From: Oxfordshire Member No.: 11855 OS: Vista Ultimate x64
|
'Black Screen' as the action doesn't produce the error. Sorry for the confusion, Glenn.
This post has been edited by aceuk: Mar 18 2008, 02:42 AM |
|
|
|
Mar 19 2008, 12:51 AM
Post
#13
|
|
|
Member ![]() ![]() Group: Members Posts: 273 Joined: 23-April 07 Member No.: 136800 OS: XP Home
|
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) '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. |
|
|
|
Mar 19 2008, 07:02 AM
Post
#14
|
|
|
Registry Specialist, Tweaker... ![]() ![]() ![]() Group: Members Posts: 487 Joined: 5-March 05 From: Hbg/Krn Member No.: 46454 OS: XP Pro x86
|
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. |
|
|
|
Mar 20 2008, 01:15 AM
Post
#15
|
|
|
Member ![]() ![]() Group: Members Posts: 273 Joined: 23-April 07 Member No.: 136800 OS: XP Home
|
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... |
|
|
|
Mar 20 2008, 06:34 PM
Post
#16
|
|
|
Group: Members Posts: 6 Joined: 2-January 04 From: Oxfordshire Member No.: 11855 OS: Vista Ultimate x64
|
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?
|
|
|
|
Mar 22 2008, 08:29 PM
Post
#17
|
|
|
Member ![]() ![]() Group: Members Posts: 273 Joined: 23-April 07 Member No.: 136800 OS: XP Home
|
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: Mar 22 2008, 08:29 PM |
|
|
|
|
|