FG
💻 Software

Using mklink /h results in "Access is denied."

Fresh5 days ago
Mar 15, 202650063 views
Confidence Score0%
0%

Problem

From command prompt with Administrator privilages: I'm on Vista x64. Using or instead of works. What's the problem? Related: Access is denied error, when I mklink on Windows 7.

Error Output

c:\>mklink /h c:\dirA c:\Users\Piotr\dirB
Access is denied.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Using mklink /h results in "Access is denied."

Low Risk

Hard links can only be used for files, not directories. References: MSDN: Hard Links and Junctions, <1>, and <2>

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment