How to skip RESTART option in Windows

By making changes to the below command sometimes we can skip from the options where the Windows operating system asking us for restart the machine. However, this is mostly not a recommended practice. Go to run command and run REGEDIT and make the below changes.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\pendingfilerename

double click on "pendingfilerename" and you will find some data and delete values under Value data.
Some times even deleting data will not skip restart option in that cases delete "pending file rename" file totally. This will get creates automatically after server restarts.


Comments

Popular posts from this blog

System.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out

Pre login Handshake or Connection Timeout Period

Transparent Data Encryption(TDE) with Master Key and Certificate in SQL Server