15 lines
511 B
PowerShell
15 lines
511 B
PowerShell
# Disable monitor timeout (plugged in/battery)
|
|
#& powercfg /change monitor-timeout-ac 0
|
|
#& powercfg /change monitor-timeout-dc 0
|
|
|
|
# Disable disk timeout (plugged in/battery)
|
|
#& powercfg /change disk-timeout-ac 0
|
|
#& powercfg /change disk-timeout-dc 0
|
|
|
|
# Disable standby timeout (plugged in/battery)
|
|
& powercfg /change standby-timeout-ac 0
|
|
& powercfg /change standby-timeout-dc 0
|
|
|
|
# Disable hibernate timeout (plugged in/battery)
|
|
& powercfg /change hibernate-timeout-ac 0
|
|
& powercfg /change hibernate-timeout-dc 0 |