일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- Windows
- 파워셸
- 레노버
- 가로화면
- Shortcut Key
- 구글웹화면
- 번역툴
- 구글메인화면
- 가을
- 윈도우 탐색기
- Google Calendar
- 단축키
- 일정관리
- 구글캘린더
- 스케쥴
- 여름
- rainlendar
- Firefox
- 아이콘크기
- 댓글스팸
- 달력
- Asterisk password reveal
- outwit hub
- 패스워드
- Edge E125
- 공유기 패스워드
- 2013사진공모전
- 통합도서회원증
- web scrapping
- * 암호
- Today
- Total
Black&White
Powercfg 를 이용해서 전원구성 변경 하기 본문
Powercfg 활용하기
AC 는 전원케이블에 연결된 경우
DC 는 배터리에 연결된 경우
기존 전원구성표(power scheme) 보기
Powercfg –L(or /L) 옵션 L 은 대/소문자 구분안함
C:\Documents and Settings\bluesky>powercfg -l
기존 전원 구성표
----------------------
최대 배터리
최소 전원 관리
항상 켜기
프레젠테이션
휴대용/랩톱
가정용/사무실용
현재 전원구성상태 보기
Powercfg –q(or /q)
C:\Documents and Settings\bluesky>powercfg -q
필드 설명 값
----------------- -----
이름 가정용/사무실용
숫자 ID 0
모니터 끄기(AC) 제한 없음
모니터 끄기(DC) 15분 후
하드 디스크 끄기(AC) 제한 없음
하드 디스크 끄기(DC) 30분 후
시스템 대기 모드(AC) 지원 안 됨
시스템 대기 모드(DC) 지원 안 됨
시스템 최대 절전 모드(AC) 제한 없음
시스템 최대 절전 모드(DC) 제한 없음
프로세서 스로틀(AC) 지원 안 됨
프로세서 스로틀(DC) 지원 안 됨
전원구성표 설정/변경하기
Powercfg –setactive 전원구성표이름
C:\>powercfg -setactive "항상 켜기"
C:\>powercfg -q
필드 설명 값
----------------- -----
이름 항상 켜기
숫자 ID 3
모니터 끄기(AC) 30분 후
모니터 끄기(DC) 15분 후
하드 디스크 끄기(AC) 제한 없음
하드 디스크 끄기(DC) 30분 후
시스템 대기 모드(AC) 지원 안 됨
시스템 대기 모드(DC) 지원 안 됨
시스템 최대 절전 모드(AC) 제한 없음
시스템 최대 절전 모드(DC) 제한 없음
프로세서 스로틀(AC) 지원 안 됨
프로세서 스로틀(DC) 지원 안 됨
전원구성표 세부 설정 변경하기
모니터끄기 시간 설정 powercfg
-change "Always On" -monitor-timeout-ac 시간(분)
하드 디스크 끄기(AC) powercfg
-change "Always On" -disk-timeout-ac 시간(분)
시스템 대기 모드(AC) powercfg
-change "Always On" -standby-timeout-ac 시간(분)
시스템 최대 절전 모드(AC) powercfg
-change "Always On" -hibernate-timeout-ac 시간(분)
시스템 최대 절전 모드 켜기/끄기
시스템 최대 절전 모드 켜기 powercfg -hibernate on
시스템 최대 절전 모드 끄기 powercfg -hibernate off
<참고 : http://technet.microsoft.com/en-us/library/cc748940%28WS.10%29.aspx>
Powercfg Command-Line Options
You can use the Powercfg.exe tool to control power settings and configure computers to default to Hibernate or Standby modes.
The Powercfg.exe tool is installed with Windows.
Powercfg Command-Line Options
The following command-line options are available for Powercfg.
powercfg [-l] [-q ] [-x] [-changename] [-duplicatescheme] [-d] [-deletesetting] [-setactive] [-getactivescheme] [-setacvalueindex] [-setdcvalueindex] [-h] [-a] [-devicequery] [-deviceenablewake] [-devicedisablewake] [-import] [-export] [-lastwake] [-?] [-aliases] [-setsecuritydescriptor] [-getsecuritydescriptor]
Option |
Description |
-list -l |
Lists all power schemes in the current user's environment. Example: powercfg -list |
-query [Scheme_GUID] [Sub_GUID] -q [Scheme_GUID] [Sub_GUID] |
Displays the contents of the specified power scheme. Usage: powercfg -query [Scheme_GUID] [Sub_GUID] SCHEME_GUID (Optional) Specifies the GUID of the power scheme to display. Can be obtained by using the powercfg -l command. SUB_GUID (Optional) Specifies the GUID of the subgroup to display. Requires a SCHEME_GUID to be provided. If neither SCHEME_GUID or SUB_GUID are provided, the settings of the current user's active power scheme are displayed. If SUB_GUID is not specified, all settings in the specified power scheme are displayed. |
-change settingvalue -x setting value |
Modifies a setting value in the current power scheme. Usage: powercfg–x setting value setting Specifies one of the following settings: -monitor-timeout-ac minutes -monitor-timeout-dc minutes -disk-timeout-ac minutes -disk-timeout-dc minutes -standby-timeout-ac minutes -standby-timeout-dc minutes -hibernate-timeout-ac minutes -hibernate-timeout-dc minutes value Specifies the value in minutes. Example: powercfg-change-monitor-timeout-ac5 This sets the monitor idle timeout value to five minutes when operating on AC power. |
-changename GUID name [scheme_description] |
Modifies the name of a power scheme and, optionally, the scheme description. Usage: powercfg–changename GUID namescheme_description GUID Specifies the GUID of the power scheme Name Specifies the name of the power scheme. scheme_description Describes the power scheme. If the description is omitted, then only the name will be changed. |
-duplicatescheme GUID [DestinationGUID] |
Duplicates the specified power scheme. The resulting GUID which represents the new scheme will be displayed. Usage: powercfg–duplicatescheme GUID [DestinationGUID] GUID Specifies a scheme GUID. Obtained by using the powercfg-l command. DestinationGUID Specifies the GUID where the scheme will be copied. If DestinationGUID is omitted, then a new GUID will be created for the duplicated scheme. |
-delete GUID -d GUID |
Deletes the power scheme with the specified GUID. Usage: Powercfg–delete GUID GUID Specifies the GUID of the scheme. Obtained by using the -list option. |
-deletesetting Sub_GUID Setting_GUID |
Deletes a power setting. Usage: powercfg–deletesetting Sub_GUID Setting_GUID Sub_GUID Specifies the subgroup GUID. Setting_GUID Specifies the power setting GUID. |
-setactive Scheme_GUID -s Scheme_GUID |
Makes the specified power scheme active on the computer. Usage: Powercfg–setactive Scheme_GUID Scheme_GUID Specifies the scheme GUID. |
-getactivescheme |
Retrieves the currently active power scheme. Usage: Powercfg-getactivescheme |
-setacvalueindex Scheme_GUID Sub_GUID Setting_GUID SettingIndex |
Sets a value associated with a specified power setting while the computer is powered by AC power. Usage: powercfg–setacvalueindex Scheme_GUIDSub_GUIDSetting_GUIDSettingIndex Scheme_GUID Specifies a power scheme GUID. Obtained by using the -l option. Sub_GUID Specifies a subgroup of power setting GUID. Obtained by using the -q option. Setting_GUID Specifies an individual power setting GUID. Obtained by using the -q option. SettingIndex Specifies which of the list of possible values this power setting will be set to. Example: powercfg–setacvalueindex Scheme_GUID Sub_GUID Setting_GUID 5 This sets the power setting's AC value to the fifth entry in the list of possible values for this power setting. |
-setdcvalueindex Scheme_GUID Sub_GUID Setting_GUID SettingIndex |
Sets a value associated with a specified power setting while the computer is powered by DC power. Usage: powercfg–setdcvalueindex Scheme_GUID Sub_GUID Setting_GUID SettingIndex Scheme_GUID Specifies a power scheme GUID. Obtained by using the -l option. Sub_GUID Specifies a subgroup of power setting GUID. Obtained by using the -q option. Setting_GUID Specifies an individual power setting GUID. Obtained by using the -q option. SettingIndex Specifies which of the list of possible values this power setting will be set to. Example: powercfg–setdcvalueindex Scheme_GUID Sub_GUID Setting_GUID 5 This sets the power setting's DC value to the fifth entry in the list of possible values for this power setting. |
-hibernate [on|off] -h [on|off] |
Enables or disables the hibernate feature. Hibernate timeout is not supported on all computers. Example: powercfg-h on |
-availablesleepstates -a |
Reports the sleep states available on the computer. Attempts to report reasons why sleep states are unavailable. |
-devicequery query_flags |
Returns a list of devices that meet the specified criteria. Usage: powercfg–devicequery query_flags query_flags Specifies one of the following criteria: wake_from_S1_supported – Returns all devices that support waking the computer from a light sleep state. wake_from_S2_supported – Returns all devices that support waking the computer from a deeper sleep state. wake_from_S3_supported – Returns all devices that support waking the computer from the deepest sleep state. wake_from_any – Returns all devices that support waking the computer from any sleep state. S1_supported – Lists devices supporting light sleep. S2_supported – Lists devices supporting deeper sleep. S3_supported – Lists devices supporting deepest sleep. S4_supported – Lists devices supporting hibernation. wake_programmable – Lists devices that are user-configurable to wake the computer from a sleep state. wake_armed – Lists devices that are currently configured to wake the computer from any sleep state. all_devices – Returns all devices present in the computer. all_devices_verbose – Returns a verbose list of devices. Example: powercfg -devicequery wake_armed |
-deviceenablewake devicename |
Enables the device to wake the computer from a sleep state. Usage: powercfg–deviceenablewake devicename devicename Specifies a device retrieved by using the powercfg-devicequerywake_programmable command. Example: powercfg-deviceenablewake"Microsoft USB IntelliMouse Explorer" |
-devicedisablewake devicename |
Disables the device from waking the computer from a sleep state. Usage: powercfg–devicedisablewake devicename devicename Specifies a device retrieved by using the powercfg-devicequerywake_armed command. |
-import filename [GUID] |
Imports all power settings from the specified file. Usage: powercfg–import filename [GUID] filename Specifies a fully qualified path to a file generated by using the powercfg-export option. GUID (optional) Represents the settings loaded into a power scheme. If not supplied, Powercfg will generate and use a new GUID Example: powercfg-importc:\scheme.pow |
-export filename GUID |
Exports a power scheme, represented by the specified GUID, to the specified file. Usage: powercfg -export filename GUID filename Specifies a fully qualified path to a destination file. GUID Specifies a power scheme GUID. Obtained by using the /l option. Example: powercfg -export c:\scheme.pow 381b4222-f694-41f0-9685-ff5bb260df2e |
-lastwake |
Reports information about the event that woke the computer from the last sleep transition. |
-help -? |
Displays information about the Powercfg command-line options. |
-aliases |
Displays all aliases and their corresponding GUIDs. The user may use these aliases in place of any GUID at the command prompt |
-setsecruitydescriptor [GUID|Action] SDDL |
Sets a security descriptor associated with a specified power setting, power scheme, or action. Usage: powercfg -setsecuritydescriptor [GUID|Action] SDDL GUID Specifies a power scheme or a power setting GUID. Action Specifies one of the following strings: ActionSetActive, ActionCreate, ActionDefault SDDL Specifies a valid security descriptor string in SDD format. Call powercfg -getsecuritydescriptor to see an example SDDL STRING. |
-getsecuritydescriptor [GUID|Action] |
Gets a security descriptor associated with a specified power setting, power scheme, or action. Usage: powercfg -getsecuritydescriptor [GUID|Action] GUID Specifies a power scheme or a power setting GUID. Action Specifies one of the following strings: ActionSetActive, ActionCreate, ActionDefault |
See Also
Concepts
Command-Line Tools Technical Reference
'Windows' 카테고리의 다른 글
Windows 타임 동기화 설정하기 (2) | 2011.07.12 |
---|---|
[Windows] 파일, 폴더 날짜 그대로 복사하기 (0) | 2011.06.21 |
cmd 창에서 프롬프트의 경로가 길어서 불편할 경우 (2) | 2011.04.21 |
Windows XP 설치 시간 반으로 줄이기 (0) | 2011.04.18 |
인터넷 익스플로워(iexplorer)의 폰트변경 (0) | 2007.08.29 |