Terminate Windows Vista Shut Down
Page 1 of 1
UserFriendly7
Moderator



Posts: 1471
Location: England
PostPosted: Wed, 23rd Jan 2008 18:40    Post subject: Terminate Windows Vista Shut Down
Is there any command / combination of keys that can abort the shut down process.

(I usually foolishly hit shut down and then remember what I was going to do then have to wait for it to reboot doh!) Smile


 Spoiler:
 
Back to top
BaRRoS




Posts: 23

PostPosted: Thu, 24th Jan 2008 19:39    Post subject:
shutdown -a
Back to top
$en$i
VIP Member



Posts: 3127

PostPosted: Thu, 24th Jan 2008 21:02    Post subject:
BaRRoS wrote:
shutdown -a
I quoted that yesterday but after trying it didn't work. It works only when there is some countdown while there is an info or not on why it is shutting down etc.

e.g. it will work after the command below but not during a normal shutdown, for the latter if you try to abort that way shutdown.exe will simply crashes under xp and vista.

shutdown -r -t 10 -c "rebooting in ten seconds"
Back to top
UserFriendly7
Moderator



Posts: 1471
Location: England
PostPosted: Fri, 25th Jan 2008 23:42    Post subject:
doesn't sound like good news then Sad


 Spoiler:
 
Back to top
BaRRoS




Posts: 23

PostPosted: Mon, 28th Jan 2008 14:06    Post subject:
I just remember that UltraFXP asks if you want to quit when XP is shutting down and if you choose NO the shutdown is aborted. So there is hope Smile
I'm gonna do a little research, but I believe that is possible to create a little app that works like this.
Back to top
UserFriendly7
Moderator



Posts: 1471
Location: England
PostPosted: Mon, 28th Jan 2008 22:35    Post subject:
OOo sounds promising; im sure it's possible; however I think it's something that no1 has thought of doing before. ! watch this space i guess!


 Spoiler:
 
Back to top
nouseforaname
Über-VIP Member



Posts: 21306
Location: Toronto, Canada
PostPosted: Mon, 28th Jan 2008 22:55    Post subject:
ha, you know I do this all the time too Razz

no matter, windows xp reloads pretty quick anyways Wink


asus z170-A || core i5-6600K || geforce gtx 970 4gb || 16gb ddr4 ram || win10 || 1080p led samsung 27"
Back to top
Rinze
Site Admin



Posts: 2343

PostPosted: Mon, 28th Jan 2008 23:13    Post subject:
What you can do is have a background application that's slow at shutting down, maybe 8 seconds or so (not too long or it will be forced closed). That can cancel the shutdown if a specific key is pressed.

This will only give you time until all applications are closed. After that you can't cancel anymore.
Back to top
$en$i
VIP Member



Posts: 3127

PostPosted: Tue, 29th Jan 2008 04:09    Post subject:
You can still create the two shortcuts on your desktop, one that you will always use for shutting down (e.g.: shutdown -s -t 5 -c "shutting down in 5 seconds") and one for aborting (shutdown -a). :/
Back to top
BaRRoS




Posts: 23

PostPosted: Tue, 29th Jan 2008 12:46    Post subject:
Yap, its possible, I've created a small .NET app that just stays there waiting for the shutdown. When it receives the Windows shutdown event it displays a box with a button (and a timer) for you to cancel the shutdown.
Back to top
UserFriendly7
Moderator



Posts: 1471
Location: England
PostPosted: Fri, 1st Feb 2008 09:44    Post subject:
so it is possible! hmm Smile


 Spoiler:
 
Back to top
$en$i
VIP Member



Posts: 3127

PostPosted: Fri, 1st Feb 2008 10:27    Post subject:
BaRRoS wrote:
Yap, its possible, I've created a small .NET app that just stays there waiting for the shutdown. When it receives the Windows shutdown event it displays a box with a button (and a timer) for you to cancel the shutdown.
Care to share? Smile
Back to top
BaRRoS




Posts: 23

PostPosted: Fri, 1st Feb 2008 11:32    Post subject:
Sure Smile
PM me your email and I'll send it.
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Operating Systems
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group