To automate a range of operations using a provided template, follow these steps:
Edit the Template: Customize the template configuration according to your needs.
Execute the Optimizer: Run the optimizer executable with the edited template configuration using the command: optimizer.exe /config=template.json
7 | 8 | 10 | 11
true
.Automatic | Custom | Cloudflare | OpenDNS | Quad9 | Google | AlternateDNS | Adguard | CleanBrowsing | CleanBrowsing (adult filter)
Custom
, you should define at least one primary IPv4 and IPv6 DNS servers. Alternative DNS serves are optional.true
to perform DNS cache flushing. Example: "Pinger": {
"SetDNS": "Cloudflare",
"CustomDNSv4": [],
"CustomDNSv6": [],
"FlushDNSCache": true
}
Custom
: "Pinger": {
"SetDNS": "Custom",
"CustomDNSv4": ["3.3.3.3"],
"CustomDNSv6": ["::1"],
"FlushDNSCache": true
}
Allow previously prevented processes to run again. Example:
"ProcessControl": {
"Prevent": ["chrome.exe", "firefox.exe"],
"Allow": ["opera.exe"]
}
IncludeWwwCname
to true
in order to automatically adding an extra www.
record for each entry.Remove
list should be the domain names you want remove from the hosts file.Block
list route to 0.0.0.0
, effectively blocking access.Entries in the Add
list are added. Example:
"HostsEditor": {
"IncludeWwwCname": true,
"Block": ["youtube.com", "google.com"],
"Remove": ["facebook.com"]
"Add": [
{
"Domain": "test.com",
"IPAddress": "192.168.1.5"
},
{
"Domain": "test2.com",
"IPAddress": "192.168.1.9"
}
]
}
true
. Use for repairing computers from malicious actions.TakeOwnership
: Add or remove "Take Ownership" option in right-click menu. (false
)OpenWithCMD
: Add or remove "Open CMD here" option in right-click menu. (false
)UnlockAllCores
: Leave null
or false
.DisableHPET
: Enable or disable High Precision Event Timer.EnableLoginVerbose
: Enable or disable Detailed Login Screen.EnableRegistryBackups
: Enable periodic backups of Registry.true
to reduce svchost.exe processes for optimal memory.false
to enable process splitting for optimal performance.true
.false
.null
.Restart
as true
to restart and apply changes.RestartType
for different restart types (Normal
or SafeMode
).DisableDefender
and EnableDefender
for automated Windows Defender control.Note: Review and customize the template configuration carefully before executing.