Use this when linking to files or folders by path, including remote ones.
Symbolic Links
A symbolic link is a reparse point that points to a file or folder by path, local or remote, such as mklink /D link \\server\share. Creating one needs admin rights or Developer Mode.
1. Get-Item <path> | Select LinkType,Target.
2. Create: New-Item -ItemType SymbolicLink (admin or Developer Mode).
3. Remote symlinks need fsutil behavior set SymlinkEvaluation.
4. Broken link → target missing.
5. Use relative targets carefully.
symbolic link → path stored → resolved at access
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
- Creating symlinks without the required privilege or developer mode.
Step 2 Where it fails Narrow the fault
Failure analysis for Filesystem → Symbolic Links 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.
- Creating symbolic links needs admin rights or Developer Mode.
- They can point to UNC paths.
- Remote symlink evaluation can be disabled by policy.
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 & boundaries1 section · depth on demand
In depth
Symbolic links point to files or directories by path (relative or absolute, local or UNC). Creating them requires the SeCreateSymbolicLinkPrivilege (admins) or Developer Mode.
mklink C:\cfg\app.json D:\shared\app.json # file symlink
mklink /D C:\Logs \\fs01\logs\srv01 # directory symlink to UNC
New-Item -ItemType SymbolicLink -Path C:\Logs -Target \\fs01\logs\srv01
fsutil behavior query SymlinkEvaluation # which link types are followed
Remote-to-local and remote-to-remote evaluation is disabled by default for security; enable only if needed.
ReferenceConfiguration & state1 section · depth on demand
Commands
mklink link.txt target.txt # file symlink
mklink /D C:\Logs \\server\logs # directory symlink (can point to UNC)
New-Item -ItemType SymbolicLink -Path C:\Logs -Target \\server\logs
fsutil behavior query SymlinkEvaluation
Documented example, not captured output. Creating symlinks needs admin rights or Developer Mode. Remote-to-local symlink evaluation is disabled by default for security.
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 → Symbolic Links. 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%