Start -> Run -> gpedit.msc -> User Configuration -> Administrative Templates -> Windows Components -> Windows Update.
There, you will find an option called “Do not adjust default option” to ‘Install Updates And Shut Down’ in Shut Down Windows dialog box.