Xiexe / XSOverlay-Issue-Tracker

This is a public repository for tracking issues with XSOverlay. There will be no other activity here other than bug reports / feature requests.
10 stars 4 forks source link

XSOverlay won't launch if AllowAdminPermissions is set to true #322

Open tasonosenshi opened 4 months ago

tasonosenshi commented 4 months ago

Describe the bug in detail: On a fresh install of XSOverlay, I checked the setting to make it launch with Admin permissions so I could interact with task manager while in VR. After closing the application using Steam, I could no longer re-launch the application. Both auto-launch on SteamVR start and directly launching in Steam fail to start the application. I've tested both regular and beta options in steam.

Provide steps to reproduce the bug: Steps to reproduce the behavior:

  1. Uninstall XSOverlay
  2. Manually delete C:\Users\<user>\AppData\LocalLow\Xiexe\XSOverlay
  3. Reinstall XSOverlay
  4. Launch XSOverlay
  5. Open settings, and check the box to launch with Admin permissions
  6. Use Steam to stop XSOverlay
  7. XSOverlay won't launch again

Expected behavior: XSOverlay launches, maybe with a UAC prompt the first time, and then I can spawn an overlay that can interact with task manager.

Output Log: You can find your output log at C:\Users\[Username]\AppData\LocalLow\Xiexe\XSOverlay\ You can find the uWindowCapture and uDesktopCapture log in the XSOverlay install directory. Please attach your logs to the issue.

No logs exist in either location after this process. It doesn't seem to get far enough through startup to log anything?

Additional Information: OS Name Microsoft Windows 11 Pro Version 10.0.22631 Build 22631

From the Steam Properties menu, Updates tab: Regular XSOverlay Build ID: 12586499 Beta XSOverlay Build ID: 13427328

tasonosenshi commented 4 months ago

Update:

Deleting C:\Users\<user>\AppData\LocalLow\Xiexe\XSOverlay\config\overlaySettings.json allows XSOverlay to launch again.

Also, instead of deleting the file, simply editing the field AllowAdminPermissions to false seems to allow XSOverlay to launch as well,

Riletin commented 2 months ago

Also having this issue on Windows 10 Home.

Xiexe commented 2 months ago

Hi all!

Update here, I've found a solution to this and the root cause of the issue seems to be that the file path has changed.

That could be either due to the user moving the install directory or due to a windows reinstall, or even just installing a new hard drive causing the drive letter to change.

There will be a fix out this week for this, and ill update the issue here when I push the update!