In Windows XP, Vista and Windows 7, the process of shutdown is quite simple. But in Windows 8 and Windows…