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)

Other

  • - 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.8
: Latest update on 5-6-2021

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

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

start /B /WAIT ms-settings:windowsupdate
pause

msconfig
pause

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 )

pause


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

:For old systems the next will force the cpu at minimal 100%. Default value: 3
reg add "HKLM\SYSTEM\CurrentControlSet\Services\intelppm" /v Start /t REG_DWORD /d 4 /f

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

echo Continue to start the check disk procedure
pause

CHKDSK C: /F
CHKDSK D: /F

echo Continue to set Energy timeout for laptop
pause

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
:pause
: 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 208.67.222.222 and 208.67.220.220


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

sfc /scannow

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


exit

 

 

  If you like my website, feel free to donate via the Paypal button. Thank you!