Pcornel
Windows · Filesystem

Symbolic Links

Cheat sheet · https://pcornel.dk/topic.php?topic=2968

Back to the Topic

Answer

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.

Remember

  • Creating symbolic links needs admin rights or Developer Mode.
  • They can point to UNC paths.
  • Remote symlink evaluation can be disabled by policy.

First checks

  • Get-Volume — volumes, filesystem type, health and free space
  • fsutil fsinfo volumeinfo C: — filesystem features
  • chkdsk C: /scan — online scan
  • Get-WinEvent -FilterHashtable @{LogName='System';ProviderName='Ntfs'} -MaxEvents 20 — NTFS events

Verify in this order

symbolic link → path stored → resolved at access

Where it usually breaks

First mismatch in target identity/version → persistent configuration/source of truth → provider/service/control plane → runtime/effective state → user/workload-visible result → event/log evidence; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2968

Confirmation

Confirm action

Continue?