3

I face the problem of my coworker often shutdowns by simply pressing alt+f4 often he shut downs it. Is it there any way to stop this kind of activities in order to prevent accidental shutdown?

0

1 Answer 1

1

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

3
  • Out of date path. Also, just copy and paste the actual path with \ and everything. Now someone can just paste that into regedit instead of laboriously clicking. Commented Apr 22, 2021 at 4:29
  • The correct path for the NoClose value would be HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer but anyhow, I don't think this answers the question as it seems this prevent Shutdown altogether, and not just from Alt+F4. Commented May 8, 2023 at 15:19
  • This is too aggressive; it also hides the shutdown options on the Win-X menu. After activating this, I only was able to shut down the machine by using an administrator console.
    – cskwg
    Commented Sep 10, 2023 at 4:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .