it's a very common issues for windows user. this restart windows comes when we install a new software. i am facing same problem many time but i found solution may this work for you. some time this issues solve after restarting a PC or laptop but sometime restarting or shutdown pc not work. this error come again and again when you install software. use following solution may this solution help for you. for more details check the video on YouTube. this program comes for me when i install a stpe7 software. i tried lot but nothing work. so i use following fix for restart window error.
now make a following changes in your registry editor carefully, in registry editor go to path "HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control \ Session Manager".
Check the value in "PendingFileRenameOperations" to check value open value dialog box right click on "PendingFileRenameOperations" and select modify, or double click on "PendingFileRenameOperations".
a edit multi-string dialogue box open you see the value data filled with many values
delete all values of "PendingFileRenameOperations" for delete value of "PendingFileRenameOperations" press Ctrl+A and right click on multi-string dialogue box and select delete. check proper values are deleted or not after successfully delete again open setup as administrator and install.
this work for me hope this work for you also. if not work check registry editor open as administrator or not or check privileges of register editor. if found anything wrong or not work this help comment below.