QB-Flow Command Reference (Switches & Examples)
QB-Flow is a command-line utility that automates QuickBooks Desktop maintenance tasks, including major version upgrades and minor patch updates. Use this page to copy/paste commands and understand what each switch does.
Before You Run
Recommended
- Run QB-Flow on the computer where QuickBooks Desktop is installed
- Close QuickBooks (and related windows) if possible
- Run PowerShell as Administrator for best results
Customer ID
Most update commands require your Customer ID:
/customerid <ID>
Quick Start
Run all updates (major + minor) for all installed QuickBooks years:
.\qb-flow.exe /customerid <YourCustomerID>
Default behavior: If you do not specify /major or /minor, QB-Flow runs both.
Most Common Commands
Minor patch updates only (recommended weekly):
.\qb-flow.exe /customerid <YourCustomerID> /minor
Major upgrades only (example: upgrade installed year to the next major version):
.\qb-flow.exe /customerid <YourCustomerID> /major
Target specific years only (comma-separated):
.\qb-flow.exe /customerid <YourCustomerID> /minor /years 2023,2024
Switches
Updates & Targeting
/customerid <ID>
Your Customer ID used for license validation (required for update actions).
Example:
.\qb-flow.exe /customerid cus_123456789
/years <Year1,Year2>
Targets specific QuickBooks years (comma-separated). If omitted, all installed years are targeted.
Example:
.\qb-flow.exe /customerid <YourCustomerID> /minor /years 2022,2023
/major
Runs only major version updates (example: 2023 → 2024).
Cannot be used with /minor.
Example:
.\qb-flow.exe /customerid <YourCustomerID> /major
/minor
Runs only minor patch updates for currently installed versions.
Cannot be used with /major.
Example:
.\qb-flow.exe /customerid <YourCustomerID> /minor
Note: If neither /major nor /minor is specified, QB-Flow runs both major and minor updates.
Tools & Cleanup
/qbtools install
Installs the QuickBooks Tool Hub.
Example:
.\qb-flow.exe /qbtools install
/qbtools uninstall
Uninstalls the QuickBooks Tool Hub.
Example:
.\qb-flow.exe /qbtools uninstall
/deletepublicdesktop
Deletes all public QuickBooks desktop icons.
Example:
.\qb-flow.exe /deletepublicdesktop
New Client Information
Looking for detailed information about Customer IDs, pricing, and billing?
