Windows disable enhancedpowermanagement by default

خرید بک لینک

I use many USB HID devices and since Windows 8, the Power Management disables them by default.

I wrote a script to change that, but I don't want to have to run this script every time I add a device.

@echo off
setlocal
set key=HKEY_LOCAL_MACHINESYSTEMCurrentControlSetEnumUSBVID_XXXX^&PID_XXXX
for /f %%a in ('reg query "%key%"') do (
   reg add "%key%%%~naDevice Parameters" /t REG_DWORD /f /v EnhancedPowerManagementEnabled /d 0x0 
)

Is there a way to set the registry key of enhancedpowermanagement to 0 by default ? Using a custom INF for a HID device ?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 175 تاريخ: چهارشنبه 5 خرداد 1395 ساعت: 15:32

صفحه بندی