LoginSignup
1

More than 5 years have passed since last update.

powershellでスクリーンセーバーの待ち時間を設定

Last updated at Posted at 2018-07-24

1.概要

powershellでスクリーンセーバーの待ち時間を自動設定するスクリプト。
自分用の覚え書きなので悪しからず。

2.環境

・powershell : 5.1

3.コード

screen_set.ps1
Set-ItemProperty -Path 'HKCU:\Control Panel\Desktop' -Name "ScreenSaveTimeOut" -Value "540" #スクリーンセーバー起動までの待ち時間
Restart-Computer -Force #設定反映のため、強制再起動

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1