Stop the automatically rebooting after Windows Updates !!

Normally Windows Update will automatically reboot the system when you have your system configured to "Automatically download recommended updates for my computer and install them" and one or more of those updates requires a reboot. This settings changes the behavior so when users are logged in the system will not automatically reboot.

Open your registry and find or create the key below.
Go here [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]

Create a new DWORD value, or modify the existing value, called "NoAutoRebootWithLoggedOnUsers" and set it (0 = no effect, 1 = do not automatically reboot)

Exit your registry; you may need to restart or log out of Windows for the change to take effect.
and you are done .!!