Auto-commit: 2025-10-31 08:58:35
This commit is contained in:
8
Windows-Powercfg/powercfg.cmd
Normal file
8
Windows-Powercfg/powercfg.cmd
Normal file
@@ -0,0 +1,8 @@
|
||||
powercfg -change -monitor-timeout-ac 15
|
||||
powercfg -change -monitor-timeout-dc 15
|
||||
powercfg -change -disk-timeout-ac 0
|
||||
powercfg -change -disk-timeout-dc 0
|
||||
powercfg -change -standby-timeout-ac 0
|
||||
powercfg -change -standby-timeout-dc 0
|
||||
powercfg -change -hibernate-timeout-ac 0
|
||||
powercfg -change -hibernate-timeout-dc 0
|
||||
18
Windows-Powercfg/readme.md
Normal file
18
Windows-Powercfg/readme.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# 🔋 Windows Power Configuration Script
|
||||
|
||||
## 🔧 What it does
|
||||
This script sets custom **power settings** using `powercfg`:
|
||||
- Turns off the **display after 15 minutes** (AC & battery).
|
||||
- Disables **disk timeout** (never turn off disks).
|
||||
- Disables **sleep/standby** (AC & battery).
|
||||
- Disables **hibernation** (AC & battery).
|
||||
|
||||
---
|
||||
|
||||
## ⚠️ Notes
|
||||
- Requires **administrator rights**.
|
||||
- Settings apply to the **active power plan**.
|
||||
- You can adjust values (in minutes) if needed, e.g.:
|
||||
```batch
|
||||
powercfg -change -monitor-timeout-ac 10
|
||||
```
|
||||
Reference in New Issue
Block a user