Network Mapping for All Users & Windows System Error 86

Abstract: Resolve Windows System Error 86 when mapping network drives for all users by clearing stale credentials and correcting script syntax.

Created: 2026-09-04 by
Windows System Error 86 during network mapping typically stems from authentication conflicts or incorrect credential handling when applying drive mappings to all users. This error indicates that the system cannot verify the provided credentials against the target share, often due to cached login sessions or group policy misconfigurations on Windows Server 2016. Resolving this requires clearing stale credentials and ensuring the mapping script runs with appropriate privileges.

Understanding Error 86 in Network Mappings

Error 86 is formally defined as "The specified network password is not correct." When you attempt to map a network drive for all users, especially via scripts or Group Policy Objects (GPO), this error appears if the username or password provided does not match what the server expects. This is particularly common in domain environments where the user context might be ambiguous, such as when using local accounts to access domain resources or vice versa.

The issue often arises because the system attempts to use the currently logged-in user's credentials automatically, but the share requires specific service account credentials. Alternatively, the password may have expired, or there could be a mismatch in the domain name format used in the script. Understanding these root causes is essential before proceeding with fixes.

Clearing Stale Credentials

The most immediate step to resolve Error 86 is to clear any cached credentials that might be causing conflicts. Windows stores network credentials in the Credential Manager, and old or incorrect entries can interfere with new mapping attempts. To fix this, open the Control Panel and navigate to User Accounts, then select Credential Manager. Under the Windows Credentials tab, look for any entries related to the target file server or IP address. Remove these entries to force the system to prompt for fresh authentication or to allow the script to provide correct credentials without interference.

After clearing the cache, restart the computer to ensure that any lingering session tokens are fully flushed. This simple action often resolves persistent authentication errors that occur despite having the correct password entered in your script.

Correcting Script Syntax and Context

If you are using a logon script or PowerShell to map drives for all users, the syntax must explicitly define the domain and user context. Using wmic netuse or PowerShell’s New-PSDrive cmdlet requires careful attention to the -Credential parameter. For example, when using PowerShell, ensure you are passing a PSCredential object rather than just a string. If you are using batch scripts, the net use command should include the domain prefix in the username, formatted as DOMAIN\Username.

It is also critical to run these scripts in the correct execution context. If the script runs under the SYSTEM account but tries to map a drive for a user, it may fail unless configured correctly. Conversely, if it runs under a user context, ensure that the user has permission to access the share. Refer to Checking Active Network Shares within a Domain using PowerShell Script for best practices on scripting secure and reliable drive mappings.

Configuring Group Policy for All Users

For enterprise environments, applying network mappings via Group Policy is more scalable than individual scripts. Open the Group Policy Management Console and edit the relevant GPO linked to the user or computer container. Navigate to User Configuration > Preferences > Windows Settings > Drive Maps. Here, you can create a new mapped drive entry. Crucially, check the box for "Reconnect" and ensure the "Use the following connection settings" option is selected if you need to specify different credentials. If the share requires a specific service account, you must enter those credentials in the respective fields within the GPO editor. Note that GPO preferences do not support storing passwords in plain text for security reasons; instead, they rely on the current user's context or require additional configuration for service accounts.

Troubleshooting Authentication Conflicts

If the above steps do not resolve the issue, consider potential authentication conflicts between local and domain accounts. This is a common scenario when accessing NAS devices or mixed-environment shares. Ensure that the account being used exists in both the local machine database and the domain, if applicable. Sometimes, renaming the local administrator account or disabling unnecessary local accounts can prevent confusion during the authentication handshake. Additionally, verify that the time synchronization between the client and the server is accurate, as Kerberos authentication will fail if the time difference exceeds five minutes. For more insights on handling local account logins to network resources, see Local account trying to login to a NAS, without asking.

Frequently Asked Questions

Why does Error 86 appear only for some users?

This usually happens because those specific users have stale credentials cached locally or lack permissions to the target share. Clearing their individual credential caches often resolves the discrepancy.

Can I use a service account for all user drive mappings?

Yes, but you must configure the GPO or script to use that specific account's credentials explicitly. However, this approach reduces auditability since multiple users share one identity for file access.

How do I fix Error 86 on Windows Server 2016 specifically?

On Server 2016, ensure that SMB 1.0 is disabled if possible, as it can cause negotiation failures. Also, verify that the latest cumulative updates are installed, as Microsoft frequently patches authentication bugs.

What is the difference between Error 86 and Error 5?

Error 86 indicates an incorrect password or credential mismatch, while Error 5 typically means "Access Denied" due to insufficient permissions. Check your event viewer logs to distinguish between authentication failures and authorization denials.

Is it safe to store passwords in plain text in logon scripts?

No, storing passwords in plain text is a significant security risk. Use encrypted credential files or integrated Windows Authentication whenever possible to protect sensitive information.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More