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

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.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • 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

  • Banner
    How to Stop OneDrive from Starting Up Automatically on Windows 11 Windows
  • nodee
    How to install Cypress on Windows and perform Automation Windows
  • MBAM roles
    Understanding Microsoft BitLocker Administration and Monitoring Roles Windows
  • Screenshot 2020 12 06 at 17.44.32
    Windows cannot connect to the printer: Operation Failed with error 0x000004f8 Windows
  • Smartscreen defender blocking application
    Unable to run downloaded Programs due to Defender SmartScreen Windows
  • Screenshot 2020 12 06 at 17.01.38
    Start Print Spooler Service: How to fix Print Spooler Service not running Windows

More Related Articles

Banner How to Stop OneDrive from Starting Up Automatically on Windows 11 Windows
nodee How to install Cypress on Windows and perform Automation Windows
MBAM roles Understanding Microsoft BitLocker Administration and Monitoring Roles Windows
Screenshot 2020 12 06 at 17.44.32 Windows cannot connect to the printer: Operation Failed with error 0x000004f8 Windows
Smartscreen defender blocking application Unable to run downloaded Programs due to Defender SmartScreen Windows
Screenshot 2020 12 06 at 17.01.38 Start Print Spooler Service: How to fix Print Spooler Service not running 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

Veeam Vanguard

  • TPM 1
    How to fix unable to find compatible TPM Windows
  • telnet
    Could not open a connection to the host, on the port, connect failed Windows Server
  • SQL server authentication mode
    Change from SQL Server and Windows Authentication Mode to Windows authentication Mode Oracle/MSSQL/MySQL
  • Database Collation
    Change SQL Database Collation: ePO events DB and SQL server should match with ePO core collation Oracle/MSSQL/MySQL
  • Azure DevOps Server
    How to Install Azure DevOps Server 2022 Automation
  • Featured image Win1022H2
    How to get the Windows 10 Version 22H2 Update Windows
  • Screenshot 2020 05 14 at 17.47.09
    Configure OpenSSH Server: A Quick Guide Linux
  • GitVulfix456zgfbn
    Git Vulnerability: Git for Windows uninstaller is vulnerable to DLL hijacking when run under the SYSTEM user account Version Control System

Subscribe to Blog via Email

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

Join 1,819 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

Active Directory 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.