fruworg.github.io/content/posts/windows-disable-shutdown.md
2023-09-25 21:36:25 +03:00

16 lines
648 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Отключение возможности выключения/перезагрузки/сна на Windows
description: Позволяет отключить определённую функцию
date: 2023-04-06T12:15:00+05:00
tags: [windows]
---
## Отключение
В ветке реестра выставить значение value на 1.
```sh
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Start\HideShutDown
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Start\HideRestart
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Start\HideSleep
# regedit
```