Use this when redirecting a folder to another local folder.
Junctions
A junction is an NTFS reparse point that redirects a folder to another local folder, like C:\Documents and Settings to C:\Users. Create one with mklink /J; it works without admin rights.
1. Get-Item <path> | Select LinkType,Target.
2. dir /AL — reparse points.
3. Create: New-Item -ItemType Junction -Path <link> -Target <dir>.
4. Junctions point to local directories only.
5. Backup tools may follow or skip them.
junction (reparse point) → redirected to a local directory
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Backup tools following junctions and copying data twice.
Step 2 Where it fails Narrow the fault
Failure analysis for Filesystem → Junctions follows the Windows chain of components: target identity/version → persistent configuration/source of truth → provider/service/control plane → runtime/effective state → user/workload-visible result → event/log evidence.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Junctions redirect only to local folders.
- They do not need admin rights.
- Backup tools may follow or skip them.
Get-Volume— volumes, filesystem type, health and free spacefsutil fsinfo volumeinfo C:— filesystem featureschkdsk C: /scan— online scanGet-WinEvent -FilterHashtable @{LogName='System';ProviderName='Ntfs'} -MaxEvents 20— NTFS events
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Junctions are directory reparse points that redirect to another local directory (absolute path, local volumes only). Windows uses them for compatibility (e.g. C:\Documents and Settings → C:\Users).
mklink /J C:\Apps\Current C:\Apps\v2.4
New-Item -ItemType Junction -Path C:\Apps\Current -Target C:\Apps\v2.4
dir /AL C:\ # list reparse points
fsutil reparsepoint query C:\Apps\Current
Backup and copy tools treat junctions differently (follow vs copy as link) — robocopy /XJ excludes junctions to avoid loops.
Mechanics
Follow the path in order: target identity/version → persistent configuration/source of truth → provider/service/control plane → runtime/effective state → user/workload-visible result → event/log evidence.
ReferenceConfiguration & state1 section · depth on demand
Commands
mklink /J C:\Data D:\Data # create junction
dir /AL # list reparse points
fsutil reparsepoint query C:\Data
Documented example, not captured output. Junctions work only to local folders (not network shares) and do not need admin rights. Windows uses them for compatibility paths (e.g. C:\Documents and Settings). Backup tools may follow or skip them — check settings to avoid double backups.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Filesystem → Junctions. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/storage/file-server/ntfs-overview · confidence 94%