Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ApmActive] "Active"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ApmActive] "Active"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\0001\System\CurrentControlSet\Enum\ROOT\NTAPM] [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\0001\System\CurrentControlSet\Enum\ROOT\NTAPM\0000] [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\Current\System\CurrentControlSet\Enum\ROOT\NTAPM] [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\Current\System\CurrentControlSet\Enum\ROOT\NTAPM\0000] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\ROOT\NTAPM] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\ROOT\NTAPM\0000] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Enum\ROOT\NTAPM] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Enum\ROOT\NTAPM\0000] [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NTAPM\0000\Control] "ActiveService"="NtApm"
Windows has a problem with those last 2 lines every time:
Cannot import apm.reg: Not all data was successfully written to the registry. Some keys are open by the system or other processes.
i first tried putting that registry key in during RunOnceEx. didn't work. then i tried cmdlines.txt--no luck. then i tried [GuiRunOnce] in winnt.sif. didn't even work then. i've tried playing around with other options, but i can't figure out how to simply enable apm using the command line. apparently Windoze treats it as a service named NTAPM, but normal commands like net start ntapm won't work:
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
The only way i can manage to get apm working is to check the box in the APM tab of power properties in the display control. i'd love to have it automatically work though as i have to set up quite a few computers every day. any suggestions?



Help
Back to top









