Disable server restart after windows update
There’s nothing more frustrating than having your server
automatically restart in the middle of an important task or during
a munkaidőben, az Windows frissítések miatt. Ez az útmutató végigvezet
the steps to disable automatic restarts after Windows updates on Windows
Server 2012 és 2022. Akár meg szeretnéd akadályozni az újraindítást, amikor felhasználók
bejelentkezve vannak, vagy teljesen letiltani őket, mi megoldjuk.
Using
Group Policy Editor to Disable Automatic Restarts
The Group Policy Editor is a powerful tool that
allows Windows Server administrators to fine-tune various system
beállítások és házirendek. Ebben a szakaszban megismerkedünk
the Group Policy Editor to disable automatic restarts after Windows
frissítések az Windows Server 2012 és 2022 szervereken.
Az automatikus újraindítás letiltása két fő esetben hasznos:
-
when you want to prevent automatic restarts during critical work
hours -
when users are actively logged in to the server
Follow clear instructions to configure the necessary settings in the
Csoportházirend-szerkesztő, amely simább frissítési élményt biztosít az Ön
Windows Server.
Step 1: Open Group
Policy Editor
Press Win + R, type “gpedit.msc,” and press
Enter a Helyi Csoportszabályzat-szerkesztő megnyitásához.

Step 2:
Navigate to the Windows Update Policy
In the Group Policy Editor, go to Computer Configuration ->
Administrative Templates -> Windows Components -> Windows
Update.
Step
3: Állítsa be a "Nincs automatikus újraindítás bejelentkezett felhasználók esetén ütemezett feladatokhoz" beállítást
automatic updates installations”
-
Locate the policy called “No auto-restart with logged on users
for scheduled automatic updates installations.” -
Kattintson duplán erre a házirend-beállításra.
-
Ha az állapotot "Engedélyezve"-re állítod, az Automatikus Frissítések
will not restart the computer automatically during a
ütemezett telepítés, ha egy felhasználó be van jelentkezve. Ehelyett értesítést küld
a felhasználónak újraindítania kell a számítógépet. Kérjük, vegye figyelembe, hogy a számítógépet
manuálisan újra kell indítani ahhoz, hogy a frissítések érvénybe lépjenek.

Note: If the status is set to “Disabled” or “Not
Beállítva: az automatikus frissítések értesítik a felhasználót, amikor a számítógép
will automatically restart in 5 minutes to complete the
installation.
Step 4: Apply and
Save
Click on Apply and then OK to save
your changes.
Step 5: Restart (if
necessary)
A módosítások érvénybe lépéséhez előfordulhat, hogy újra kell indítani a
server.
By following these steps and configuring the “No auto-restart with
"bejelentkezett felhasználók számára ütemezett automatikus frissítések telepítése" szabályzat
you can have more control over automatic restarts and ensure they align
a szerver kezelésével kapcsolatos igényeivel.
Using
Task Scheduler to Prevent Automatic Restarts
If you prefer an alternative method to control automatic restarts
after Windows updates, you can leverage Task Scheduler. Follow these
lépések az automatikus újraindítás megakadályozásához ezzel a módszerrel:
Step 1: Open Task
Scheduler
Click on Start and type “Task Scheduler” in the
search bar. Select Task Scheduler from the results.

Step 2:
Navigate to the Update Orchestrator
In Task Scheduler, navigate to Task Scheduler Library -> Microsoft
-> Windows -> UpdateOrchestrator.
Step 3: Disable the
Reboot Task
Locate the task named “Reboot_AC” (or Reboot). If it is enabled,
right-click on Reboot_AC and select
Disable. Ez az intézkedés megakadályozza az automatikus újraindítást
task from executing.

By following these steps and ensuring that the “Reboot_AC” task is
disabled, you can effectively prevent automatic restarts after Windows
frissítéseket a Feladatütemezővel. Ez a módszer lehetővé teszi, hogy
további szabályozási lehetőség, amely lehetővé teszi az újraindítások időzítésének saját igényeid szerint történő beállítását
server’s specific needs.
Additional Windows
Update Settings
A Csoportházirend-szerkesztő és a Feladatütemezô mellett használhat
explore additional Windows Update settings to fine-tune your control
over automatic restarts. Here’s how:
Step 1:
Open Advanced Windows Update Options
Open the Start menu and search for Advanced Windows Update
options.

Step 2: Disable
Immediate Restart
In the Advanced Windows Update options, make sure that “Restart this
device as soon as possible when restart is required to install an
update” is toggled off. This setting prevents immediate
újraindítások, így te dönthetsz arról, hogy mikor telepítsenek frissítéseket.

Ezen beállítás módosításával tovább szabhatja az frissítést, valamint
indítsa újra a beállításokat, hogy pontosan illeszkedjenek a szerver
operational requirements.
Managing automatic restarts after Windows updates is crucial for
rendszerbiztonság és termelékenység között. Ez az útmutató segít megtalálni az egyensúlyt
biztonsági igények kielégítése az üzletmenet zavarásának minimalizálásával, az Windows Server biztosítva
zökkenőmentesen működik. Ha kérdésed van, vedd fel velünk a kapcsolatot: submitting a
ticket. A support csapatunk szívesen segít neked.
Also in Initial Documents
Related guides.
Need help with something else?
Median response time under 1 hour. Real humans, not bots.