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.
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.
- Open SteamVR.
- Open Settings.
- Under Developer settings, scroll down till you see the below two options
- Set Log Directory
- Set Config Directory
- First click on Set Log Directory and it will open a browser window.
- Just click on Select Folder. Nothing else.
- Now click on Set Config Directory and again click on Select Folder.
- 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.
- Download USBDeview.
- Once downloaded, extract the files and open it from USBDeview.exe.
- Remove all USB cables including HTC Vive from your PC except for your keyboard and mouse.
- 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.
- Now, uninstall everything else except for your keyboard and mouse. To uninstall, click on any device name and select Uninstall Selected Devices.
- After you are done, restart your PC
- Plug your HTC Vive in any of the USB ports available.
- Start SteamVR and it should work now.
- 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.
- 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.
- If you already have the latest version, then quit SteamVR.
- Open Task Manager by right clicking on the Windows Start bar.
- Under the Background Processes, look for a process named vrserver.exe
- Kill this process by right clicking on it and selecting End task.
- Now run SteamVR again.
- 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.