Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Troubleshooting

pwsh was not found

Symptom: a batch file prints PowerShell 7 (pwsh.exe) was not found in PATH.

Cause: the launchers intentionally use pwsh from PATH and never hard-code an install location.

Fix: install PowerShell 7 with your normal package manager, then open a new terminal so PATH refreshes.

where pwsh

A junction was refused on a volume

Symptom: creation fails with a native error such as Local NTFS volumes are required to complete the operation or Incorrect function.

Cause: the volume that would host the link does not support reparse points. This is a platform limit, not a filesystem-type gate in the tool.

What to do: create the link on a volume that supports reparse points and point it at the target on the other volume. Targets are filesystem-agnostic.

Access denied

Symptom: the operation reports access denied.

Cause: the link path or parent directory requires elevation or different ACLs.

What to do: run the terminal elevated when the location genuinely requires it. Protected paths remain refused even when elevated.

A junction shows Stale-Orphaned

Symptom: inspection reports Stale-Orphaned.

Cause: the target directory no longer exists.

Options:

  • Recreate the target, then inspect again.
  • Retarget the junction to a valid directory.
  • Remove the stale link with --remove <path> --yes or --clean-stale --yes.

A junction shows Stale-Empty

Symptom: the target exists but contains no files.

Options:

  • If the target is genuinely unused, --clean-stale-empty --yes detaches the link and reclaims the empty target when its guards pass.
  • If files are expected, populate the target first; the status becomes Active.

Cause: the new target was rejected, and automatic recovery could not restore the old link because the previous target had already disappeared.

What to do: run --repair <path> --target <valid-dir> to recreate the junction.

Restore skipped everything

Restore skips records when the link path is protected, the link already exists, or the target is missing. Run a preview to see the reason for each record:

JunctionManager.bat --restore logs\inventory.json --dry-run

Logs are empty

Logging is opt-in. Enable it with --log or the L toggle. If the logs folder cannot be written, the core deliberately continues without failing the operation.

Tests do not run

Check that pwsh is available and that suites exist:

tests\RunTests.bat --list
tests\RunTests.bat --all --native

The runner works without Pester by using its bundled native engine. Use --pester only when Pester 5+ is installed.

Still stuck

Include the following when asking for help:

  • the exact command or TUI action,
  • the reported status and reason,
  • the native error text verbatim,
  • whether the path is protected,
  • the relevant log lines with sensitive paths redacted.