# New Pimax 8K not tracking

**URL:** <https://forum.openmr.com/t/new-pimax-8k-not-tracking/9497>\
**Category:** Feedback\
**Tags:** issue\
**Created:** [October 23, 2018, 11:15am UTC](https://forum.openmr.com/t/new-pimax-8k-not-tracking/9497 "2018-10-23T11:15:19Z")\
**Posts on this page:** 1\
**Showing post:** 35

<div class="post-metadata">

**Author:** ![Davebobman](https://forum.openmr.com/user_avatar/forum.openmr.com/davebobman/32/3348_2.png) [@Davebobman](https://forum.openmr.com/u/Davebobman)\
**Post date:** [November 7, 2018, 6:40pm UTC](https://forum.openmr.com/t/new-pimax-8k-not-tracking/9497/35 "2018-11-07T18:40:12Z")

</div>

> [@SweViver](#):
>
> I got it fixed the lighthouse tracking issue with the help from Sean!!!  
> It seems to be config-related issue.  
> @Ronanbuzz
> 
> Try to do this:
> 
> 1. Make sure headset is connected and PiTool is running showing the “Not tracked, Place the helmet in the visible position of the base station”
> 2. Delete all files in folder "C:\Users\ _your username_ \AppData\Local\Pimax\runtime\config\lighthouse
> 3. Restart Piservicelauncher service (keep the headset connected and powered on)
> 4. If that doesnt help or do anything, quit the process PiService.exe (headset will disconnect in PiTool) and start up PiService.exe again from folder C:\Program Files\Pimax\Runtime.
> 5. A windows command prompt window shows up and stays.
> 6. A few seconds later PiTool will show that HMD is connected again. Give it a few more seconds.
> 7. Suddenly HMD starts to track with Lighthouses 🙂
> 8. Now restart PC and things will work as normal!
> 
> Now this seems to fix it, and when you reboot PC or unplug the headset from power and plug it back, the headset will track with Lighthouses again once its started!

I have created a [batch file](https://www.dropbox.com/s/gul27bzlxgss931/Reconfigure_Lighthouses.bat?dl=0) that will go through this process (except restarting your PC).

It is untested (I don’t have PiTool or my headset) so I would appreciate if @Sjef and/or some other code monkeys would take a look at it.

**EDIT:** It is extremely ugly but heavily commented. Who knew that commenting in a batch file would look that bad.

**EDIT** Here are the contents of the batch file (in case the Dropbox link gets broken at some point). To make your own batch file just copy the contents into a text file and change the extension from “.txt” to “.bat”.

> REM Everything after REM is a comment.  
> REM [How to "comment-out" (add comment) in a batch/cmd? - Stack Overflow](https://stackoverflow.com/questions/11269338/how-to-comment-out-add-comment-in-a-batch-cmd)
> 
> REM Variables in case of future changes  
> REM [cmd - Defining and using a variable in batch file - Stack Overflow](https://stackoverflow.com/questions/10552812/declaring-and-using-a-variable-in-windows-batch-file-bat)  
> REM [What are PATH and other environment variables, and how can I set or use them? - Super User](https://superuser.com/questions/284342/what-are-path-and-other-environment-variables-and-how-can-i-set-or-use-them)
> 
> set LighthouseConfigLocation=“C:\Users\%USERPROFILE%\AppData\Local\Pimax\runtime\config\lighthouse”  
> set service1=“Piservicelauncher”  
> set service2=“PiService”  
> set Service2Location=“C:\Program Files\Pimax\Runtime”
> 
> REM This deletes Pimax’s lighthouse configuration files  
> REM [windows - How to delete all files and folders in a folder by cmd call - Stack Overflow](https://stackoverflow.com/questions/1502913/how-to-delete-all-files-and-folders-in-a-folder-by-cmd-call)
> 
> del /q %LighthouseConfigLocation%\*  
> for /d %%x in (%LighthouseConfigLocation%\*) do @rd /s /q “%%x”
> 
> REM This restarts service1  
> REM [NET.EXE: Start/stop/restart any Windows Service from the command line | The Core Technologies Blog](https://www.coretechnologies.com/blog/windows-services/essential-tools-for-windows-services-net-command/)
> 
> net stop %service1%  
> net start %service1%
> 
> REM This restarts service2
> 
> net stop %service1%  
> REM net start %service1% &REM This command will restart the service.  
> %Service2Location%%service2%.exe &REM This command will restart the service from a specified location.

---

_[View the full topic](https://forum.openmr.com/t/new-pimax-8k-not-tracking/9497)._
