Skip to content

Install: per-user

Harbor suiteNo sign-in neededDescribes Onboard 0.58.0 / Health 0.21.0

A per-user install runs Harbor from the folder you extracted, for your own Windows account. It needs no administrator rights and suits a single operator’s workstation. For a machine several people use, prefer an all-users install or a Windows service.

  1. Download and verify both releases.

  2. Extract them side by side into a folder you keep, for example:

    C:\Harbor\harbor-onboard\
    C:\Harbor\harbor-health\

    Keep the folder names harbor-onboard and harbor-health: Harbor.cmd starts Harbor Health alongside only when it finds it there.

  3. Run each installer from its folder:

    Terminal window
    cd C:\Harbor\harbor-onboard
    .\Install-Harbor.ps1 -InstallModule -InstallShortcuts
    cd C:\Harbor\harbor-health
    .\Install-HarborHealth.ps1 -InstallModule -InstallShortcuts
  4. Double-click Harbor.cmd (or the Harbor Onboard shortcut). The first start is a first run.

Step What happens
Verify Runs the release verifier over the folder. Tamper evidence (a broken signature or a hash mismatch) stops the install. An unsigned build continues with a warning.
Unblock Removes the “downloaded from the internet” mark from every extracted file, so a RemoteSigned execution policy does not block them.
-InstallModule Copies the module into your Documents module folders for both Windows PowerShell 5.1 and PowerShell 7, in a version subfolder, so Import-Module HarborOnboard (or HarborHealth) works from any console and in scheduled tasks.
-InstallShortcuts Creates Harbor Onboard and Harbor Onboard (Demo) shortcuts (Harbor Health: Harbor Health and Harbor Health (Demo)) on the Desktop and in the Start Menu under Harbor. They point at this folder, so keep it where it is.
-SetupTls Also runs the HTTPS setup. On a per-user install it does not elevate: it prints the command to run instead. See below.

Other parameters: -Scope CurrentUser (the default) or AllUsers; -SkipVerify skips the verification (not recommended).

HTTPS needs one elevated step (an http.sys certificate binding). The installers and launchers can open that elevated step for you, but only when no standard user can change the code that would run elevated: an install under %ProgramFiles%, or a release where every script is signed. A folder you extracted yourself does not qualify, so -SetupTls refuses with a short list of reasons and tells you how to continue.

Your options:

  • Run the HTTPS setup from an admin-only copy: Install: all users, then Initialize-HarborTls -TrustRoot from an elevated PowerShell.
  • Or keep plain http on the local machine. The consoles work, with an amber “HTTPS is not set up” strip.

See HTTPS setup for the details.

You do not need -InstallModule to use the consoles: the launchers import the module from the folder they are in. Useful commands:

Terminal window
.\Launch-Harbor.ps1 # start, or open the browser if it is already running
.\Launch-Harbor.ps1 -Demo # the demo profile
.\Launch-Harbor.ps1 -ConfigProfile test # another tenant profile
.\Launch-Harbor.ps1 -Port 9000 # another port
.\Launch-Harbor.ps1 -NoBrowser # do not open a browser

Harbor.cmd passes its arguments through, so Harbor.cmd -Port 9000 works too. Harbor Health’s Launch-Harbor-Health.ps1 takes the same parameters (its default port is 8788).

Symptom Fix
Release verification FAILED The copy is damaged or tampered with. Download it again and check the hash.
No HarborOnboard module found beside this script Run the installer from the extracted release folder.
Scripts are blocked by the execution policy Run the installer once (it unblocks the files), or trust the signing certificate.
Harbor Health does not start with Harbor.cmd Check that its folder is called harbor-health and sits next to the Harbor Onboard folder, or start Harbor-Health.cmd yourself.

Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.