cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Intuit

Edit Windows hosts file

Resolve error H202 or other multi-user errors when opening QuickBooks Desktop over a network by editing Windows hosts file.

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 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.

Step 1: Find the IP address and computer name of the server and workstation

You will need to follow these steps for the server and any computer/workstation connected to the server.

  1. On the server, press Windows + R to open the Run window.
  2. Type cmd and press Enter to open a Command Prompt window.
  3. Type ipconfig /all (there is a space after ipconfig) and press Enter.
  4. Take note of the Host Name (computer name) and the IP Address (it will either be IP Address or IP Address v4).
    User-added image
  5. Repeat steps 1-4 on any additional computer connected to the server.

Step 2: Edit the Windows hosts file

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 server should be configured to maintain the same address for the network at all times.

  1. Close QuickBooks.
  2. On the Server, select the Start menu and Computer.
  3. Then go to either:
    • C:\Windows\System32\Drivers\Etc
    • C:\Windows\Syswow64\Drivers\Etc
  4. Double-click the hosts file.
  5. Choose Notepad if you are asked to select a program to open with.
  6. 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:
    User-added image

After completing steps 1 and 2, open QuickBooks in multi-user mode.

Asked to save the host 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.

  1. In the Save As window, enter "hosts" (include the quote marks) in the File Name field.
  2. Select Desktop as the Save As location, then select Save.
  3. Find the hosts file on the desktop, right-click, and choose Copy.
  4. Go to C:\Windows\System32\Drivers\Etc. Find the hosts file, right-click, and choose Rename.
  5. Rename the hosts file to hosts old, then select Continue.
  6. Press CTRL+V keys to paste the new hosts file and select Continue.

Note: You may have to repeat steps 1-6 for additional computers running Windows Vista/Windows 7/Windows Server 2008.