QuickBooks Unexpected Error 5 can occur during company-file access, shared-folder access, Windows permissions, and multi-user operations. The cause depends on where the error appears and whether it affects one workstation, one Windows profile, or multiple users.
A common variant is “Unexpected Error 5 in call to NetShareGetInfo for Path” or “NetShareGetInfo failed, error code 5.” These messages indicate that QuickBooks encountered a problem while accessing or querying a Windows network or shared path, but the underlying cause can vary.
This guide explains how to identify the specific QuickBooks Error 5 variant, test its likely cause, and troubleshoot QuickBooks permissions errors, network access, QuickBooks hosting, related services, user profiles, and company-file issues.
What is Unexpected Error 5 in QuickBooks?
As per QuickBooks experts, an unexpected error implies that the software has experienced a severe application problem. This problem offer arises when the user attempts to save the company file.
“Got unexpected error 5 in call to NetShareGetInfo for Path.”
More Specifically:
“Encountered QuickBooks Unexpected Error 5 in a call to NetShareGetInfo for path\server\file.QBW”
How to Identify Your QuickBooks Error 5 Variant
QuickBooks Error 5 appears with different messages depending on the operation, including “Unexpected Error 5,” “NetShareGetInfo Error 5, and “Access is denied.” Here are the common QuickBooks Error 5 variants and the situations in which they appear:
- “Unexpected Error 5”
- “Got unexpected error 5 in call to NetShareGetInfo for Path”
- “NetShareGetInfo failed, error code 5”
- “Access is denied”
- Error 5 while opening or accessing a company file
- Error 5 during multi-user or network operations
- Error 5 while accessing a shared Windows folder
Where Does QuickBooks Unexpected Error 5 Appear?
QuickBooks Unexpected Error 5 can occur during company-file, shared-folder, network, or multi-user operations. Here are the common situations where the error may appear:
- Opening or accessing a QuickBooks company file
- Switching QuickBooks between single-user and multi-user modes
- Connecting to a company file stored on a server or another computer
- Scanning a folder that contains QuickBooks company files
- Running QuickBooks Database Server Manager
- Accessing a Windows network or shared folder
Before You Start Troubleshooting the QuickBooks Unexpected Error 5
Before troubleshooting QuickBooks Error 5, protect the company file and document the conditions that trigger the error. Here are the key details to record before making any changes to QuickBooks, Windows, or network permissions:
| Parameters | Details |
| Company file backup | Create a backup of the company file before troubleshooting, if you can access it. |
| Exact error message | Record the complete QuickBooks Error 5 message, including any NetShareGetInfo or “Access is denied” text. |
| Affected computer | Note which computer displays the error. |
| File location | Confirm whether QuickBooks stores the company file locally or on another computer/server. |
| Affected users | Check whether Error 5 affects one user, one workstation, or multiple users. |
| Recent changes | Note recent changes to QuickBooks, Windows, the server, network configuration, or folder permissions. |
Common QuickBooks Unexpected Error 5 Causes & Their Solutions
The cause of QuickBooks Error 5 depends on what QuickBooks is trying to access when the error occurs. Use these quick tests to narrow down whether the problem involves a QuickBooks permissions error, network access, hosting, QuickBooks services, a Windows user profile, or company-file integrity.
| Possible cause | Quick test | Likely next action |
| Windows folder or file permissions | Check whether the affected Windows user can access the company-file folder and its contents. | Review the required Windows permissions with an administrator. |
| Network or shared-folder access | Open the shared company-file folder from the affected workstation | Check the network connection, share access, and stored credentials |
| QuickBooks hosting configuration | Check the hosting status on the server and workstations | Correct the hosting mode so the designated server hosts the company file |
| QuickBooks Database Server Manager or service issue | Check whether the appropriate QuickBooksDBXX service is running on the host. | Restart or reconfigure the applicable QuickBooks service and scan the company file folder. |
| Company-file location or network setup | Test whether the file opens locally on the computer that stores it | Review the file location and network configuration before attempting data repair |
| Windows user profile issue | Test the same QuickBooks operation with another authorized Windows profile. | Investigate the affected Windows profile if the error occurs only for one user. |
| Company-file or data damage | Check whether the problem follows the company file across authorized access methods | Run appropriate QuickBooks data diagnostics only when the evidence points to file damage. |
Fix Windows Permissions for QuickBooks Error 5
If testing shows that Windows access is causing QuickBooks Error 5, review the permissions for the company file folder and required files. Check both NTFS and network-share permissions before making changes.
1. Check NTFS Permission
NTFS permissions control which Windows users and groups can access files and folders stored on the local computer or server. Review these permissions for the QuickBooks company file folder before changing them.
- Open the folder that contains the QuickBooks company file.
- Right-click the folder and select Properties.
- Select Security.
- Identify the affected Windows user or group.
- Review the assigned permissions.
- Ask your Windows administrator to adjust the required permissions.
2. Check Network-Share Permissions
Network-share permissions determine whether a workstation can access a QuickBooks company file folder over the network. Use these steps to verify access to the shared folder:
- Open the shared company file folder from the affected workstation.
- Verify that Windows can access the shared path.
- Review the folder’s Sharing permissions separately from its Security permissions.
- Confirm that the affected user has the access required for the QuickBooks setup.
- Test the company file again after correcting the required permissions.
3. Avoid Unnecessary Access
Use the permissions required for the applicable QuickBooks configuration and avoid broad access that could expose company data. Keep these points in mind before changing folder permissions:
- Do not give Everyone Full Control as a blanket fix for Error 5. Some supported QuickBooks configurations may require broader permissions for specific folders.
- Do not change permissions on a managed server without authorization.
- Protect folders containing payroll, banking, tax, and customer data.
- Record the original permissions before making changes.
Note: Do not give Everyone Full Control as a blanket fix for QuickBooks Error 5. Some QuickBooks configurations may require specific folder permissions, so follow the applicable Intuit guidance and involve a Windows administrator before broadening access.
Stop Before Changing Windows Permissions
Stop before editing Windows permissions if the company file is stored on a managed server, you lack authorization to change security settings, or the change could expose sensitive company data. In these situations, involve a system administrator.
This folder is on a corporate server that is managed
The server or network administrator should check the access settings.
You are not allowed to change Windows security settings
Never change NTFS or share permissions without authorization.
The folder contains payroll, tax, banking, or customer data
Avoid broader permissions that could expose sensitive data.
Your organization uses domain or security policies
Ask the administrator to check if those policies restrict access to the folder.
Fix Network or Shared-Folder Access
To troubleshoot QuickBooks Error 5 related to network access, verify that the affected workstation can reach the host and access the shared company file folder.
1. Confirm the Host or Server is Reachable
A network connection must exist between the workstation and the computer that stores the company file. Check these points to confirm host connectivity:
- Make sure the host computer or server is turned on and connected to the network.
- Open File Explorer on the affected workstation.
- Type the host computer name or network path.
- Verify that Windows can access the shared location.
- Troubleshooting QuickBooks should be done only after fixing the network connection if Windows cannot connect to the host.
2. Confirm the Company-File Folder is Shared
QuickBooks needs access to the folder that contains the company file, not just access to the host computer. Verify the following folder settings:
- Confirm that the folder containing the .QBW file remains shared.
- Check the folder’s Sharing settings on the host.
- Confirm that the affected user has the required access.
- Check the Security permissions separately if Windows denies access.
- Test the shared folder from the affected workstation.
3. Verify Workstation Access
The affected workstation should open the shared folder through Windows before you troubleshoot QuickBooks. Use these checks to isolate the access problem:
- Open the shared folder from the affected workstation.
- Confirm that you can view the company file.
- Check whether Windows displays an Access is denied message.
- Compare access with another authorized workstation if available.
- If Windows cannot access the folder, resolve the Windows or network issue first.
4. Confirm the Windows Credentials
The workstation has to authenticate against the secure network share with a valid set of Windows credentials. It is recommended to check the following before you change any settings in QuickBooks:
- Ensure the user has signed on with a valid Windows account.
- In case Windows asks for credentials, provide an account that has access to the shared folder.
- Ensure that you can access the shared folder after authenticating.
- If Windows credentials are managed centrally by your organization, verify access by asking a system administrator.
5. Check Whether One Workstation or All Users Are Affected
The number of affected users can help identify whether the problem is local or network-wide. Compare the results across authorized users and workstations:
- If one workstation fails, check its network connection, credentials, and folder access.
- If multiple workstations fail, check the host, shared folder, and network connection.
- If all users fail, check the host and shared folder before changing individual workstation settings.
6. Check for an Unsupported Network Setup
Confirm that the company file is stored and accessed through a network configuration supported for QuickBooks Desktop multi-user access. If the setup uses an unusual storage or sharing arrangement, verify the configuration before changing permissions or repairing the company file.
- Keep the company file in the intended host or server location.
- Confirm that workstations access the file through the supported network configuration.
- Do not assume that every storage device or network arrangement supports QuickBooks multi-user access.
- Check the dedicated QuickBooks network and multi-user setup guidance for supported configurations.
Check QuickBooks Hosting Configuration
If QuickBooks Error 5 occurs during multi-user or network access, check that the computer storing the company file is the designated host and that workstations are not unnecessarily hosting multi-user access.
Which Computer Should Host QuickBooks?
The server or computer that stores the company file should host multi-user access. Workstations should connect to this host instead of hosting the company files themselves.
Why Should Workstations Not Host Multi-User Access?
The designated host should manage multi-user access for the company file. If a workstation is also configured to host multi-user access when it should not be, the setup can contribute to connection or access problems.
How Can You Check the Hosting Configuration?
Check the hosting status from QuickBooks Desktop > File > Utilities. On workstations, Stop Hosting Multi-User Access indicates that hosting is enabled, so turn it off. On the designated host, Host Multi-User Access indicates that hosting is disabled, so enable it.
Check QuickBooks Database Server Manager and Services
To fix QuickBooks Error 5 related to database services, check QuickBooksDBXX, QBCFMonitorService, Database Server Manager, and the company file folder scan on the host computer.
Check the QuickBooks Database Service
On the computer hosting the company file, check that the applicable QuickBooks Database Server service is running. The service name varies by QuickBooks Desktop version, so do not assume a single QuickBooksDBXX number applies to every installation.
Check QBCFMonitorService
QBCFMonitorService should also run on the host computer. Check its status in Windows Services and make sure it is running.
Check Database Server Manager
Database Server Manager should be installed and running on the computer that stores the company files. It allows QuickBooks to share those files with authorized workstations over the network.
Check Folder Scanning
Database Server Manager must scan the folder containing the company files. Open Scan Folders, confirm the correct folder is listed, and run a scan if the folder is missing or QuickBooks does not detect the files.
Use QuickBooks Tool Hub and File Doctor
Use QuickBooks Tool Hub according to the symptom associated with Error 5, such as a program, company file, or network problem. The current Tool Hub version is 1.6.0.8. Check the version shown on the Home tab before using its troubleshooting tools.
Use Quick Fix my Program
Use Quick Fix my Program when a QuickBooks program issue causes Error 5. It closes QuickBooks background processes and performs a quick program repair.
Go to Tool Hub > Program Problems > Quick Fix my Program. Then reopen QuickBooks and test the company file.
Use QuickBooks File Doctor
Use QuickBooks File Doctor when Error 5 points to a company-file or network problem. It can diagnose certain company-file and network issues, but it is not a universal fix for Error 5.
Go to Tool Hub > Company File Issues > Run QuickBooks File Doctor and select the affected company file. If File Doctor finds no problem, continue troubleshooting permissions, hosting, services, or network access instead of treating the file as damaged.
Use Network Diagnostics
Use the Network Issues tools when Error 5 occurs while accessing a company file over a network. Run these tools on the server or host computer to check network and multi-user issues.
Go to Tool Hub > Network Issues and select the relevant network diagnostic tool.
Fix a Damaged Windows User Profile
Check for a Windows User Profile Problem
If QuickBooks Error 5 occurs only under one Windows account, test the same operation with another authorized Windows account. Compare the results before considering profile repair or recreation.
Test Another Windows Account
Use another authorized Windows account on the same computer and run the same QuickBooks operation. If QuickBooks works normally, compare the two accounts’ access to the company file folder and required Windows permissions.
Compare the Results
If Error 5 occurs only under the original account, investigate that Windows profile. If both accounts show the error, check QuickBooks, network, hosting, or company-file access instead.
Repair or Recreate the Profile
Repair or recreate the affected Windows profile only after testing confirms that it causes the error. Follow your organization’s account-management procedures and preserve the user’s required data and settings before recreating the profile.
Should You Run QuickBooks as Administrator?
Yes, running QuickBooks as an administrator can help determine whether the QuickBooks permissions error is contributing to Error 5, but use this only as a temporary diagnostic test. If the error disappears, correct the underlying permissions or configuration instead of relying on administrator mode as the permanent solution.
Check Windows Event Viewer for Error 5 Evidence
To check what may be causing QuickBooks Error 5, review Windows Event Viewer for access, service, network, and application errors recorded at the same time.
Access denied events
Look for entries showing QuickBooks access denied errors to files, folders, or network resources.
Service failures
Check for QuickBooks-related or Windows service failures.
Network or share errors
Review entries related to network connectivity, shared folders, or remote access.
Application errors
Check the Application log for QuickBooks or related application errors.
Match the timestamp
Compare Event Viewer timestamps with the time QuickBooks displayed Error 5.
QuickBooks Log Files and Diagnostic Logs
To diagnose QuickBooks Error 5, review the logs generated by QuickBooks Desktop and its diagnostic tools for errors recorded when the problem occurs. Use the current access methods rather than relying on fixed file paths that can vary by QuickBooks version or installation.
QuickBooks Desktop
Check QBWin.log, which records QuickBooks program messages and errors. You can access it from QuickBooks Desktop > F2 or Ctrl+1 > F3 or Ctrl+2 > Open File > QBWin.log, or use the version-specific Windows log location documented by Intuit.
File Doctor
When you run QuickBooks File Doctor from Tool Hub, review its diagnostic results for company-file or network problems. Use these results alongside permission and network checks rather than treating File Doctor as proof of company-file damage.
Database Server Manager
Check the QuickBooks Database Server Manager and its related service status when Error 5 affects a company file hosted on a server. The tool runs on the computer that hosts the company files and helps diagnose multi-user network access.
QuickBooks Tool Hub
Use the Tool Hub’s Network Issues, Company File Issues, and Program Problems sections to run the diagnostic tools relevant to the Error 5 scenario. Check the Tool Hub Home tab to verify the installed version before troubleshooting.
Avoid Outdated Paths
Do not publish a fixed log-file location unless you have verified it for the specific QuickBooks Desktop version and environment. Intuit’s current guidance shows that QBWin.log paths include a version-specific folder.
Is QuickBooks Error 5 Caused by Company-File Damage?
No, QuickBooks Error 5 is not automatically caused by company-file damage; access, network, Windows profile, and hosting issues can also trigger the error.
Access or permission problems
Windows or shared-folder permissions may block access to the company file.
Network problems
The workstation may not reach the computer or server that stores the company file.
User-profile problems
A damaged or restricted Windows profile may cause Error 5 for one user.
Hosting problems
Incorrect QuickBooks hosting settings may prevent proper multi-user access.
Actual data damage
Company-file damage remains possible after you rule out access, network, profile, and hosting issues.
Check and Repair QuickBooks Data
Use QuickBooks data-repair tools when testing indicates a possible data-integrity problem, rather than simply because Error 5 occurs. Start with Verify Data. If QuickBooks reports that the data has lost integrity, back up the company file and use Rebuild Data, then run Verify Data again.
Verify Data
Select File > Utilities > Verify Data to check the company file for data-integrity issues. If QuickBooks reports that the data has lost integrity, back up the company file before proceeding to Rebuild Data.
Rebuild Data
Use Rebuild Data when Verify Data reports that the company file has lost integrity. Create a backup before rebuilding, then run Verify Data again to confirm the result.
File Doctor
Use QuickBooks File Doctor when the evidence points to a company-file or network problem. It can diagnose certain file and network issues, but it should not replace permission, hosting, or network troubleshooting when those issues explain Error 5.
Do not repair without evidence
If Verify Data finds no damage and Error 5 occurs because of permissions, network access, hosting, or a Windows profile, continue troubleshooting that underlying issue instead of rebuilding the company file.
How to Confirm QuickBooks Error 5 is Fixed
To confirm QuickBooks Error 5 is fixed, verify that the original operation works without the error and that the affected company file, network access, multi-user connection, QuickBooks services, and basic transactions function normally.
Company file opens Normally
Open the affected company file without receiving Error 5, NetShareGetInfo Error 5, or “Access is denied” messages.
Multi-user mode works
Switch to multi-user mode if your setup requires it and confirm that QuickBooks connects normally.
Affected workstation can access the file
Open the company file from the workstation that previously displayed Error 5.
Other users can connect
Have other authorized users access the same company file if you use a multi-user setup.
No access-denied Messages Appear
Repeat the operation that originally triggered Error 5 and confirm that Windows or QuickBooks does not block access.
QuickBooks Services Remain Running
On the host computer, confirm that the required QuickBooks database and monitoring services remain running.
Transactions Open and save Normally
Open an existing transaction and save a test change appropriate for your environment, then confirm that QuickBooks completes the operation without an error.
Network Access Persists after Restart
Restart QuickBooks and, if practical, Windows on the affected workstation, then reconnect to the company file to confirm that the fix persists.
Rollback If a Permission Change Causes Problems
If a permission change causes new problems, restore the documented original Windows permissions and remove unnecessary access added during troubleshooting. Test the original QuickBooks operation again after the rollback.
Document the original permissions
Record the users, groups, and permission levels assigned to the company-file folder before making any changes.
Restore the previous permissions
If a change grants broader access than intended or creates a new access issue, return the folder and share permissions to their documented settings.
Remove unnecessary administrator access
Do not leave users with administrator or Full Control permissions after testing. Keep only the access required for QuickBooks and the user’s role.
Test access after rollback
Reopen the company file and repeat the operation that previously triggered Error 5 to confirm that the permission rollback did not create another access problem.
When to Stop Troubleshooting
To troubleshoot Error 5 efficiently, first determine whether the problem affects one user or multiple users, then check Windows access, network connectivity, hosting, QuickBooks services, and company-file integrity based on the symptoms.
Company data becomes inaccessible
Stop making changes if you can no longer open or access the company file.
Multiple company files are affected
Escalate when Error 5 affects several company files, as the issue may involve the host computer, network, or system configuration.
Windows permissions are unclear
Do not continue changing permissions if you cannot determine the required access or the effect of a permission change.
Server or domain policies are involved
Contact the system or network administrator when domain policies, managed servers, or organizational security settings control access.
File Doctor reports unrecoverable damage
Stop data-repair attempts and seek appropriate QuickBooks or data-recovery assistance if File Doctor cannot resolve the identified company-file damage.
Error 5 returns after verified fixes
Escalate if the error continues after you confirm the required permissions, network access, hosting configuration, and QuickBooks services are working correctly.
Accounting Professionals, CPA, Enterprises, Owners
Looking for a professional expert to get the right assistance for your problems? Here, we have a team of professional and experienced team members to fix your technical, functional, data transfer, installation, update, upgrade, or data migrations errors. We are here at Dancing Numbers available to assist you with all your queries. To fix these queries you can get in touch with us via a toll-free number
+1-800-596-0806 or chat with experts.
Frequently Asked Questions
QuickBooks Unexpected Error 5 can result from Windows permissions, network or shared-folder access, incorrect hosting, QuickBooks services, Windows user-profile issues, or, in some cases, company-file damage. The exact cause depends on the operation that triggers the error and whether it affects one workstation or multiple users.
QuickBooks NetShareGetInfo failed 5 error means QuickBooks encountered an access-related problem while working with a Windows network or shared path. The message does not by itself identify whether permissions, credentials, network configuration, hosting, or another condition caused the problem.
Yes, Error 5 commonly corresponds to an access-denied condition, but the message does not prove that a specific permission setting is the cause. Check Windows file and share access, network connectivity, hosting, and other relevant conditions before changing permissions.
Not necessarily. Error 5 can occur because of a QuickBooks permissions error, network access, hosting, or Windows profile issues, so do not assume that the company file is damaged. Use Verify Data when other evidence points to data integrity problems.
QuickBooks requires the Windows user or account used to access the company file to have the necessary access to open, modify, and save the file. Intuit’s hosting guidance states that the logged-in user must have Full Control for company-file access, while the exact permissions and security configuration should match the supported setup and organizational policies.
No, do not give Everyone Full Control as a blanket fix for Error 5. Grant the required access to the appropriate users or groups and preserve existing security controls, especially on folders containing payroll, tax, banking, or customer data.
No, QuickBooks does not need to run as administrator permanently just because Error 5 occurs. Running it with elevated permissions can serve as a temporary diagnostic test for a permissions-related problem, but you should correct the underlying access issue instead of relying on administrator mode.
QuickBooks File Doctor can help when Error 5 involves certain company-file or network problems, but it is not a universal fix for Error 5. If permissions, hosting, or Windows access clearly explain the error, address those issues instead.
Yes, QuickBooks Tool Hub can help diagnose or resolve some Error 5 scenarios, but the appropriate tool depends on the cause. Use tools such as Quick Fix my Program, File Doctor, or network-related diagnostics according to whether the problem involves the QuickBooks program, company file, or network.
Yes, a damaged or incorrectly configured Windows user profile can cause Error 5 for one user while other authorized Windows accounts work normally. Test the same QuickBooks operation with another authorized Windows account to determine whether the problem follows the profile.
Yes, incorrect QuickBooks hosting can cause access and multi-user problems that may contribute to Error 5. The computer storing the company file should provide the appropriate hosting, while workstations should not incorrectly host multi-user access.
The host computer should have the QuickBooks Database Server service that matches the installed QuickBooks version running, along with QBCFMonitorService where applicable. The database service name uses the QuickBooksDBXX pattern, with the number varying by QuickBooks Desktop version.
QuickBooks Desktop for Windows records program messages and errors in QBWin.log, with each installed QuickBooks version maintaining its own log. Use the log to investigate errors recorded around the time Error 5 occurs, but do not interpret every QBWin.log entry as evidence of company-file damage.
Yes, Windows Event Viewer can provide supporting evidence when Error 5 coincides with application, service, access, or network-related Windows errors. Check entries recorded at approximately the same time as the QuickBooks error and use them to identify system-level problems.
Test Windows access to the shared company file folder from the affected workstation before troubleshooting QuickBooks. If Windows cannot open or modify the shared location, investigate permissions, credentials, or network access; if Windows access works but QuickBooks still fails, check hosting, QuickBooks services, and the company file.
If only one workstation gets Error 5, compare its Windows access, network connection, credentials, QuickBooks configuration, and user profile with a workstation that works. This pattern makes a workstation-specific access or configuration issue more likely than a problem affecting the entire hosted environment.
If every user gets Error 5, check the host computer, shared company-file folder, hosting configuration, QuickBooks database services, and network access first. A problem affecting all users points toward a shared host, network, service, or company-file access condition rather than a single Windows profile.
To verify the fix, reopen the company file, test the affected workstation, confirm required multi-user access, test other authorized users, check QuickBooks services, open and save transactions, and reconnect after restarting QuickBooks or Windows. The error should remain resolved under the same conditions that originally triggered it.