Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » How to prevent a remote shutdown and restart in Windows
  • Configure Windows Server with Sconfig
    How to Configure Windows Server Core using SConfig Windows
  • Use PowerShell to View and Change BIOS Settings
    Use PowerShell to View and Change BIOS Settings Windows
  • Turn bluetooth on and off
    Unable to Turn Bluetooth On or Off on Mac Mac
  • integrate VHR with VBR
    How to deploy and integrate VHR with VBR Backup
  • vmwareconverter
    vCenter Converter removed from available downloads on VMware – Use Veeam instead Virtualization
  • Screenshot 2021 02 05 at 19.09.17
    How to install and update PowerShell version 7 on Windows and Linux Windows Server
  • Manage Log Files via Logrotate
    How To Use Logrotate For Managing Log Files In Ubuntu Linux Linux
  • SQLIOSim utility to simulate SQL Server
    Testing Disk Subsystem Integrity for SQL Server with SQLIOSim Network | Monitoring

How to prevent a remote shutdown and restart in Windows

Posted on 02/04/202018/09/2023 Christian By Christian No Comments on How to prevent a remote shutdown and restart in Windows
prevent remote shutdown

Due to the COVID-19 outbreak, most users remotely connect to their workstations at work in order to perform their duties and they can accidentally shut down or restart their devices. Another scenario is having a shared device and you do not want users to be able to shut down or restart, thereby leading to data loss. The scenario described here is specifically for Windows 10 and they are also applicable to Windows 11. Kindly refer to the following related guides: How to hide or stop Apps such as OneDrive from opening automatically upon login on Macbook Pro, and Cannot uninstall the OneDrive App: The item “OneDrive” can’t be moved to the Bin because it’s open on Mac, how to logoff, restart, or shutdown Windows PC or Server remotely via Command Prompt and PowerShell, and how to use command prompt to shutdown and restart your computer.

stop remote restart

To mitigate this, I will configure the Local Group Policy Editor to remove those buttons from the Start Menu on Windows computers. For similar settings, see the following link.

Below are the steps to remove the shutdown and restart button from the start menu via the local group policy. For how this is done in a domain-wide environment, see a similar method on how this is done via the Group Policy Management Tool in Active Directory.

Launch the Local Group Policy as shown below

Windows remote shutdown protection

– Navigate to the Computer Configuration 
– Administrative Template
– Click on Start Menu and Taskbar

prevent remote shutdown

Click on ok. And this will have the policy state changed to Enabled as shown below

Windows remote shutdown protection

Next, update the group policy object for it to take effect immediately in order to avoid the default time of 90 minutes.

Note: For similar steps to configure this policy via Group Policy Management Tool, see the referenced link above.

As we can see, the shutdown and restart buttons have been removed from the Start menu as shown below.

I hope you found this blog post helpful. Please let me know in the comment session if you have any questions.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows Tags:Grouppolicy, Microsoft Windows, restart, shutdown, Windows 10

Post navigation

Previous Post: Error: The processing of Group Policy failed because of lack of network connectivity to a DC. This may be a transient condition. A success message would be generated once the machine gets connected
Next Post: Run or Edit and Delete Tasks via Windows Task Scheduler

Related Posts

  • shut down 650x300 1
    How to prevent users from shutting down in a Virtual Machine Windows
  • wac
    Fix Windows Admin Center cannot be reached Windows
  • Internet Explorer
    How to uninstall Internet Explorer from your Windows Device Windows
  • Featured image Win1022H2
    How to get the Windows 10 Version 22H2 Update Windows
  • images 1
    How to reset and reinstall Windows 10 locally Windows
  • screenshot 2017 06 07 11.30.45
    How to Enable or Disable Touch Screen in Windows 10 Windows

More Related Articles

shut down 650x300 1 How to prevent users from shutting down in a Virtual Machine Windows
wac Fix Windows Admin Center cannot be reached Windows
Internet Explorer How to uninstall Internet Explorer from your Windows Device Windows
Featured image Win1022H2 How to get the Windows 10 Version 22H2 Update Windows
images 1 How to reset and reinstall Windows 10 locally Windows
screenshot 2017 06 07 11.30.45 How to Enable or Disable Touch Screen in Windows 10 Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Configure Windows Server with Sconfig
    How to Configure Windows Server Core using SConfig Windows
  • Use PowerShell to View and Change BIOS Settings
    Use PowerShell to View and Change BIOS Settings Windows
  • Turn bluetooth on and off
    Unable to Turn Bluetooth On or Off on Mac Mac
  • integrate VHR with VBR
    How to deploy and integrate VHR with VBR Backup
  • vmwareconverter
    vCenter Converter removed from available downloads on VMware – Use Veeam instead Virtualization
  • Screenshot 2021 02 05 at 19.09.17
    How to install and update PowerShell version 7 on Windows and Linux Windows Server
  • Manage Log Files via Logrotate
    How To Use Logrotate For Managing Log Files In Ubuntu Linux Linux
  • SQLIOSim utility to simulate SQL Server
    Testing Disk Subsystem Integrity for SQL Server with SQLIOSim Network | Monitoring

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,839 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.