Setting up AdLock on a fresh Windows install? Here's the cleanest one-line winget command for an unattended, no-clicks install — perfect for new-machine provisioning, golden-image scripts, and Task Scheduler jobs.
The one-line answer
Open Terminal as Administrator and run:
winget install --id AdLock.AdLock -e --silent --accept-package-agreements --accept-source-agreements
AdLock: Removes ads from all browsers, games, and other apps providing top-notch privacy security all along.
Typical install time: 10–60 seconds depending on installer size.
What gets installed
| Field | Value |
|---|---|
| Package ID | AdLock.AdLock |
| Publisher | Hankuper s.r.o. |
| Installer type | Inno Setup |
| License | Proprietary (Trialware) |
| Latest version | 2.1.8.4 |
| Minimum OS | Windows 10+ |
| Homepage | adlock.com |
Inno installers respond to /VERYSILENT for a totally hidden install or /SILENT for a minimal progress dialog.
Per-user install (no admin)
If you don't have admin rights, try per-user scope:
winget install --id AdLock.AdLock -e --scope user --silent
If the manifest doesn't have a user-scope installer, winget falls back with an error — in that case you genuinely need admin or use the Access denied fix.
Specify a version
To pin a known-good version (useful for reproducible CI / team standardisation):
winget install --id AdLock.AdLock -e --version 2.1.8.4 --silent
List available versions:
winget show --id AdLock.AdLock --versions
Override silent flags
If winget's --silent doesn't fully suppress the installer's UI, pass native flags via --override:
winget install --id AdLock.AdLock -e --override "/VERYSILENT /SUPPRESSMSGBOXES /NORESTART"
These are the Inno Setup-native silent switches the installer recognises.
Verify after install
winget list --id AdLock.AdLock
If the version is shown, the install succeeded.
Upgrade silently
winget upgrade --id AdLock.AdLock -e --silent --accept-package-agreements --accept-source-agreements
Or upgrade as part of a bulk weekly cron — see How to update all Windows apps.
Uninstall silently
winget uninstall --id AdLock.AdLock --silent --disable-interactivity
Detailed guide: How to uninstall Windows apps with winget.
In a provisioning script
PowerShell snippet for unattended Windows setup:
$apps = @(
"AdLock.AdLock"
# add more packages here
)
foreach ($id in $apps) {
winget install --id $id -e --silent `
--accept-package-agreements --accept-source-agreements
}
Wrap in Task Scheduler for one-shot machine provisioning. See Fresh Windows 11 setup.
Common errors
"AdLock is already installed" — winget detected the existing install. To force-reinstall over the existing copy:
winget install --id AdLock.AdLock -e --silent --force
"Installer hash does not match" — Hankuper s.r.o. published a new version before the winget manifest updated. Wait ~24 hours or pass --force. See hash mismatch fix.
"Access denied" / 0x80070005 — run Terminal as Administrator. See Access denied fix.
0x80073D02 — package in use — AdLock is currently running. Close it then retry. See package in use fix.
See also
- AdLock on winget.tech → — full package details
- How to install Windows apps with winget → — beginner guide
- Winget commands cheatsheet → — complete reference
- Fresh Windows 11 setup → — full machine workflow