How to Fix HTC Vive vrserver.exe Error 301 and Error 302

HTC Vive vrserver.exe Error 301 and Error 302

In this article, we are going to discuss one of the most common issue faced by people using HTC Vive and SteamVR and that is the vrserver.exe error. Currently, there are two error codes associated to vrserver.exe – Error 301 and Error 302.

SteamVR vrserver.exe error 301

Error 301 indicates that the vrserver.exe has failed to connect or start. A typical error message description is

Connect Failed: A key component of SteamVR isn’t working properly.

Error 302 is also related to vrserver.exe. This error indicates that vrserver.exe has failed to initialize. This can be due to a number of reasons.

Users who experience either Error 301 or Error 302 on SteamVR also get another issue with their Steam account – Error 309. The error shows the following message

SteamVR failed to initialized[sic] for unknown reasons. (Error: Not Initialized (109))

We have already written a guide on how you can fix Steam Error 109 Not Initialized. You can follow that guide if you just want to solve the HTC Vive Error 309.

How to fix vrserver.exe Error 301 and Error 302

We have gathered 3 possible ways in which you can fix your SteamVR Error 301 and Error 302. You can follow them one by one or you can pick anyone you want.

Fix 1: Setting location of Log and Config files in SteamVR

This is a very unorthodox way to fix Error 301. However, according to a reddit post this solution worked for many HTC Vive users. What you need to do is set the correct location for log and config files in SteamVR.

  1. Open SteamVR.
  2. Open Settings.
  3. Under Developer settings, scroll down till you see the below two options
    1. Set Log Directory
    2. Set Config Directory

      SteamVR Set Log Directory
      SteamVR Set Log Directory
  4. First click on Set Log Directory and it will open a browser window.
  5. Just click on Select Folder. Nothing else.

    SteamVR Set Log Directory option
    SteamVR Set Log Directory option
  6. Now click on Set Config Directory and again click on Select Folder.
  7. Restart SteamVR.

Fix 2: Using USBDeview

The second fix is reported to work for Error 301 by reddit users. However, you can still follow this method to fix Error 302. This method involves installing USBDeview, a utility program, and analyzing your system USB ports.

  1. Download USBDeview.
  2. Once downloaded, extract the files and open it from USBDeview.exe.
  3. Remove all USB cables including HTC Vive from your PC except for your keyboard and mouse.
  4. Go to USBDeview. There, you will see a list of all of your USB ports and the drivers that are installed on each one of them.

    USBDeview for HTC Vive USB drivers
    USBDeview for HTC Vive USB drivers
  5. Now, uninstall everything else except for your keyboard and mouse. To uninstall, click on any device name and select Uninstall Selected Devices.

    USBDeview uninstalling drivers
    USBDeview uninstalling drivers
  6. After you are done, restart your PC
  7. Plug your HTC Vive in any of the USB ports available.
  8. Start SteamVR and it should work now.
  9. If it still doesn’t work, try removing your keyboard and mouse, one at a time, and uninstall its drivers as well.

Fix 3: Killing vrserver.exe from Task Manager

This is the official fix of the HTC Vive Error 301 and 302.

  1. Update your SteamVR to latest version. There is an issue in older version that was pointed out by a user on SteamVR GitHub branch inside OSVR GitHub repo. The reason for this error is that there’s a piece of code somewhere inside SteamVR source code that runs infinitely. And for this reason, vrserver keeps running in the background even if you exit SteamVR.
  2. If you already have the latest version, then quit SteamVR.
  3. Open Task Manager by right clicking on the Windows Start bar.

    Task Manager Background processes
    Task Manager Background processes
  4. Under the Background Processes, look for a process named vrserver.exe
  5. Kill this process by right clicking on it and selecting End task.
  6. Now run SteamVR again.
  7. If you still have this issue, try rebooting your PC and HTC Vive Headset.

If all else fails, you need to send your system report to HTC. If you don’t know how, you can follow our guide on how to send system report to SteamVR mailing list.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.