Skip to content

Install on Windows

Quick install

Open PowerShell and run:

Terminal window
iwr -useb anonymizer.site/install.ps1 | iex

This downloads anonymizer.site/install.ps1 and runs it in your user context. No administrator rights are required.

The script also offers optional Tesseract OCR setup for scanned and hybrid PDFs using winget. It shows the approximate download size before asking. If you skip OCR, .docx, .xlsx, and PDFs with a text layer still work.

Where it installs

  • %LOCALAPPDATA%\uv\tools\anonymizer\ — the wheel and its dependencies
  • %LOCALAPPDATA%\uv\bin\anonymize.exe — the launcher

The script appends %LOCALAPPDATA%\uv\bin to your user PATH if it isn’t there yet.

If your ExecutionPolicy blocks the script

If you see Files cannot be loaded because running scripts is disabled on this system, run once:

Terminal window
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

This changes the policy only for your user.

Requirements

  • Windows 10 (1809+) or Windows 11
  • PowerShell 5.1 or newer (built into Windows 10/11)
  • ~1.5 GB free disk
  • Optional OCR for scans: Tesseract with English and Russian language data (usually 70-120 MB for the engine plus eng/rus traineddata).

Manual OCR install:

Terminal window
winget install UB-Mannheim.TesseractOCR
anonymize doctor --no-network

If doctor reports missing languages after winget, add eng.traineddata and rus.traineddata to Tesseract’s tessdata directory.

Antivirus false positives

Some AV engines flag freshly-published Python wheels until they accumulate a reputation. If your AV quarantines the installer, see Corporate setup for the offline-mirror workflow.