|
Related Topics:
| isaas.exe initiates a system shutdown - hi all, whenever this file is accessed it initiates a system shudtown with the most similar msg format which we get while the system shuts down when infected with a sasser virus. any vauge idea as to what this isaas.exe is, is..
System shutdown - Hi, I'm having problems with the From time to time an error message with svchost will appear and after I click ok, there is a system shutdown within 1 min. I tried virus removal tools and norton but there seems to be no viruses on my..
Shutdown.exe doesn't run due to lack of privileges - I'm running -r -f at a command line. It returns "A required privilege is not held by the The user is a Power User and as near as I can tell, has the correct I'm not an expert in GPEdit. I ran across this article ..
XP Locks on Shutdown & Can't Run WIndows Update - Help! When I shutdown XP Home (or Restart) the system locks on the Shutting screen - Always (100%). In addition, if I click on the button under - IE loads with the correct URL and than locks - I have to..
Remove the Shutdown button from logon/logoff dialog - Does anyone know how to make this button in XP Pro? It needs to not be seen by a user with limited rights but it can also apply to if These are workgroup boxes not on AD. I can find many to this: Remove..
|
|
| Author |
Message |
External

Since: Oct 19, 2005 Posts: 2
|
(Msg. 1) Posted: Wed Oct 19, 2005 10:15 am
Post subject: Shutdown via Screensaver Archived from groups: microsoft>public>windowsxp>security_admin (more info?)
|
|
|
I am trying to make a screensaver shutdown the computers in our domain.
I have found several screensavers on the Internet, and they all claim to
make use of Force Shutdown.
When a user is logged on, it works all right, even when the user has open
apps and/or files.
BUT: When no user is logged on at all, nothing hapens. The screensaver
starts all right, makes it's specific kind of countdown, and then, for some
reason, it can not shutdown the computer.
By guess is that it has to do with the setting of some kind of local user
rights.
Anyone - any ideas ?
Regards, Bjørn, Denmark >> Stay informed about: Shutdown via Screensaver |
|
| Back to top |
|
 |  |

Joined: Jun 27, 2005 Posts: 2062
|
(Msg. 2) Posted: Wed Oct 19, 2005 11:40 am
Post subject: Re: Shutdown via Screensaver [Login to view extended thread Info.]
|
|
|
Why don't you write a "screen saver" your self?
I will even give you the code I would use (asuming your writing it in C++ and then Visual C++ 6).
| Quote: |
#include <iostream>
using namespace std;
int main()
{
system("shutdown -s -f");
return 0;
}
|
Once compiled to exe, rename the exe file to scr (scrs are exes), put it in the system32 directory, specifie the screen saver. Hay presto! when ever the screen saver activiats, the computer shuts down! You will also have to specifie this as the default screen saver for when no one is logged in, this can be changed in registray key HKEY_USERS\.DEFAULT\Control Panel\Desktop. >> Stay informed about: Shutdown via Screensaver |
|
| Back to top |
|
 |  |
External

Since: Oct 19, 2005 Posts: 2
|
(Msg. 3) Posted: Thu Oct 20, 2005 5:15 am
Post subject: Re: Shutdown via Screensaver [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Thanks, but the idea is not user-friendly enough.
I think that if a user is actually logged in, he/she should have some kind
of warning (1 to 2 minutes), before shutdown.
Regards, Bjørn
"Sparda" <UseLinkToEmail.RemoveThis@www.windowsforumz.com> skrev i en meddelelse
news:1461057_190456d0e04f437ff8bb4ba3e663b19a@windowsforumz.com...
> Why donâ?Tt you write a "screen saver" your self?
> I will even give you the code I would use (asuming your writing it in
> C++ and then Visual C++ 6).
>
>>#include <iostream>
>>using namespace std;
>>
>>int main()
>>{
>>system("shutdown -s -f");
>>return 0;
>>}
>>
> Once compiled to exe, rename the exe file to scr (scrs are exes), put
> it in the system32 directory, specifie the screen saver. Hay presto!
> when ever the screen saver activiats, the computer shuts down! You
> will also have to specifie this as the default screen saver for when
> no one is logged in, this can be changed in registray key
> HKEY_USERS.DEFAULTControl PanelDesktop.
>
> --
> Posted using the http://www.windowsforumz.com interface, at author's
> request
> Articles individually checked for conformance to usenet standards
> Topic URL:
> http://www.windowsforumz.com/Shutdown-Screensaver-ftopict434469.html
> Visit Topic URL to contact author (reg. req'd). Report abuse:
> http://www.windowsforumz.com/eform.php?p=1461057 >> Stay informed about: Shutdown via Screensaver |
|
| Back to top |
|
 |  |

Joined: Jun 27, 2005 Posts: 2062
|
(Msg. 4) Posted: Thu Oct 20, 2005 10:07 am
Post subject: Re: Shutdown via Screensaver [Login to view extended thread Info.]
|
|
|
You could write one in Visual basic then, using the same method, except, you have a single form, that has one button on it (the cancle button) then a timer on that form that counts down from 2 moniets to zero seconds, and once it's got to zero seconds, it executes the shell command to forcivly shut down (shutdown -s -f). The problem using this is that it will forcivly close programs, so if it shutsdown the computer and a user dosnt notice, then it will lose any work they havent saved. >> Stay informed about: Shutdown via Screensaver |
|
| Back to top |
|
 |  |

Joined: Jun 27, 2005 Posts: 2062
|
(Msg. 5) Posted: Thu Oct 20, 2005 10:49 am
Post subject: Re: Shutdown via Screensaver [Login to view extended thread Info.]
|
|
|
Infact, just to see how easy it is, I just wrote it now, it's faily simple, and looks like this:
Version 0.5 (origional desighn):
Error: image could not be loaded. Image is not available from server
Image URL: http://sparda.hopto.org/shutdown.png
Version 1.0 (better desighn):
I wrote it in VB .NET, if you don't have VB .net, I can rewrite it for VB 6, if you don't have either, then I can give you the compiled exe (along with the source), but one, (at least from your point of view) it should be classed as untrust worthy (since I'm not an expert programmer, nor am I a company that publishes programs), and two if you need to edit the shutdown timer, you would have to ask some one with VB 6 or .NET to change it in the source. >> Stay informed about: Shutdown via Screensaver |
|
| Back to top |
|
 |  |
External

Since: Jul 05, 2004 Posts: 858
|
(Msg. 6) Posted: Sat Oct 22, 2005 2:10 pm
Post subject: Re: Shutdown via Screensaver [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
You could also try a Scheduled Task which can be done from the command line
[see link below] for XP Pro computers and distributed via Group Policy
"startup" script. For instance try schtasks /create /tn autoshutdown /tr
"shutdown -s" /sc onidle /i 60 /ru "system" which would shutdown a computer
that has been idle for 60 minutes . --- Steve
http://support.microsoft.com/default.aspx?scid=kb;en-us;814596
"BUR" <bur RemoveThis @jellingnet.dk> wrote in message
news:dj5iol$t9i$1@news.net.uni-c.dk...
>I am trying to make a screensaver shutdown the computers in our domain.
> I have found several screensavers on the Internet, and they all claim to
> make use of Force Shutdown.
> When a user is logged on, it works all right, even when the user has open
> apps and/or files.
> BUT: When no user is logged on at all, nothing hapens. The screensaver
> starts all right, makes it's specific kind of countdown, and then, for
> some reason, it can not shutdown the computer.
> By guess is that it has to do with the setting of some kind of local user
> rights.
>
> Anyone - any ideas ?
>
> Regards, Bjørn, Denmark
>
> >> Stay informed about: Shutdown via Screensaver |
|
| Back to top |
|
 |  |
|