Does automatic restart after updates close open programs correctly?

  1. Bobby Phoenix's Avatar
    Posts : 494
    Windows 10 Pro 64-bit
       #1

    Does automatic restart after updates close open programs correctly?


    Say I have Firefox open, and updates come in that require a reboot, and my downtime is after 5PM, and I'm not at the computer, and Windows decides to reboot by itself. Does Windows close Firefox correctly like a person would if they were done with it, and click the X button to close it, or does it just brute force close it like a person would by Task Manager? I'm just curious because automatic reboots happened several time with programs open (including Firefox), and when I would open Firefox again, I never get a "Firefox did not close properly", or anything like that. I don't want to have to close everything open just in case of an auto reboot if Windows forces programs closed, so I'm hoping Windows is smart enough to close open programs correctly.
      My Computer

  2. bro67's Avatar
    Posts : 8,359
    Mac OS Catalina
       #2

    Anything that is open when you lock the workstation regardless of the edition of Windows, can cause data to not be saved. Firefox and other web browsers are coded to self heal by checking for malfangled files used for user info.

    I would be more worried about working on a document or say a/v file, not having a background save every so often.
      My Computers

  3. Bobby Phoenix's Avatar
    Posts : 494
    Windows 10 Pro 64-bit
    Thread Starter
       #3

    Thanks for the reply, and I understand about not saving data, but I'm asking more about how Windows handles open programs in general. Even smaller ones like Calculator, or say I had Windows Media Player open with music playing, and the last song ended, so it's just sitting there open not doing anything? Would Windows shut them down normally, or force close them?
      My Computer

  4. pepanee's Avatar
    Posts : 1,462
    Windows 10 Professional
       #4

    Alternate idea:

    I have a note in my Windows 10 Installation Notes that is intended to disable the automatic restart feature for Windows Update. (I turn off the computer every single day, which means that the next day, all updates would have been installed; there is no hurry)
    Yet I want to state that I'm not sure if this applies anymore after the big Windows Creators Update, because I saw this message in Windows Update saying something about restarting in a few hours or something, so I am not 100% positive if this applies anymore, yet you can still set that option:

    "
    Disable the computer from automatically restarting after installing Windows Updates
    1) Search for, and open: gpedit.msc
    2) Go to: Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update
    3) Enable: No auto-restart with logged on users for scheduled automatic updates installations
    "

    I prefer to restart/shut down the computer whenever I want to, since it is much more convenient this way. But let's hope the Big Update didn't mess this thing up.
      My Computer


  5. Posts : 1,218
    Windows 10 Pro
       #5

    Bobby Phoenix said:
    Thanks for the reply, and I understand about not saving data, but I'm asking more about how Windows handles open programs in general. Even smaller ones like Calculator, or say I had Windows Media Player open with music playing, and the last song ended, so it's just sitting there open not doing anything? Would Windows shut them down normally, or force close them?
    Windows forcefully terminates open applications. Closing an application by clicking the close button isn't a reliable method. By default this will end the program but the program may intercept this message and do whatever it wishes. Clicking the close button may ask for confirmation, minimize the application, or even do nothing at all. Actual closing of the program may require some application specific procedure such selection of a menu item.

    However, before the application is terminated Windows will send it a message that a system reboot or shutdown is imminent and it should prepare accordingly. It is given a short period of time in which to save data and any other cleanup the developer deems appropriate. In XP and prior an application could actually abort the shutdown but it was found that some applications abused this privilege so in Vista this was made considerably more difficult.
      My Computer

  6. Bobby Phoenix's Avatar
    Posts : 494
    Windows 10 Pro 64-bit
    Thread Starter
       #6

    LMiller7 said:
    Windows forcefully terminates open applications. Closing an application by clicking the close button isn't a reliable method. By default this will end the program but the program may intercept this message and do whatever it wishes. Clicking the close button may ask for confirmation, minimize the application, or even do nothing at all. Actual closing of the program may require some application specific procedure such selection of a menu item.

    However, before the application is terminated Windows will send it a message that a system reboot or shutdown is imminent and it should prepare accordingly. It is given a short period of time in which to save data and any other cleanup the developer deems appropriate. In XP and prior an application could actually abort the shutdown but it was found that some applications abused this privilege so in Vista this was made considerably more difficult.
    Thank you for the explanation.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:53.
Find Us




Windows 10 Forums