Medium Operating Systems ✓ Solution Verified by Community (0+ upvotes)

How to fix error error-dir-not-root in Windows 11

ERROR_DIR_NOT_ROOT = 144

65% success rate
👥 0+ users verified
📅 Updated: 2026-08-12
⏱️ 5 min read
Fix based on community reports and expert analysis. Last verified: 2026-08-12 · How we verify fixes
Error Codeerror-dir-not-root
Affected SystemWindows 11 (Microsoft)
DifficultyMedium
Estimated Time5 min

Solution Steps

  1. 1 Open Command Prompt (Win+R, type 'cmd', press Enter). Review the command you used. Ensure the path is a root directory, like 'C:\' or 'D:\'. If you used a subfolder, you need to adjust it.
  2. 2 If you want to map a drive to a subfolder, you have two options: either use the root of the drive and then navigate to the subfolder, or use a symbolic link. For example, instead of 'subst X: C:\Users\Name\Documents', you can create a symbolic link: 'mklink /D C:\DocumentsLink C:\Users\Name\Documents'.
  3. 3 To use SUBST with a root directory, type 'subst X: C:\' (or the appropriate drive letter). This will map the entire C: drive to X:, which may not be what you want, so be careful.
  4. 4 If you need to map a subfolder, consider using the 'net use' command with a local share, or use PowerShell's New-PSDrive with -Root parameter that accepts any path.
  5. 5 After making the change, verify the mapping with 'subst' or by checking File Explorer.

🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:

🔧 Still having issues?

Describe your exact problem to Error Buddy and get a personalized fix in seconds.

🛠️ Try Error Buddy — It's Free