Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. Sunday morning, and Microsoft has rebooted my laptop...

Sunday morning, and Microsoft has rebooted my laptop...

Scheduled Pinned Locked Moved The Weird and The Wonderful
help
36 Posts 12 Posters 41 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C charlieg

    even though I used their supported restart options. I'm not sure yet, but I think that MS has coded up a "reboot it anyway" feature. Just curious if you Windows 10 users out there have managed to find away to stop this elephanting reboot crap. Right now, you would not want me near the nuclear football... I have some targets in mind.

    Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

    K Offline
    K Offline
    kmoorevs
    wrote on last edited by
    #27

    I totally understand the frustration, also having vented here (or in the lounge) about losing unsaved work (on multiple occasions) due to an unwanted forced restart on Winten. Sadly, I see there is still no guaranteed way to prevent it. :( There is also the issue of resetting registry permissions and policies on some updates, but that's another rant!

    "Go forth into the source" - Neal Morse

    1 Reply Last reply
    0
    • M Marc Clifton

      David O'Neil wrote:

      Disable the Windows Update service.

      I've noticed that it re-enables itself. I'm looking into writing a service killer that checks every 60 seconds, as there are other services involved in the auto-update as well -- I don't have the link at the moment, when I find it again, I'll finish my service killer applet and post it here, mwahaha.

      Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

      D Offline
      D Offline
      David ONeil
      wrote on last edited by
      #28

      [How can I prevent automatic updates? - Page 8 - Windows 10 Forums](https://www.tenforums.com/windows-updates-activation/72248-how-can-i-prevent-automatic-updates-8.html#post1252396) or, a program by someone already exists: [Windows Update Blocker v1.1](https://www.sordum.org/9470/windows-update-blocker-v1-1/) I've downloaded it, but haven't executed it. Norton didn't give any warnings, it is < 1MB, and the hosting company is located in USA, but that isn't enough to make me comfortable. It is an exe in a zip - no installer. There may be other solutions as well. Looking forward to your solution if you get to it.

      The forgotten roots of science | C++ Programming | DWinLib

      M 1 Reply Last reply
      0
      • D David ONeil

        [How can I prevent automatic updates? - Page 8 - Windows 10 Forums](https://www.tenforums.com/windows-updates-activation/72248-how-can-i-prevent-automatic-updates-8.html#post1252396) or, a program by someone already exists: [Windows Update Blocker v1.1](https://www.sordum.org/9470/windows-update-blocker-v1-1/) I've downloaded it, but haven't executed it. Norton didn't give any warnings, it is < 1MB, and the hosting company is located in USA, but that isn't enough to make me comfortable. It is an exe in a zip - no installer. There may be other solutions as well. Looking forward to your solution if you get to it.

        The forgotten roots of science | C++ Programming | DWinLib

        M Offline
        M Offline
        Marc Clifton
        wrote on last edited by
        #29

        David O'Neil wrote:

        There may be other solutions as well. Looking forward to your solution if you get to it.

        Reading the comments for Windows Update Blocker, it seems like it doesn't always work. At least no one reported malware, but then again, I wouldn't trust the average user. Gads, the W10 Forums page link -- complicated stuff! We'll see when I get around to trying my own solution -- it's on the low priority list right now. Marc

        Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

        D 1 Reply Last reply
        0
        • M Marc Clifton

          David O'Neil wrote:

          There may be other solutions as well. Looking forward to your solution if you get to it.

          Reading the comments for Windows Update Blocker, it seems like it doesn't always work. At least no one reported malware, but then again, I wouldn't trust the average user. Gads, the W10 Forums page link -- complicated stuff! We'll see when I get around to trying my own solution -- it's on the low priority list right now. Marc

          Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

          D Offline
          D Offline
          David ONeil
          wrote on last edited by
          #30

          Found a poor man's version that I think works. Create a bat file with the following:

          @echo off
          :while1
          sc stop wuauserv
          sc config wuauserv start= disabled
          timeout 60
          goto :while1

          Open a command prompt as admin and run the bat. Any improvements are appreciated - I've never been a knowledgeable bat file creator. I suspect with some more work I could hide the command prompt from the taskbar using AutoHotKey, but I'm lazy. But I can place it on a new desktop that I never look at! Tested it by setting wuauserv to manual in between the 60 second intervals. Had to F5 the Services pane after the 60 seconds hit. Successfully disabled the service! Will other services you hinted about also need to be stopped, or will just the main wuauserv be enough to kill the updates? I'll place a copy of this in the lounge in case others want to play.

          The forgotten roots of science | C++ Programming | DWinLib

          1 Reply Last reply
          0
          • D David ONeil

            You'll get my five. That would be a used tool. Right now Action Center is giving one recommendation, saying some apps stopped working but not giving any details. I'm keeping my eye on it. I also noticed a restart of the service once. I'm wondering if it does so at a full reboot. Since I hibernate all the time except once around the time it restarted, maybe that is the triggering factor.

            The forgotten roots of science | C++ Programming | DWinLib

            J Offline
            J Offline
            Jon McKee
            wrote on last edited by
            #31

            David O'Neil wrote:

            Action Center

            If you want to get rid of that I wrote this a couple years ago (only tested on Win7):

            :: Action Center Disable
            :: Disables ActionCenter and ActionCenterCPL
            ::
            @ECHO OFF

            SC stop wscsvc
            SC config wscsvc start=disabled

            TAKEOWN /F "%SystemRoot%\system32\ActionCenter.dll"
            ICACLS "%SystemRoot%\system32\ActionCenter.dll" /grant:r administrators:F
            REN "%SystemRoot%\system32\ActionCenter.dll" ActionCenter.bak

            TAKEOWN /F "%SystemRoot%\system32\ActionCenterCPL.dll"
            ICACLS "%SystemRoot%\system32\ActionCenterCPL.dll" /grant:r administrators:F
            REN "%SystemRoot%\system32\ActionCenterCPL.dll" ActionCenterCPL.bak

            ECHO Operations completed.
            PAUSE > NUL

            As long as you're logged in as admin it works great and if you ever want to re-enable just rename the *.bak to *.dll. Even if you don't re-enable the service Windows will do that automatically if it detects the DLLs as I found out.

            D 1 Reply Last reply
            0
            • J Jon McKee

              David O'Neil wrote:

              Action Center

              If you want to get rid of that I wrote this a couple years ago (only tested on Win7):

              :: Action Center Disable
              :: Disables ActionCenter and ActionCenterCPL
              ::
              @ECHO OFF

              SC stop wscsvc
              SC config wscsvc start=disabled

              TAKEOWN /F "%SystemRoot%\system32\ActionCenter.dll"
              ICACLS "%SystemRoot%\system32\ActionCenter.dll" /grant:r administrators:F
              REN "%SystemRoot%\system32\ActionCenter.dll" ActionCenter.bak

              TAKEOWN /F "%SystemRoot%\system32\ActionCenterCPL.dll"
              ICACLS "%SystemRoot%\system32\ActionCenterCPL.dll" /grant:r administrators:F
              REN "%SystemRoot%\system32\ActionCenterCPL.dll" ActionCenterCPL.bak

              ECHO Operations completed.
              PAUSE > NUL

              As long as you're logged in as admin it works great and if you ever want to re-enable just rename the *.bak to *.dll. Even if you don't re-enable the service Windows will do that automatically if it detects the DLLs as I found out.

              D Offline
              D Offline
              David ONeil
              wrote on last edited by
              #32

              Thanks!

              The forgotten roots of science | C++ Programming | DWinLib

              1 Reply Last reply
              0
              • C charlieg

                even though I used their supported restart options. I'm not sure yet, but I think that MS has coded up a "reboot it anyway" feature. Just curious if you Windows 10 users out there have managed to find away to stop this elephanting reboot crap. Right now, you would not want me near the nuclear football... I have some targets in mind.

                Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                J Offline
                J Offline
                johannesnestler
                wrote on last edited by
                #33

                Sad to read such rants here on CP. "programmers" that don't know how to save work, how to install old drivers, how to setup Windows-Update (or are ranting about old versions and long solved problems), whining about how "good" Windows 7 was, it's a shame. All workers should know the tools for the Job. As a programmer the OS is a big "tool" to know… I think Noob-User discussions don't belong here... :thumbsdown:

                C 1 Reply Last reply
                0
                • J johannesnestler

                  Sad to read such rants here on CP. "programmers" that don't know how to save work, how to install old drivers, how to setup Windows-Update (or are ranting about old versions and long solved problems), whining about how "good" Windows 7 was, it's a shame. All workers should know the tools for the Job. As a programmer the OS is a big "tool" to know… I think Noob-User discussions don't belong here... :thumbsdown:

                  C Offline
                  C Offline
                  charlieg
                  wrote on last edited by
                  #34

                  What's sad is you missed the entire context of the rant. Windows 7 *was* less invasive. Windows 8 was a steaming pile of ****, and Windows 10 primary feature is Microsoft trying to figure out someway to package it as a service. Save work: I do save my work, but many times I have debug sessions going on for days (embedded systems). You think it's okay to reboot because of policy? Install old drivers - why would I even have to do that? You're an elephanting idiot.

                  Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                  J 1 Reply Last reply
                  0
                  • C charlieg

                    What's sad is you missed the entire context of the rant. Windows 7 *was* less invasive. Windows 8 was a steaming pile of ****, and Windows 10 primary feature is Microsoft trying to figure out someway to package it as a service. Save work: I do save my work, but many times I have debug sessions going on for days (embedded systems). You think it's okay to reboot because of policy? Install old drivers - why would I even have to do that? You're an elephanting idiot.

                    Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                    J Offline
                    J Offline
                    johannesnestler
                    wrote on last edited by
                    #35

                    So if you plan a debug-session just set out updates (it's max is 35 days) - so no restart or Installation will happen. If you don't need old drivers everything is fine - if you Need, you can install even drivers that didn't work anymore on Windows7 for very old devices on Windows 10. I have no problem, if you have some unrational "believe" or sympathy for old OSes. From an objective point of view Windows 10 isn't perfect but much better than it's predecessors -and the experience arround updates is constantly improving. P.S. I don't think you an idiot - just a little "nostalgic" about something you shouldn't be in professional life. Win7 time is over - accept it...

                    C 1 Reply Last reply
                    0
                    • J johannesnestler

                      So if you plan a debug-session just set out updates (it's max is 35 days) - so no restart or Installation will happen. If you don't need old drivers everything is fine - if you Need, you can install even drivers that didn't work anymore on Windows7 for very old devices on Windows 10. I have no problem, if you have some unrational "believe" or sympathy for old OSes. From an objective point of view Windows 10 isn't perfect but much better than it's predecessors -and the experience arround updates is constantly improving. P.S. I don't think you an idiot - just a little "nostalgic" about something you shouldn't be in professional life. Win7 time is over - accept it...

                      C Offline
                      C Offline
                      charlieg
                      wrote on last edited by
                      #36

                      You are missing my point entirely. thrice, so, rather than hash a dead horse, have a nice day.

                      Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups