Performance & Energy management settings

Most important energy management settings

Go to Control panel

  • - System and security => Power management -> Profile "High performance"
  • - Check if Processor speed set to 100%
    - Wireless settings Network adapter => Maximum performance
    - Switch off selective USB
  • - System => Advanced system settings => "best performance" & Advanced Virtual Memory (Pagefile)


  • - Disable C-disk indexing at properties
  • - Device management => Network interfaces Properties => Power management "off"
  • - Run "msconfig" => At Services select "Hide all Microsoft services" and deselect unwanted running sevices.

Disk Cleanup => Old windows installation include
Settings -> Privacy - Feedback and Diagnostics. Change to: Basic
Settings -> Privacy => Background Apps

Task manager => startup - disable additional programs

Device management => Network interfaces Properties => Power management "off"

Energy Management => behaviour On/Off buttons => Change setting not available => "Fast startup on" => disable this.

Fast startup of MS Office apps like Word & Excel & Powerpoint : Options -> Trustcentre -> Settings for Trustcentre -> Secured view -> Deselect all..



Make a small script to update & cleanup old stuff. Run this script on demand when needed..

Copy text below and insert into a new text file.

Rename file <somefilename>.txt  to  <somefilename>.bat (so, change the extension).

Execute by right click on the file "Run as administrator"!



: Created by Ad Kuijpers (AK72)
: This email address is being protected from spambots. You need JavaScript enabled to view it.
: Version 4.6
: Latest update on 12-3-2021

: Old regsvr32
: regsvr32 \windows\system32\zipfldr.dll /u /s

start /B /WAIT ms-windows-store:updates

start /B /WAIT ms-settings:windowsupdate


del /F /Q \windows\prefetch\*.pf
del /F /Q /S \Windows\Temp\*
FOR /F "delims=" %%G IN ('dir /b /ad "c:\Windows\Temp"') DO @( rmdir /Q /S "c:\Windows\Temp\%%~G" )

: rmdir /Q /S \Windows\Temp
: mkdir \Windows\Temp
: TAKEOWN /F C:\Windows\Temp /R /D Y
: ICACLS "C:\Windows\Temp" /reset /T
: NEXT if you get error 2502/2503 when installing/removing software...
: ICACLS "C:\Windows\Temp" /grant:r Users:F /T
: ICACLS "C:\Windows\Temp" /grant:r Gebruikers:F /T

: FOR /F %%G IN ('dir /b /ad c:\users') DO rmdir /Q /S c:\users\%%G\appdata\local\temp
: FOR /F %%G IN ('dir /b /ad c:\users') DO mkdir c:\users\%%G\appdata\local\temp
: FOR /F %%G IN ('dir /b /ad c:\users') DO echo c:\users\%%G\appdata\local\temp

FOR /F "delims=" %%G IN ('dir /b /ad "c:\users"') DO @( rmdir /Q /S "c:\users\%%~G\appdata\local\temp" )
FOR /F "delims=" %%G IN ('dir /b /ad "c:\users"') DO @( mkdir "c:\users\%%~G\appdata\local\temp" )
FOR /F "delims=" %%G IN ('dir /b /ad "c:\users"') DO @( ICACLS "c:\users\%%~G\appdata\local\temp" /reset /T )


sc config DiagTrack start= disabled
sc config dmwappushservice start= disabled
sc stop DiagTrack
sc stop dmwappushservice
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection\ /v AllowTelemetry /t REG_DWORD /d 0 /f

sc config Wsearch start= disabled
sc stop Wsearch

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxySettingsPerUser /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f

c:\windows\SYSTEM32\cleanmgr.exe /dC /autoclean
c:\windows\SYSTEM32\cleanmgr.exe /dC

echo Continue to start the check disk procedure


echo Continue to set Energy timeout for laptop

Powercfg -CHANGE -monitor-timeout-ac 30
Powercfg -CHANGE -monitor-timeout-dc 10
Powercfg -CHANGE -disk-timeout-ac 0
Powercfg -CHANGE -disk-timeout-dc 0
Powercfg -CHANGE -standby-timeout-ac 0
Powercfg -CHANGE -standby-timeout-dc 20
Powercfg -CHANGE -hibernate-timeout-ac 0
Powercfg -CHANGE -hibernate-timeout-dc 0

:echo Continue to prefer IPv4 over IPv6 on alle interfaces and add OpenDNS
: Prefer IPv4 over IPv6
: reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" /v DisabledComponents /t REG_DWORD /d 0x20 /f
: OpenDNS server IPv6: #DNS, IPv6 2620:119:35::35 and 2620:119:53::53
: OpenDNS server IPv4: #DNS, IPv4 and

echo Continue to start the full SFC scan...this will take some time.

sfc /scannow

: Last pause command to show the results of SFC scan..