Skip navigation

How can I disable the Universal Naming Convention (UNC) check for command sessions?

A. In a previous FAQ, I described how to navigate to a UNC path from a command session. To disable the UNC check during a command session so you can use a UNC path as the current folder from the command prompt, perform the following steps:

  1. Start a registry editor (e.g., regedit.exe).
  2. Navigate to the HKEY_CURRENT_USER\Software\Microsoft\Command Processor registry subkey.
  3. From the Edit menu, select New, DWORD Value; enter the name DisableUNCCheck; then press Enter.
  4. Double-click the new value, set it to 1, then click OK.
  5. Close the registry editor.
  6. Log off and log on for the change to take effect.
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish