by

Microsoft Update Preventing Mac Shutdown

Aug 20, 2016 How to find out program preventing windows shutdown. After the last major update, my computer upon hitting shutdown, displays a pop-up stating that 'The.

Mar 30, 2020  How to keep your downloads active when your mac or windows laptop lid is closed or in sleep mode. By now your laptop will not shut down when you close the lid and therefore you will be able to keep downloads going on. You can choose “Disable lid sleep when on AC” to prevent the laptop from going to sleep mode when it is still. May 21, 2019  Updates may not be installed with Fast Startup in Windows 10. Content provided by Microsoft. Windows updates might not be installed on your system after you shut down your computer. This behavior occurs when the Fast Startup feature is enabled. This behavior doesn’t occur when you restart your computer. When comes to. Jul 16, 2018  Windows Updates are installed automatically, with no need to select which updates are needed or not needed. In rare cases, a specific update might temporarily cause issues with your device, and in this case you will need a way to prevent the problematic update from reinstalling automatically the next time Windows Updates are installed. Mar 12, 2013  Prevent Windows 8 From Restarting Your PC After Windows Updates. Press the Win + R keyboard combination to bring up the run dialog then type gpedit.msc and press enter. When the Local Group Policy Editor opens, navigate to: Computer ConfigurationAdministrative TemplatesWindows ComponentsWindows Update. Reset Your Mac’s SMC. Perform an SMC reset procedure on Mac desktops. Shut Down your Macbook. Unplug the power cord and wait for 15 seconds. Plug the power cord back. Wait for 5 seconds and then turn on your Mac. To restart, try sudo shutdown -r now or sudo reboot. To shut down off immediately use the command osascript -e ‘tell application “System Events” to shut down’ You can also use sudo shutdown -h now or the command sudo halt (this kills all open applications and does NOT give you the opportunity to save your data).

-->

Enables you to shut down or restart local or remote computers one at a time.

For examples of how to use this command, see Examples.

Syntax

Parameters

ParameterDescription
/iDisplays the Remote Shutdown Dialog box. The /i option must be the first parameter following the command. If /i is specified, all other options are ignored.
/lLogs off the current user immediately, with no time-out period. You cannot use /l with /m or /t.
/sShuts down the computer.
/rRestarts the computer after shutdown.
/aAborts a system shutdown. Effective only during the timeout period. To use /a, you must also use the /m option.
/pTurns off the local computer only (not a remote computer)—with no time-out period or warning. You can use /p only with /d or /f. If your computer does not support power-off functionality, it will shut down when you use /p, but the power to the computer will remain on.
/hPuts the local computer into hibernation, if hibernation is enabled. You can use /h only with /f.
/eEnables you to document the reason for the unexpected shutdown on the target computer.
/fForces running applications to close without warning users.
Caution: Using the /f option might result in loss of unsaved data.
/m <ComputerName>Specifies the target computer. Cannot be used with the /l option.
/t <XXX>Sets the time-out period or delay to XXX seconds before a restart or shutdown. This causes a warning to display on the local console. You can specify 0-600 seconds. If you do not use /t, the time-out period is 30 seconds by default.
/d [p u:]<XX>:<YY>Lists the reason for the system restart or shutdown. The following are the parameter values:
p Indicates that the restart or shutdown is planned.
u Indicates that the reason is user defined.
Note: If p or u are not specified, the restart or shutdown is unplanned.
XX Specifies the major reason number (positive integer less than 256).
YY Specifies the minor reason number (positive integer less than 65536).
/c <Comment>Enables you to comment in detail about the reason for the shutdown. You must first provide a reason by using the /d option. You must enclose comments in quotation marks. You can use a maximum of 511 characters.
/?Displays help at the command prompt, including a list of the major and minor reasons that are defined on your local computer.

Remarks

  • Users must be assigned the Shut down the system user right to shut down a local or remotely administered computer that is using the shutdown command.
  • Users must be members of the Administrators group to annotate an unexpected shutdown of a local or remotely administered computer. If the target computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. For more information, see:
  • If you want to shut down more than one computer at a time, you can call shutdown for each computer by using a script, or you can use shutdown/i to display the Remote Shutdown Dialog box.
  • If you specify major and minor reason codes, you must first define these reason codes on each computer where you plan to use the reasons. If the reason codes are not defined on the target computer, Shutdown Event Tracker cannot log the correct reason text.
  • Remember to indicate that a shutdown is planned by using the p: parameter. Omitting p: indicates that a shutdown is unplanned. If you type p: followed by the reason code for an unplanned shutdown, the command will not carry out the shutdown. Conversely, if you omit p: and type in the reason code for a planned shutdown, the command will not carry out the shutdown.

