Create a hard link with New-Item -ItemType HardLink
One file, two directory entries, zero extra disk space — hard links on NTFS without fsutil or mklink syntax.
01Command
$ New-Item -ItemType HardLink -Path 'D:\Links\data.nfo' -Target 'C:\Data\data.nfo'02What it does
A hard link is a second directory entry pointing at the same file data, so edits through either path are visible through both, and the space is charged only once. Unlike symbolic links, hard links require no administrator rights and never break if the 'original' is moved. They only work between files on the same NTFS volume, and hard links to directories are not supported.
03Risk
04Undo
$ Remove-Item 'D:\Links\data.nfo'05Sources
- MKLINK - Windows CMDEvidence: SS64 explains mklink /H hard links: directory entries pointing at the same data stream, same volume only, deletion of one link leaves data intact.
- New-Item | Microsoft LearnEvidence: Microsoft documents New-Item -ItemType HardLink (and SymbolicLink/Junction) creating a hard link with -Target to an existing file.
Last verified: 2026-09-17 · Category: Files & Folders
06Related solutions
Diagnose NTFS file system errors and bad sectors on any volume — including the system drive while Windows is running — before committing to a repair.
Robocopy is Windows' built-in robust file copier: use /MIR to keep a destination folder as an exact one-way mirror of a source, resumable and restartable.
Two-step command sequence that makes you the owner of a locked file tree and grants yourself full control — the standard fix for 'Access is denied' on old profiles and OS reinstall leftovers.