Registry Home > Windows > Accessories > Command Processor

Allow UNC Paths at the Command Prompt (Windows NT/2000/XP)

The Command Processor normally checks and disallows UNC names from being used for the current directory in the Command Prompt as they may cause problems with launched child processes. This tweak can be used to allow UNC paths and remove the warning message.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Open your registry and find or create the key below.

Create a new DWORD value, or modify the existing value, called "DisableUNCCheck" and set it according to the value data below.

Exit your registry; you may need to restart or log out of Windows for the change to take effect.

Note: If you enable this feature and start a Console that has a current directory of an UNC name, start applications from that Console, and then close the Console, it could cause problems in the applications started from that Console.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|DisableUNCCheckREG_DWORD0x00000001 (1)|
-
|HKEY_CURRENT_USER\Software\Microsoft\Command Processor|
-
Registry Settings
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
Value Name: DisableUNCCheck
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = default, 1 = allow UNC)

>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last modified: January 8, 2003