Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

119 lines
5.3 KiB

  1. ; POWERCFG.INF
  2. ; Copyright (c) 1993-2000, Microsoft Corporation
  3. [Version]
  4. Signature = "$CHICAGO$"
  5. SetupClass = BASE
  6. LayoutFile = layout.inf, layout1.inf
  7. [DestinationDirs]
  8. PowerCfg.copy.inf = 17 ; LDID_INF
  9. PowerCfg.copy.sys = 11 ; LDID_SYS
  10. [BaseWinOptions]
  11. PowerCfg.base
  12. [PowerCfg.base]
  13. CopyFiles = PowerCfg.copy.inf, PowerCfg.copy.sys
  14. AddReg = PowerCfg.addreg
  15. [PowerCfg.copy.inf]
  16. ; files to copy to \windows\inf directory
  17. PowerCfg.inf
  18. [PowerCfg.copy.sys]
  19. ; files to copy to \windows\system directory
  20. powercfg.cpl
  21. powrprof.dll
  22. batmeter.dll
  23. [PowerCfg.addreg]
  24. HKCU,"Control Panel\PowerCfg",CurrentPowerPolicy,0x00000002,"0"
  25. HKCU,"Control Panel\PowerCfg\GlobalPowerPolicy",Policies,0x00030003,\
  26. 01,00,00,00,06,00,00,00,03,00,00,00,00,00,00,00,\
  27. 06,00,00,00,03,00,00,00,00,00,00,00,02,00,00,00,\
  28. 03,00,00,00,00,00,00,00,02,00,00,00,03,00,00,00,\
  29. 00,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,\
  30. 02,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,\
  31. 03,00,00,00,02,00,00,00,00,00,00,C0,01,00,00,00,\
  32. 05,00,00,00,01,00,00,00,0A,00,00,00,00,00,00,00,\
  33. 03,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,\
  34. 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  35. 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  36. 00,00,00,00,00,00,00,00,00,00,00,00,16,00,00,00
  37. HKCU,"Control Panel\PowerCfg\PowerPolicies\0",Name,0x00000002,"Home/Office Desk"
  38. HKCU,"Control Panel\PowerCfg\PowerPolicies\0",Description,0x00000002,"This scheme is suited to most home or desktop computers that are left plugged in all the time."
  39. HKCU,"Control Panel\PowerCfg\PowerPolicies\0",Policies,0x00030003,\
  40. 01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,\
  41. 02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  42. 2C,01,00,00,32,32,00,03,04,00,00,00,04,00,00,00,\
  43. 00,00,00,00,00,00,00,00,B0,04,00,00,2C,01,00,00,\
  44. 00,00,00,00,58,02,00,00,01,01,64,50,64,64,00,00
  45. HKCU,"Control Panel\PowerCfg\PowerPolicies\1",Name,0x00000002,"Portable/Laptop"
  46. HKCU,"Control Panel\PowerCfg\PowerPolicies\1",Description,0x00000002,"This scheme is designed for extended battery life for portable computers on the road."
  47. HKCU,"Control Panel\PowerCfg\PowerPolicies\1",Policies,0x00030003,\
  48. 01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,\
  49. 02,00,00,00,01,00,00,00,00,00,00,00,B0,04,00,00,\
  50. 2C,01,00,00,32,32,03,03,04,00,00,00,04,00,00,00,\
  51. 00,00,00,00,00,00,00,00,84,03,00,00,2C,01,00,00,\
  52. 08,07,00,00,2C,01,00,00,01,01,64,50,64,64,00,00
  53. HKCU,"Control Panel\PowerCfg\PowerPolicies\2",Name,0x00000002,"Presentation"
  54. HKCU,"Control Panel\PowerCfg\PowerPolicies\2",Description,0x00000002,"This scheme keeps the monitor on for doing presentations."
  55. HKCU,"Control Panel\PowerCfg\PowerPolicies\2",Policies,0x00030003,\
  56. 01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,\
  57. 02,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,\
  58. 84,03,00,00,32,32,03,02,04,00,00,00,04,00,00,00,\
  59. 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  60. 00,00,00,00,2C,01,00,00,01,01,50,50,64,64,00,00
  61. HKCU,"Control Panel\PowerCfg\PowerPolicies\3",Name,0x00000002,"Always On"
  62. HKCU,"Control Panel\PowerCfg\PowerPolicies\3",Description,0x00000002,"This scheme keeps the computer running so that it can be accessed from the network. Use this scheme if you do not have network wakeup hardware."
  63. HKCU,"Control Panel\PowerCfg\PowerPolicies\3",Policies,0x00030003,\
  64. 01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,\
  65. 02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  66. 00,00,00,00,32,32,00,00,04,00,00,00,04,00,00,00,\
  67. 00,00,00,00,00,00,00,00,B0,04,00,00,84,03,00,00,\
  68. 00,00,00,00,08,07,00,00,00,01,64,64,64,64,00,00
  69. HKCU,"Control Panel\PowerCfg\PowerPolicies\4",Name,0x00000002,"Minimal Power Management"
  70. HKCU,"Control Panel\PowerCfg\PowerPolicies\4",Description,0x00000002,"This scheme keeps the computer on and optimizes it for high performance."
  71. HKCU,"Control Panel\PowerCfg\PowerPolicies\4",Policies,0x00030003,\
  72. 01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,\
  73. 02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  74. 2C,01,00,00,32,32,03,03,04,00,00,00,04,00,00,00,\
  75. 00,00,00,00,00,00,00,00,84,03,00,00,2C,01,00,00,\
  76. 00,00,00,00,84,03,00,00,00,01,64,64,64,64,00,00
  77. HKCU,"Control Panel\PowerCfg\PowerPolicies\5",Name,0x00000002,"Max Battery"
  78. HKCU,"Control Panel\PowerCfg\PowerPolicies\5",Description,0x00000002,"This scheme is extremely aggressive for saving power."
  79. HKCU,"Control Panel\PowerCfg\PowerPolicies\5",Policies,0x00030003,\
  80. 01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,\
  81. 02,00,00,00,05,00,00,00,00,00,00,00,B0,04,00,00,\
  82. 78,00,00,00,32,32,03,02,04,00,00,00,04,00,00,00,\
  83. 00,00,00,00,00,00,00,00,84,03,00,00,3C,00,00,00,\
  84. 00,00,00,00,B4,00,00,00,01,01,64,32,64,64,00,00
  85. @p:HKCU,"Control Panel\PowerCfg\GlobalPowerPolicy",Policies,0x00030003,\
  86. @p: 01,00,00,00,00,00,00,00,03,00,00,00,08,00,00,00,\
  87. @p: 00,00,00,00,03,00,00,00,08,00,00,00,02,00,00,00,\
  88. @p: 03,00,00,00,00,00,00,00,02,00,00,00,03,00,00,00,\
  89. @p: 00,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,\
  90. @p: 02,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,\
  91. @p: 03,00,00,00,02,00,00,00,00,00,00,C0,01,00,00,00,\
  92. @p: 05,00,00,00,01,00,00,00,0A,00,00,00,00,00,00,00,\
  93. @p: 03,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,\
  94. @p: 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  95. @p: 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  96. @p: 00,00,00,00,00,00,00,00,00,00,00,00,12,00,00,00