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

How to fix error error-subst-to-join in Windows 11

ERROR_SUBST_TO_JOIN = 141

65% success rate
👥 0+ users verified
📅 Updated: 2026-08-12
⏱️ 10 min read
Fix based on community reports and expert analysis. Last verified: 2026-08-12 · How we verify fixes
Error Codeerror-subst-to-join
Affected SystemWindows 11 (Microsoft)
DifficultyMedium
Estimated Time10 min
Requires Admin Rights⚠️ Yes

Solution Steps

  1. 1 Press Windows key + R to open the Run dialog. Type 'cmd' and press Ctrl+Shift+Enter to open Command Prompt as Administrator. Click Yes if prompted by User Account Control. This ensures you have the necessary permissions to view and change drive mappings.
  2. 2 Type 'subst' and press Enter. This lists all current virtual drives. Look for any drive letter that might be using the path you are trying to assign. If you see a mapping that conflicts, note the drive letter.
  3. 3 If you find a conflicting mapping, remove it by typing 'subst : /D' (replace with the actual drive letter, e.g., 'subst Z: /D') and press Enter. This deletes the virtual drive association, freeing the path for a new mapping.
  4. 4 If the path is part of a network drive or joined volume, check your network connections. Open File Explorer, right-click on 'This PC', and select 'Disconnect network drive...' to remove any network drive that might be using the path.
  5. 5 After clearing conflicts, retry your original SUBST command. For example, type 'subst X: C:\Users\YourName\Projects' and press Enter. If it succeeds, you will see no error message, and the drive will appear in File Explorer.
  6. 6 If the error persists, restart your computer to clear any lingering file system locks, then try again.

🔍 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