Skip to content

Instantly share code, notes, and snippets.

@marianposaceanu
Last active September 29, 2015 19:08
Show Gist options
  • Save marianposaceanu/1652078 to your computer and use it in GitHub Desktop.
Save marianposaceanu/1652078 to your computer and use it in GitHub Desktop.
useful_windows_7_tweaks

Windows 7 Tweaks

The analysis will take 60 seconds (which you can change with the optional - duration switch), after which powercfg will save its report as an HTML file on your desktop. Just double-click output.html to view the report.

powercfg -energy -output %userprofile%\desktop\output.html

Enabling this setting will prevent Windows from paging certain system processes to disk

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
DisablePagingExecutive // Values: 0 = disabled (default), 1 = enabled.
LargeSystemCache // Values: 0 = standard (default), 1 = large. 

Temps to clean: Out of the box, Windows 7 uses up to four Temp folders:

C:\Users\{your_user_name}\AppData\Local\Temp
C:\Users\Default\AppData\Local\Temp
C:\Windows\Temp
C:\Windows\winsxs\Temp

To delay background services, open the Services window (services.msc)

set the Startup type to Automatic (Delayed Start)

Perform a Sleep test

http://www.passmark.com/products/sleeper.htm and download the free PassMark Sleeper tool

Open

gpedit.msc 
→ Local Computer Policy 
→ Computer Configuration 
→ Administrative Templates 
→ Windows Components 
→ Application  Compatibility

Turn Off Program Compatibility Engine. // set to Enabled
Turn Off Program Compatibility Assistant. // set to Enabled
Remove Program Compatibility Property Page. // set to Disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment