Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

registry key gamebar presencewriter permission issue #135

Open
Adrigorithm opened this issue Nov 7, 2023 · 1 comment
Open

registry key gamebar presencewriter permission issue #135

Adrigorithm opened this issue Nov 7, 2023 · 1 comment
Labels
Bug Something isn't working

Comments

@Adrigorithm
Copy link

Adrigorithm commented Nov 7, 2023

Describe the Bug

Running a default patcher + enable hibernate resulted in a permission error in the gaming responsiveness tweaks. (I could maybe resolve this by chowning the registry keys but I thought I'd report this here instead.

[-] [Performance] Disabling GameBar Presence Writer...
Set-ItemProperty : Requested registry access is not allowed.
At D:\Software\Win-Debloat-Tools-develop\src\lib\debloat-helper\Set-ItemPropertyVerified.psm1:28 char:13
+ Set-ItemProperty -Path "$Path" -Name "$Name" -Type $Type ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH....PresenceWriter:String) [Set-ItemProperty], Securit
yException
+ FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.SetItemPropertyCommand

How can this issue be reproduced?

run the apply tweaks script from the GUI (this is the current dev build, not the main branch)

Expected behavior?

No response

Operating System

Windows 11

Operating System Version

10.0.22621

Logs

WinDebloatTools-2023-11.log

@Adrigorithm Adrigorithm added the Bug Something isn't working label Nov 7, 2023
@LeDragoX
Copy link
Owner

Waiting for the sudo command to see if it helps.

The only way to address this Gamebar Presence Writer problem is to get the ownership of GameBarPresenceWriter.exe inside the C:\Windows\System32 folder and rename it.

Getting access through ACL in registry isn't working at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants