473,466 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Windows XP Shutdown timer

markmcgookin
648 Recognized Expert Contributor
Hi folks,

Another strange request from me, does anyone have/have used a program to shutdown Windows XP on a timer? I have tried about four now (sorry I don't have names, I deleted them in a rage, most likely the 1st few off google search for shutdown timer) and none of them have worked.

I like to watch films etc on my PC from my bed, but have been known to fall asleep while watching them, and I just wondered if anyone had any software that they have used and is reliable. All the ones I have tried just hit their countdown limit and do nothing.

Cheers!
Feb 10 '07 #1
14 56629
bartonc
6,596 Recognized Expert Expert
Probably should be in the Windows Forum... but
what's wrong with Display Properties | Screen Saver tab | Power button | Power Schemes tab? Set the System Standby time to just longer that your movie.
Feb 10 '07 #2
bartonc
6,596 Recognized Expert Expert
download <censored> or <censored> patch via internet and install the patch
So what do worms have to do with shutdown timers?
Feb 13 '07 #3
ghostdog74
511 Recognized Expert Contributor
So what do worms have to do with shutdown timers?
these worms uses some shutdown mechanism..i believe its just the shutdown command. I also believe its just a joke on that part. :)
Feb 13 '07 #4
ghostdog74
511 Recognized Expert Contributor
Hi folks,

Another strange request from me, does anyone have/have used a program to shutdown Windows XP on a timer? I have tried about four now (sorry I don't have names, I deleted them in a rage, most likely the 1st few off google search for shutdown timer) and none of them have worked.

I like to watch films etc on my PC from my bed, but have been known to fall asleep while watching them, and I just wondered if anyone had any software that they have used and is reliable. All the ones I have tried just hit their countdown limit and do nothing.

Cheers!
can you use theshutdown command
Feb 13 '07 #5
markmcgookin
648 Recognized Expert Contributor
Well when I watch videos etc the screen saver is set not to come on as it doesn't feel the computer is idle if there is a full screen app running.
Feb 13 '07 #6
latitude
50 New Member
Just type shutdown /? in a command prompt for options.

Example: shutdown -s -t 7200 -c "shutting down in 120 mins, please type 'shutdown -a' in a command prompt to cancel" -f

That will shut down the comp in 120 minutes and force programs to close. You can also make a shortcut to the command prompt and have them on the desktop...
Feb 13 '07 #7
Cyberdyne
627 Recognized Expert Contributor
Latitude KUDOS on your response! good job!

Cyber

Windows/Network MOD
Feb 14 '07 #8
Banfa
9,065 Recognized Expert Moderator Expert
Alternatively get a high definition PTZ camera, fix it on top of your computer so that it can scan you bed, specifically you head and eyes.

Write some software that continuously scans images of your eyes (obviously tracking your head so that your eyes stay in shot) and forms image analysis to detect your eyes being shut. Then if your eyes are shut for more than 10 minutes have it shut down the computer.



Seriously I am reasonably sure that I can write some software that would do this if the shutdown command doesn't fit the bill or you could use a scheduled task in conjunction with shutdown.
Feb 14 '07 #9
markmcgookin
648 Recognized Expert Contributor
Alternatively get a high definition PTZ camera, fix it on top of your computer so that it can scan you bed, specifically you head and eyes.

Write some software that continuously scans images of your eyes (obviously tracking your head so that your eyes stay in shot) and forms image analysis to detect your eyes being shut. Then if your eyes are shut for more than 10 minutes have it shut down the computer.
Hahaha, the shutdown command is one option (thanks very much by the way! Excellent post!) but I think I like this one more..... The Bidding Begins lol
Feb 15 '07 #10
d3vkit
35 New Member
As far the dos shutdown command, if you are making a batch file (.bat) to automate this, don't name it shutdown.bat. It will repeat the command in a prompt and never execute. Instead something like 'powerdown.bat', with the code from above, will work fine.
Feb 16 '07 #11
somurao80
1 New Member
Hi folks,

Another strange request from me, does anyone have/have used a program to shutdown Windows XP on a timer? I have tried about four now (sorry I don't have names, I deleted them in a rage, most likely the 1st few off google search for shutdown timer) and none of them have worked.

I like to watch films etc on my PC from my bed, but have been known to fall asleep while watching them, and I just wondered if anyone had any software that they have used and is reliable. All the ones I have tried just hit their countdown limit and do nothing.

Cheers!
Hi you can use in windows only that the command is -go command prompt (tsshutdn wait timer /powerdown)
Jul 24 '07 #12
raywood
1 New Member
I have written a batch file that combines options for shutdown and for maintenance requests that may involve shutting down (System File Checker and CHKDSK /F and /R). It's at this location:

http://raywoodcockslatest.blogspot.c...nance-and.html
Jul 29 '07 #13
bartonc
6,596 Recognized Expert Expert
I have written a batch file that combines options for shutdown and for maintenance requests that may involve shutting down (System File Checker and CHKDSK /F and /R). It's at this location:

http://raywoodcockslatest.blogspot.c...nance-and.html
Thanks, Ray. I've checked the link and approve it as non-commercial and useful.
Jul 29 '07 #14
Ray, great work. More than three years after you posted your timer code, I found it and it worked first time. I like the other utils built in too. Many thanks.
Nov 1 '10 #15

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Senthil | last post by:
Hi, I would like to know the code for reboot and shutdown windows xp professional using VB.Net. thanx Senthil
8
by: Les Desser | last post by:
Is there any way to detect within A97 when Windows is trying to shut down, so I can close down the application gracefully? We currently have a trap in the main menu asking the user to confirm if...
8
by: Bill Sonia | last post by:
I've written a Windows Service to send e-mails on events like OnStart, OnStop, OnShutDown using System.Web.Mail. It works for everything but OnShutdown. My guess is that for OnShutDown, once my...
4
by: Chris Tanger | last post by:
Context: C# System.Net.Sockets Socket created with constructor prarmeters Internetwork, Stream and TCP everything else is left at the default parameters and options except linger may be changed...
6
by: carbon_dragon | last post by:
Ok, so here is the problem. I'm working on a headless server program implemented as a .NET C# Console project. There is a UPS mounted to this server (though not a windows compliant UPS). I can only...
2
by: Brian Worth | last post by:
I have just upgraded from VB 4.0 to VB .NET 2002. One program under VB 4.0 was able to shut down or restart the (windows XP) machine using a series of API calls. (Getlasterror, GetCurrentProcess,...
6
by: sergio.calleja | last post by:
Hi Everybody, i need to restart a windows service made with c# when an fixed event is raised. So to test it, I've added a servicecontroller to my service, and in the creation method, i've created...
4
by: jez123456 | last post by:
Hi Experts I've written a c# windows service which runs another program at certain intervals. The other program may take upto 20 minutes to complete it's tasks. My question is what happens to...
10
by: tshad | last post by:
I have a Windows Service that I need to put to sleep for about 10-20 minutes. The problem is that if you try to shut it down during this time, it will tell you that the service didn't respond in...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.