본문 바로가기
컴퓨터 Computer/레지스트리

422. 윈도우10 다음 시간 이후에 하드 디스크 끄기 사용 안 함 (고급 전원 관리 옵션) | Windows 10 Power Options - Advanced power settings - Turn off hard disk after

by #XTRM 2024. 9. 3.
반응형

Windows 10 Turn off hard disk after 

Start > Windows Settings > System > Power & sleep > Additional power settings
Control Panel > All Control Panel Items > Power Options > Change settings for the plan > Change advanced power settings

   - Hard Disk - Turn off hard disk after

 

윈도우10 다음 시간 이후에 하드 디스크 끄기

시작 > Windows 설정 > 시스템 > 전원 및 절전 > 추가 전원 설정
제어판 > 하드웨어 및 소리 > 전원 옵션 > 전원 관리 옵션 설정 편집 > 고급 전원 관리 옵션 설정 변경

  - 하드디스크 - 다음 시간 이후에 하드 디스크 끄기

 

CMD (Command Prompt) 명령 스크립트

이 명령어는 Windows의 powercfg.exe 도구를 사용하여 현재 활성화된 전원 계획에서 AC 전원 상태일 때 하드 디스크가 자동으로 꺼지는 시간을 설정합니다. 하드 디스크가 유휴 상태가 되더라도 자동으로 꺼지지 않도록 설정합니다. 즉, 하드 디스크 끄기 기능이 비활성화됩니다.

powercfg.exe -setacvalueindex scheme_current 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 000
  • powercfg.exe -setacvalueindex: 이 부분은 특정 전원 계획에서 AC 전원 상태에 대한 특정 전원 설정 값을 변경하는 명령어입니다.
  • scheme_current: 현재 활성화된 전원 계획을 대상으로 설정합니다.
  • 0012ee47-9041-4b5d-9b77-535fba8b1442: "하드 디스크(Hard Disk)" 서브 그룹의 GUID입니다. 이 서브 그룹은 하드 디스크와 관련된 전원 설정을 포함합니다.
  • 6738e2c4-e8a5-4a42-b16a-e040e769756e: "다음 시간 이후에 하드 디스크 끄기(Turn off hard disk after)" 설정의 GUID입니다. 이 설정은 하드 디스크가 유휴 상태가 되었을 때 꺼지는 시간을 제어합니다.
    powercf.exe /query
    하위 그룹 GUID: 0012ee47-9041-4b5d-9b77-535fba8b1442  (하드 디스크)
        GUID 별칭: SUB_DISK
            전원 설정 GUID: 6738e2c4-e8a5-4a42-b16a-e040e769756e  (다음 시간 이후에 하드 디스크 끄기)
                GUID 별칭: DISKIDLE
  • 000: 이 값은 하드 디스크가 0분 후에 꺼지지 않도록 설정합니다. 즉, 하드 디스크가 유휴 상태라도 자동으로 꺼지지 않으며, 이 설정은 "사용 안 함"으로 간주됩니다.
  • 이 명령어를 실행하면, 현재 활성화된 전원 계획에서 AC 전원 상태일 때 하드 디스크가 유휴 상태로 들어가도 자동으로 꺼지지 않도록 설정됩니다. 결과적으로, 하드 디스크는 유휴 상태일 때 계속해서 작동하게 됩니다.

 

반응형

배치 파일 스크립트 (Windows Batch Script Example)

윈도우10 시작 > Windows 설정 > 시스템 > 전원 및 절전 > 추가 전원 설정
제어판 > 하드웨어 및 소리 > 전원 옵션 > 전원 관리 옵션 설정 편집 > 고급 전원 관리 옵션 설정 변경

   >>   하드디스크 - 다음 시간 이후에 하드 디스크 끄기 : 사용 안 함  (Never)

@echo off

REM Windows 10 Advanced power settings - Hard Disk - Turn off hard disk after
powercfg.exe -setacvalueindex scheme_current 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 000

pause
exit

배치 파일 (Batch File) 만들기

  • 메모장 또는 다른 텍스트 편집기를 엽니다.
  • 위의 코드를 복사하여 텍스트 편집기에 붙여넣습니다.
  • 파일을 저장합니다. 예를 들어, Windows_Settings.bat 로 저장합니다. 파일 확장자는 .bat로 지정해야 합니다.
  • 배치 파일을 관리자 권한으로 실행합니다. (배치 파일을 우클릭한 후 "관리자 권한으로 실행"을 선택합니다.)

배치 파일 테스트 영상 (Batch file tested video) 

영상보기 : https://youtu.be/0iL3BIZHUcU

 

윈도우 설정 참고 사이트 URL (Reference site URL for Windows settings)

How to Change Turn Off Display After Time in Windows 10

https://www.tenforums.com/tutorials/22691-change-turn-off-display-after-time-windows-10-a.html

(Plugged in)
powercfg /SETACVALUEINDEX SCHEME_CURRENT 7516b95f-f776-4464-8c53-06167f40cc99 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e <seconds>

Substitute <minutes> in the commands above with how many minutes you want to turn off display after.
Substitute <seconds> in the commands above with how many seconds you want to turn off display after.
Using 0 (zero) minutes or seconds will be the same as "Never".

 

마이크로소프트 지원 URL (Link to Microsoft Support Web Page)

Powercfg command-line options

https://learn.microsoft.com/en-us/windows-hardware/design/device-experiences/powercfg-command-line-options

 

Powercfg command-line options

You can use the powercfg.exe tool to control power schemes (also named power plans) to use the available sleep states, to control the power states of individual devices, and to analyze the system for common energy-efficiency and battery-life problems.

learn.microsoft.com

 

 

- E N D -

 

www.youtube.com/@XTRM

 

소프트엑스 XTRM

SOFTware unknown X of XTRM 컴퓨터 유지보수 기술 공유 채널입니다.

www.youtube.com

 

<소프트엑스 XTRM 추천영상>

^^*

반응형

댓글