TCNOco / TcNo-Acc-Switcher

A Super-fast account switcher for Steam, Battle.net, Epic Games, Origin, Riot, Ubisoft and many others!
GNU General Public License v3.0
1.74k stars 121 forks source link

Can't write into the registry #272

Closed pjean closed 2 weeks ago

pjean commented 1 year ago

Describe the bug Each time, I launch the app, it asks me to enter admin password and when I try to save/update a new account I get an error saying that the can't write into the registry. I tried to reinstall the app but without success. It's like a part of the app has been installled under admin space.

To Reproduce Don't really know

Expected behavior I would like to be able to use the app without problem.

Screenshots Error

Desktop (please complete the following information):

Additional context We have an admin user and a simple user configured on the computer. The problem occurs under simple user account.

TCNOco commented 1 year ago

The app requires access to HKEY Current User\\Software\\Epic Games\\Unreal Engine\\Identifiers, as it reads the AccountId - to know which account is currently logged in. It will then swap this out with another account on switch.

This sounds like a limitation added by policies or third-party software on your computer. There isn't access where there should be. As far as I remember, you should be able to access these, even without admin permissions.

Have you tried running the account switcher as Admin? I know you're prompted for a password, but do so explicitly with Right-Click > Run as Administrator.

pjean commented 1 year ago

Sorry for the response delay, even if run the app as Admin I get the same error.

TCNOco commented 2 weeks ago

Hi, sorry for the very very delayed response. I'm cleaning out older issues. There have been many updates since this post. I won't close this as older just yet - as this issue may still be a thing.

The registry should be accessible in most cases, some keys need higher permissions afaik. Running the program as admin should help it access those unless there's another third-party app like an AntiVirus getting in the way.

Try downloading the latest release should you still be interested.