It may be necessary to edit the Windows hosts file to resolve H202 or other multi-user errors when opening QuickBooks Desktopover a network.
How to fix it
This solution is intended to be used as a workaround to bypass broken Domain Name Settings (DNS) within Windows. If you are not comfortable with these steps or have questions relating to DNS settings, Intuit recommends you contact a qualified IT professional or refer to Microsoft article.
To perform the following steps, you will need Administrator access to the server and any computers connected to the server. It is recommended to have a pen/paper handy to write down the required information as you may be going back and forth to computers.
You will need to follow these steps for the server and any computer/workstation connected to the server.
- On the server, press the Windows key on the keyboard and R (Windows + R) to open the Run window.
- Type cmd and press Enter to open a Command Prompt window.
- Type ipconfig /all (there is a space after ipconfig) and press Enter.
- Make note of the Host Name (computer name) and the IP Address (it will either be IP Address or IP Address v4). See image below for Host Name and IP Address locations:
- Repeat steps 1-4 on any additional computer connected to the server.
Important: HOSTS files deal with STATIC IP addresses. If the network is using DYNAMIC addressing, this could cause problems if the server is re-booted & obtains a different IP address then configured in the HOSTS file. The Windows serve should be configured to maintain the same address for the network at all times.
- Close QuickBooks
- On the Server, click the Start menu and My Computer (or Computer if Windows Server 2008/Windows 7/Windows Vista).
- Then go to either:
- C:\Windows\System32\Drivers\Etc OR
- Double-click the hosts file.
- Choose Notepad if you are asked to select a program to open with.
- Enter the IP address followed by Computer Name (Server- will have workstation IP and computer name. Workstation- will have Server IP and computer name). When entering this information, use the Tab key instead of the space bar to separate IP address and computer name. See the image below:
If you are asked to save the hosts file
When using Windows Vista/Windows 7/Windows Server 2008, you may be prompted to Save As because User Account Control (UAC) is turned on. You may need to perform the following to save the file.
- In the Save As window, enter "hosts" (include the quote marks) in the File Name field.
- Select Desktop as the Save As location and click Save.
- Find the hosts file on the desktop, right-click, and choose Copy.
- Got to C:\Windows\System32\Drivers\Etc, find the hosts file, right-click, and choose Rename.
- Rename the hosts file to hosts old and click Continue.
- Press CTRL + V keys to paste the new hosts file and click Continue.
Note: You may have to repeat steps 1-6 for additional computers running Windows Vista/Windows 7/Windows Server 2008.
After completing steps 1 and 2, proceed to open QuickBooks in multi-user mode.