DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Software Install Tip: When windows wants to reboot, I suggest you let it  (Read 12,984 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
I recently had a problem with my pc that i managed to recover from, but it's once again reminded me that it may be asking for serious trouble to put off a request to reboot your computer.

You know the drill -- you run a windows update, or you install or uninstall some software, and you get the dialog saying something like "Windows needs to restart" with buttons to restart now, or do it manually later:
restart-updates-Windows8.png

Now I don't know about you but I often click the button labeled for "I'll do it later myself", and tell myself i'll do it in just a minute.

But then time flies and I forget, and don't get around to rebooting for quite some time.

I'm here to tell you that this is really playing with fire and could come back to bite you badly.

The problem is that when windows wants to reboot to finish installing or uninstalling stuff, it has created entries in your registry to do operations like delete directories, replace files, etc.

And if you postpone rebooting, and then do something that could interefere with these operations (like deleting temporary files, etc.), you could be in for a world of pain -- and sometimes you might not even realize you are doing things that would conflict with these reboot-enabled-operations.

I think in general it's also dangerous because when you make a change that requires a reboot, it's probably a very good idea indeed to make sure they didn't change anything that cause you to have problems booting -- rather than postponing the discovery until 10 different things are installed.

Anyway just my 2 cents -- when windows wants to reboot, let it reboot without much delay.

db90h

  • Coding Snacks Author
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 481
    • Coding Snacks
    • Military Service Badge - US Army
    • Linux User

Renegade

  • Tell me something you don't know...
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
    • Participated in NANY Challenge Three Times
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Thanks for the heads up. I tend to reboot, oh, say, maybe next week...
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

nosh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,441
There's always WhyReboot, for those of us anal enough to want to know why. It's not perfect (seems abandoned) but all it does is query information, so I'd recommend it.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
WhyReboot is an excellent tool.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
^^ +1 for WhyReboot and the dev even dropped by some time back..

• http://www.donationcoder.com/forum/index.php?topic=1710.msg46620#msg46620

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
There's also Pending File Moves:


Quote
Pending File Moves is really simple application that displays a list of pending file rename/delete operations, that take place the next time the system boots.


http://koti.mbnet.fi/vaultec/software.php#pendfilemoves

Source code available too.

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
even worse situation: You (ehmmm...: "I"!) know that Windows wants to reboot, but you install a large recovery program, and and makes an Uninstaller_Pro do the installation. You re-boot, and the Uninstaller_Pro scans and now has a wrong idea of the program you installed. You ("I") use Uninstaller_Pro to remove the recovery program, and puff!!! Windows is no longer available!

At least that is how I imagine it happened, when I lost my Vista.

Thanks for the reminder,mouser!  :up:
« Last Edit: April 11, 2012, 12:20 PM by Curt »

TaoPhoenix

  • 0 - 60 ... then back to 0 again!
  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • Participated in NANY Challenge Three Times
Nice tip on WhyReboot. I only had a couple of Flash updates that needed rebooting, though it's annoying that another one appeared AFTER I rebooted. Heh - I'll reboot later (eek!) because I got trapped on CodingHorror!

(Now I have 12 tabs to read!)  :P

Use attachthumb=# to show an attached image as an expandable thumbnail, or attach=# to show full size. (With Brackets)

db90h

  • Coding Snacks Author
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 481
    • Coding Snacks
    • Military Service Badge - US Army
    • Linux User
WhyReboot is very reminiscent of my old http://bitsum.com/other.php#movelatr]console mode MoveLatr utility, which not only enumerated pending move operations, but also allowed you to set them (including delete a file). I distributed it with full source code.. a decade ago (EDIT: 12 YEARS AGO). Been a while.

--- Summary of MoveLater (12 years old, it its teens ;p) --

LICENSE: Freeware, Open Source.

MoveLatr (aka MoveLater) is a nice console mode utility: http://bitsum.com/other.php#movelatr. Freeware, and open source at that. You can not only view pending operations by just running it, but also *set* them, including deletions.

Of course, looking at the source code now, it would look a lot different if I coded it these days ;). Though I'm not sure that HTML markup is the latest copy of the source, need to check.
« Last Edit: April 15, 2012, 09:34 AM by db90h »

Original address: https://www.donationcoder.com/forum/index.php?topic=30621.0