Parbit documentation
Windows
Notes for Windows users
Released separately from the Linux version. Please report anything odd in the issues, with the output and the Windows version.
Parbit for Windows is the same program as parbit.sh, rewritten in PowerShell: same
commands, options, menu, settings and on-disk format.
Install
- Download
Parbit-<version>-windows.zipfrom the releases page (the release named for Windows). - Unpack it where the protected files should live, for example the root of an external drive.
- Double-click
parbit.bat.
Nothing to install: it uses Windows PowerShell 5.1, which is part of Windows 10 and 11,
and the included bin\par2.exe (official par2cmdline 2.0.0 build, see
bin/README.txt).
Parbit\
├── parbit\ ← your files
├── parbit.bat ← start here
├── parbit.ps1 ← the program
└── bin\par2.exe
Usage
-
Double-click
parbit.batfor the menu. It works exactly as described in the user guide. -
From a terminal (Command Prompt, PowerShell, Windows Terminal), in the Parbit folder:
parbit.bat update parbit.bat verify parbit.bat repair parbit\photos parbit.bat schedule weekly parbit.bat helpSee the command reference. Paths may use
\or/.
Differences from Linux
| Windows | |
|---|---|
| scheduled checks | a Task Scheduler task parbit-<id>; see schedule |
| notifications | balloon tips in the notification area |
ignore |
opens Notepad (or %VISUAL% / %EDITOR%) |
| repairs | keep ACLs, the read-only attribute and hard links |
| skipped entries | symbolic links and junctions |
One drive, two systems
A drive can be protected on one system and checked or repaired on the other. Put both versions in the same folder: download both packages and unpack them in the same place (they don't share any file except the documentation).
Parbit/
├── parbit/
├── parbit.sh Linux
├── parbit.bat, parbit.ps1 Windows
└── bin/par2.exe Windows
Both read and write the same .parbit/, settings, ignore list, log and journal. A run
interrupted on one system is completed by the next run on the other.
Use exFAT (or NTFS) for a drive shared with Linux: both systems read and write it. If the two computers use different time zones, timestamps may appear shifted; Parbit recognises this (see time-zone shifts) and only records the new time after checking the content.
Ignore patterns are case-sensitive on Windows too, so both systems protect exactly
the same files. Use / between folders in .parbitignore.
Troubleshooting
"Windows protected your PC" (SmartScreen) when opening parbit.bat. Files downloaded
from the internet are marked as such. Click More info → Run anyway, or right-click the
zip before unpacking → Properties → Unblock.
"running scripts is disabled on this system". parbit.bat starts PowerShell with
-ExecutionPolicy Bypass for this script only, so this shouldn't happen when you use
the .bat. If you run parbit.ps1 directly, use
powershell -ExecutionPolicy Bypass -File parbit.ps1.
Strange characters instead of ✓ or →. Use Windows Terminal, or a console font with those symbols. The output is UTF-8.
A file can't be checked: "being used by another process". Close the program that keeps it open (some apps lock their files) and run the command again.
Paths longer than 260 characters. Enable long paths in Windows (Group Policy
Enable Win32 long paths, or the LongPathsEnabled registry value).