Download the template file and edit it accordingly.
Then, execute it like this: optimizer.exe /config=template.json
https://github.com/hellzerg/optimizer/blob/master/templates/optimizer-template.json
- Should match your actual Windows version. Available values:
7 | 8 | 10 | 11
- Choose which target folder you wish to clean by marking
true
- Choose your desired DNS provider.
- Available values:
Automatic | Cloudflare | OpenDNS | Quad9 | Google | AlternateDNS | Adguard | CleanBrowsing | CleanBrowsing (adult filter)
- If you wish to perform DNS cache flushing, set it to
true
- Choose which processes you wish to prevent from running, using their filename.
- You can remove previously prevented processes, in order to allow them to run again.
- Example:
"ProcessControl": {
"Prevent": ["chrome.exe", "firefox.exe"],
"Allow": ["opera.exe"]
}
- Control your hosts entries.
Add
list adds the entries,Block
list routes the entries to0.0.0.0
effectively blocking access to them. - Example:
"HostsEditor": {
"Block": ["youtube.com", "google.com"],
"Add": [
{
"Domain": "test.com",
"IPAddress": "192.168.1.5",
"Comment": "comment is optional"
},
{
"Domain": "test2.com",
"IPAddress": "192.168.1.9",
"Comment": ""
}
]
}
- You can try enabling core Windows components by marking them
true
- You typically do not need this, unless you are trying to repair a computer from malicious actions
TakeOwnership
: Marktrue
to add a "Take Ownership" option in right-click menu. Remove it by markingfalse
OpenWithCMD
: Marktrue
to add a "Open CMD here" option in right-click menu. Remove it by markingfalse
-
Deeply technical tweaks that you should NOT touch, unless you know what you are really doing
-
UnlockAllCores
: DO NOT use this option. Leave itnull
orfalse
. -
DisableHPET
: Enables or disables High Precision Event Timer. -
EnableLoginVerbose
: Enables or disables Detailed Login Screen
- Mark it
true
and set the amount ofRAM
to reduce the svchost.exe processes for optimal memory - Mark it
false
to enable process splitting for optimal performance
- Mark the options you want to APPLY to
true
- Mark the options you want to RESET to
false
- Mark the options you want to IGNORE to
null
-
Final action after executing the template.
-
You may mark
Restart
totrue
to restart in order to effectively apply the changes. -
You may choose between different types of restarting by configuring
RestartType
-
Normal
performs a normal restart -
SafeMode
performs a restart in minimal safemode -
DisableDefender
: you can disable Windows defender (Windows 10/11 needs this) by going through safemode and returning, everything automated -
EnableDefender
: same, but for enabling Windows defender