Is it taking too long to logoff and shutdown your Windows machine. Please make a shortcut for the following command.
shutdown /s /t 0
Copy the shortcut to the desktop or the quick launch bar, whatever is convenient. Double clicking on it will make the system to shut down immediately.