Examples

To force applications to close and restart the local computer after a one-minute delay with the reason Application: Maintenance (Planned) and the comment Reconfiguring myapp.exe type:

To restart the remote computer ServerName with the same parameters, type:

Additional References

-->

Applies to

  • Windows 10

Looking for consumer information? See Windows Update: FAQ

You can use Group Policy settings, mobile device management (MDM) or Registry (not recommended) to configure when devices will restart after a Windows 10 update is installed. You can schedule update installation and set policies for restart, configure active hours for when restarts will not occur, or you can do both.

Schedule update installation

In Group Policy, within Configure Automatic Updates, you can configure a forced restart after a specified installation time.

To set the time, you need to go to Configure Automatic Updates, select option 4 - Auto download and schedule the install, and then enter a time in the Scheduled install time dropdown. Alternatively, you can specify that installation will occur during the automatic maintenance time (configured using Computer ConfigurationAdministrative TemplatesWindows ComponentsMaintenance Scheduler).

Always automatically restart at the scheduled time forces a restart after the specified installation time and lets you configure a timer to warn a signed-in user that a restart is going to occur.

While not recommended, the same result can be achieved through Registry. Under HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdateAU, set AuOptions to 4, set the install time with ScheduledInstallTime, enable AlwaysAutoRebootAtScheduledTime and specify the delay in minutes through AlwaysAutoRebootAtScheduledTimeMinutes. Similar to Group Policy, AlwaysAutoRebootAtScheduledTimeMinutes sets the timer to warn a signed-in user that a restart is going to occur.

For a detailed description of these registry keys, see Registry keys used to manage restart.

Delay automatic reboot

When Configure Automatic Updates is enabled in Group Policy, you can enable one of the following additional policies to delay an automatic reboot after update installation:

  • Turn off auto-restart for updates during active hours prevents automatic restart during active hours.
  • No auto-restart with logged on users for scheduled automatic updates installations prevents automatic restart when a user is signed in. If a user schedules the restart in the update notification, the device will restart at the time the user specifies even if a user is signed in at the time. This policy only applies when Configure Automatic Updates is set to option 4-Auto download and schedule the install.

Microsoft Update Preventing Mac Shutdown 2016

Note

When using Remote Desktop Protocol connections, only active RDP sessions are considered as logged on users. Devices that do not have locally logged on users, or active RDP sessions, will be restarted.

You can also use Registry, to prevent automatic restarts when a user is signed in. Under HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdateAU, set AuOptions to 4 and enable NoAutoRebootWithLoggedOnUsers. As with Group Policy, if a user schedules the restart in the update notification, it will override this setting.

For a detailed description of these registry keys, see Registry keys used to manage restart.

Configure active hours

Active hours identify the period of time when you expect the device to be in use. Automatic restarts after an update will occur outside of the active hours.

By default, active hours are from 8 AM to 5 PM on PCs and from 5 AM to 11 PM on phones. Users can change the active hours manually.

Starting with Windows 10, version 1703, you can also specify the max active hours range. The specified range will be counted from the active hours start time.

Administrators can use multiple ways to set active hours for managed devices:

  • You can use Group Policy, as described in the procedure that follows.
  • You can use MDM, as described in Configuring active hours with MDM.
  • While not recommended, you can also configure active hours, as described in Configuring active hours through Registry.

Configuring active hours with Group Policy

To configure active hours using Group Policy, go to Computer ConfigurationAdministrative TemplatesWindows ComponentsWindows Update and open the Turn off auto-restart for updates during active hours policy setting. When the policy is enabled, you can set the start and end times for active hours.

Configuring active hours with MDM

MDM uses the Update/ActiveHoursStart and Update/ActiveHoursEnd and Update/ActiveHoursMaxRange settings in the Policy CSP to configure active hours.

Configuring active hours through Registry

This method is not recommended, and should only be used when neither Group Policy or MDM are available.Any settings configured through Registry may conflict with any existing configuration that uses any of the methods mentioned above.

Status pages are also available for other email services, such as and. Some brief service outages might not appear on a system status page, so you might want to wait a few hours and try again. For example, shows the status of iCloud Mail. Microsoft outlook sent emails mac os.

You should set a combination of the following registry values, in order to configure active hours.Under HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdate use SetActiveHours to enable or disable active hours and ActiveHoursStart,ActiveHoursEnd to specify the range of active hours.

For a detailed description of these registry keys, see Registry keys used to manage restart.

Note

To configure active hours manually on a single device, go to Settings > Update & security > Windows Update and select Change active hours.

Microsoft Update Preventing Mac Shutdown Windows 10

Configuring active hours max range

With Windows 10, version 1703, administrators can specify the max active hours range users can set. This option gives you additional flexibility to leave some of the decision for active hours on the user's side, while making sure you allow enough time for updating. The max range is calculated from active hours start time.

To configure active hours max range through Group Policy, go to Computer ConfigurationAdministrative TemplatesWindows ComponentsWindows Update and open the Specify active hours range for auto-restarts.

To configure active hours max range through MDM, use Update/ActiveHoursMaxRange.

Limit restart delays

After an update is installed, Windows 10 attempts automatic restart outside of active hours. If the restart does not succeed after 7 days (by default), the user will see a notification that restart is required. You can use the Specify deadline before auto-restart for update installation policy to change the delay from 7 days to a number of days between 2 and 14.

Control restart notifications

In Windows 10, version 1703, we have added settings to control restart notifications for users.

Auto-restart notifications

Administrators can override the default behavior for the auto-restart required notification. By default, this notification will dismiss automatically.

To configure this behavior through Group Policy, go to Computer ConfigurationAdministrative TemplatesWindows ComponentsWindows Update and select Configure auto-restart required notification for updates. When configured to 2 - User Action, a user that gets this notification must manually dismiss it.

To configure this behavior through MDM, use Update/AutoRestartRequiredNotificationDismissal

You can also configure the period prior to an update that this notification will show up on. The default value is 15 minutes.

To change it through Group Policy, select Configure auto-restart-reminder notifications for updates under Computer ConfigurationAdministrative TemplatesWindows ComponentsWindows Update and select the period in minutes.

Why does microsoft word stop spell checking mac. By default, Word uses red wavy underlines to indicate spelling errors and green wavy underlines to indicate grammatical errors as you type. If those underlines bother you, you can turn off automatic spelling and grammar checking. To turn off spelling and grammar checking, choose Word→Preferences and click the Spelling and Grammar icon. In the Grammar. Apr 12, 2018  When you use spell check in Word for Mac 2011, you may encounter one of the following problems: Spell check does not identify misspelled words; The spell check language keeps changing; To resolve the spell check problem, follow these methods in order: Method 1: Set Document Language; Method 2: Set the language for the default Normal.dotm template. Aug 04, 2011  Make sure there is no check in the 'Do not check spelling & grammar' box. Assuming I'm right about the erroneous language just go ahead & close the dialog. Select all of the document (Command+A) then open the dialog again to choose your appropriate language formatting.

To change it through MDM, use Update/AutoRestartNotificationSchedule.

In some cases, you don't need a notification to show up.

To do so through Group Policy, go to Computer ConfigurationAdministrative TemplatesWindows ComponentsWindows Update and select Turn off auto-restart notifications for update installations.

To do so through MDM, use Update/SetAutoRestartNotificationDisable.

Scheduled auto-restart warnings

Since users are not able to postpone a scheduled restart once the deadline has been reached, you can configure a warning reminder prior to the scheduled restart. You can also configure a warning prior to the restart, to notify users once the restart is imminent and allow them to save their work.

To configure both through Group Policy, find Configure auto-restart warning notifications schedule for updates under Computer ConfigurationAdministrative TemplatesWindows ComponentsWindows Update. The warning reminder can be configured by Reminder (hours) and the warning prior to an imminent auto-restart can be configured by Warning (mins).

In MDM, the warning reminder is configured using Update/ScheduleRestartWarning and the auto-restart imminent warning is configured using Update/ScheduleImminentRestartWarning.

Mac

Engaged restart

Engaged restart is the period of time when users are required to schedule a restart. Initially, Windows will auto-restart outside of working hours. Once the set period ends (7 days by default), Windows transitions to user scheduled restarts.

The following settings can be adjusted for engaged restart:

  • Period of time before auto-restart transitions to engaged restart.
  • The number of days that users can snooze engaged restart reminder notifications.
  • The number of days before a pending restart automatically executes outside of working hours.

In Group Policy, go to Computer ConfigurationAdministrative TemplatesWindows ComponentsWindows Update and pick Specify Engaged restart transition and notification schedule for updates.

In MDM, use Update/EngagedRestartTransitionSchedule, Update/EngagedRestartSnoozeSchedule and Update/EngagedRestartDeadline respectively.

Microsoft Update Preventing Mac Shutdown Tool

Group Policy settings for restart

In the Group Policy editor, you will see a number of policy settings that pertain to restart behavior in Computer ConfigurationAdministrative TemplatesWindows ComponentsWindows Update. The following table shows which policies apply to Windows 10.

PolicyApplies to Windows 10Notes
Turn off auto-restart for updates during active hoursUse this policy to configure active hours, during which the device will not be restarted. This policy has no effect if the No auto-restart with logged on users for scheduled automatic updates installations or Always automatically restart at the scheduled time policies are enabled.
Always automatically restart at the scheduled timeUse this policy to configure a restart timer (between 15 and 180 minutes) that will start immediately after Windows Update installs important updates. This policy has no effect if the No auto-restart with logged on users for scheduled automatic updates installations policy is enabled.
Specify deadline before auto-restart for update installationUse this policy to specify how many days (between 2 and 14) an automatic restart can be delayed. This policy has no effect if the No auto-restart with logged on users for scheduled automatic updates installations or Always automatically restart at the scheduled time policies are enabled.
No auto-restart with logged on users for scheduled automatic updates installationsUse this policy to prevent automatic restart when a user is logged on. This policy applies only when the Configure Automatic Updates policy is configured to perform scheduled installations of updates.
There is no equivalent MDM policy setting for Windows 10 Mobile.
Re-prompt for restart with scheduled installations
Delay Restart for scheduled installations
Reschedule Automatic Updates scheduled installations

Note

You can only choose one path for restart behavior.If you set conflicting restart policies, the actual restart behavior may not be what you expected.When using RDP, only active RDP sessions are considered as logged on users.

Registry keys used to manage restart

The following tables list registry values that correspond to the Group Policy settings for controlling restarts after updates in Windows 10.

HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdate

Registry keyKey typeValue
ActiveHoursEndREG_DWORD0-23: set active hours to end at a specific hour
starts with 12 AM (0) and ends with 11 PM (23)
ActiveHoursStartREG_DWORD0-23: set active hours to start at a specific hour
starts with 12 AM (0) and ends with 11 PM (23)
SetActiveHoursREG_DWORD0: disable automatic restart after updates outside of active hours
1: enable automatic restart after updates outside of active hours

HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdateAU

Registry keyKey typeValue
AlwaysAutoRebootAtScheduledTimeREG_DWORD0: disable automatic reboot after update installation at scheduled time
1: enable automatic reboot after update installation at ascheduled time
AlwaysAutoRebootAtScheduledTimeMinutesREG_DWORD15-180: set automatic reboot to occur after given minutes
AUOptionsREG_DWORD2: notify for download and notify for installation of updates
3: automatically download and notify for installation of updates
4: Automatically download and schedule installation of updates
5: allow the local admin to configure these settings
Note: To configure restart behavior, set this value to 4
NoAutoRebootWithLoggedOnUsersREG_DWORD0: disable do not reboot if users are logged on
1: do not reboot after an update installation if a user is logged on
Note: If disabled : Automatic Updates will notify the user that the computer will automatically restart in 5 minutes to complete the installation
ScheduledInstallTimeREG_DWORD0-23: schedule update installation time to a specific hour
starts with 12 AM (0) and ends with 11 PM (23)

There are 3 different registry combinations for controlling restart behavior:

Microsoft Shutdown Fix

  • To set active hours, SetActiveHours should be 1, while ActiveHoursStart and ActiveHoursEnd should define the time range.
  • To schedule a specific installation and reboot time, AUOptions should be 4, ScheduledInstallTime should specify the installation time, AlwaysAutoRebootAtScheduledTime set to 1 and AlwaysAutoRebootAtScheduledTimeMinutes should specify number of minutes to wait before rebooting.
  • To delay rebooting if a user is logged on, AUOptions should be 4, while NoAutoRebootWithLoggedOnUsers is set to 1.

Related topics