Skip to content

This cmd file requests admistrative privileges, disables windows auto restart on system failure from advanced system settings, adds registry file to disable auto restart for widows update and finaly updates group policy. After running cmd file your windows shouldn't autorestart while signed in.

License

Notifications You must be signed in to change notification settings

Rejwan-Inteser/Disable-Auto-Restart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Disable AutoRestart Script

This script automates the process of disabling automatic restarts on your Windows system, particularly during system failures and Windows Updates. It requests administrative privileges, modifies registry settings related to Windows Update and automatic restarts, updates Group Policy, and restarts the Windows Update service.

Usage

  1. Download Script:

  2. Run as Administrator:

    • Click on the downloaded file (Disable_Auto_Restart.cmd) or (Disable_Auto_Restart.exe) and run it.
    • When prompted, grant administrative privileges.
  3. Follow Instructions:

    • The script will display instructions and a countdown.
    • After the countdown, it will update Group Policy, disable automatic updates, and restart the Windows Update service.
  4. Configuration Completed:

    • Once the script completes, your Windows system should have auto-restart disabled successfully.

Important Notes

  • Security Considerations:

    • Disabling automatic updates can expose your system to security risks. Use this script with caution and consider enabling updates periodically for security purposes.
  • Administrative Privileges:

    • Ensure that you run the file with administrative privileges for it to make the necessary changes.
  • Windows Update Service:

    • The script stops and restarts the Windows Update service as part of the configuration.
  • Group Policy Update:

    • The script forces an update of Group Policy to apply the changes.
  • Use at Your Own Risk:

    • Understand the impact of disabling auto-restart and automatic updates on your system. Use the script at your own risk.

License

This script is provided under the MIT License. See the LICENSE file for more details.

About

This cmd file requests admistrative privileges, disables windows auto restart on system failure from advanced system settings, adds registry file to disable auto restart for widows update and finaly updates group policy. After running cmd file your windows shouldn't autorestart while signed in.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published