Decrease the shutdown timing

If you want to decrease the timing of system shutdown
Run Regeidt and go to the following keys.
Hkey_Current_User \ Control Panel \ Desktop \
then select Waittokillapptimeout
modify the value to 1000
Then press ok after that select hungapptimeout
then right click on right panel & select modify and change the value to 1000 and click OK
In registry editor find the following key
Hkey_Users \ Default \ Control Panel \ Desktop
After that select Waittokillapptimeout right click on right panel and select Modify
And change the value to 1000 after that click on OK
Search the following key in registry Hkey_Local_Machine \ System \ Currentcontrolset \ Control, after that select waittokillservicetimeout, right click and select modify and change the value to 1000 and click OK