"Allow the computer to turn off this device to save power" config

AWimAwayAWimAway

New Member
Messages
8
Reaction score
1
Hi,

I have been wrapping my brain on how to fix this issue in deployment and was wondering if any one knows how to do this.

I have a Intel NIC I226-LM and have been trying to get my deployment to have the option "Allow the computer to turn off this device to save power" default to off.
So far I have been unsuccessful.

Methods I tried:

Post_Setup cmds for each NIC
reg add "HKLM\SYSTEM\CurrentControlSet\Enum\PCI\VEN_8086&DEV_125B&SUBSYS_00008086&REV_04\0017FDFFFF6002F100\Device Parameters\WDF" /v IdleInWorkingState /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Enum\PCI\VEN_8086&DEV_125B&SUBSYS_00008086&REV_04\001395FFFF67FFD100\Device Parameters\WDF" /v IdleInWorkingState /t REG_DWORD /d 0 /f

Running a SetupComplete.cmd that pulls a script and scheduled a task to run a fixnic.cmd

Power Options
Advance power settings > PCI Express > Link State Power Management > Settings: OFF

If any one could be my hero and shed some light on on this I would really appreciate as I'm still very new to learning about windows deployment, even though I'm loving learning about it this is creating me a headache lol
 

Attachments

I would use a short PS script, which you can add as a File to Post-Setup (Before logon).

Code:
foreach ($Key in (Get-ChildItem -Path 'HKLM:\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}' -ErrorAction SilentlyContinue).PSPath) {
    if (Get-ItemProperty $Key | where { $_.DriverDesc -match 'Intel' }) {
        Set-ItemProperty $Key -Name PnPCapabilities -Value 24
    }
}
 
Sorry to say this did not work. I thought the option that dictates this is

HKLM\SYSTEM\CurrentControlSet\Enum\PCI\VEN_8086&DEV_125B&SUBSYS_00008086&REV_04\0017FDFFFF6002F100\Device Parameters\WDF
IdIelnWorkingState

HKLM\SYSTEM\CurrentControlSet\Enum\PCI\VEN_8086&DEV_125B&SUBSYS_00008086&REV_04\001395FFFF67FFD100\Device Parameters\WDF
IdleInWorkingState


1758608853612.png

I can see the keys I think your .ps1 in ControlSet001 tho but it does not look like it took any effect
1758609590200.png
 
Thanks very much for your help and looking.

My solution for this is very basic. From OOBE have the production engineer Press shift f10 to get into Admin CMD and type devmgmt.msc and manually change the setting.
This means any user created after will have this off by default.
 
Back
Top