Is it there any way to prevent alt+f4 shutdown in windows
why cant you disable the shut down by changing the keys bindings for Alt+f4 key?
Navigate to registry editor by typing regedit `
Navigate to the following registry location
HKEY_CURRENT_USER --> SOFTWARE --> MICROSOFT --> WINDOWS –> POLICIES –> EXPLORER
Then on the right side of Registry Editor, Right Click your mouse to open a list.
Now go to NEW –> Dwood Value.
Name this value as “NoClose“
After creating click on it and give Value Data 1
now reboot your pc ,next time cant shutdown your pc
hope it helps