dlss-swapper icon indicating copy to clipboard operation
dlss-swapper copied to clipboard

[BUG] Can't manually add games, or import/export DLLs while running as admin

Open rayleigh67 opened this issue 11 months ago • 8 comments

In the latest version released, when running as administrator it is not possible to add games. and when the program is run without admin privileges, it is not possible to rewrite the dll in the game folder

Image

rayleigh67 avatar Jan 27 '25 21:01 rayleigh67

Same~ish here. If I run it as admin I get this (attached pic). If I don't run it as admin it crashes to desktop.

Specs: Edition Windows 11 Home Version 23H2 Installed on ‎10/‎24/‎2022 OS build 22631.4751 Experience Windows Feature Experience Pack 1000.22700.1055.0

Image

haroldnixon avatar Jan 28 '25 03:01 haroldnixon

when running as administrator it is not possible to add games

As dumb as this sounds, bugs outside of DLSS Swappers control means that brining up a file/folder browser dialog in an app running as admin will crash. There is workarounds, but ideally there should be no reason to run the application with admin permissions.

when the program is run without admin privileges, it is not possible to rewrite the dll in the game folder

Can you let me know what game folder it is trying to write to?

Thanks for that info @haroldnixon. I'll try install the same OS/feature set in a virtual machine and see if it does the same thing.

beeradmoore avatar Jan 28 '25 03:01 beeradmoore

I'm trying to reinstall on local disk c

rayleigh67 avatar Jan 28 '25 04:01 rayleigh67

I use the same OS as the friend above

rayleigh67 avatar Jan 28 '25 04:01 rayleigh67

Leaving note here for the stuff I have to do to fix this: https://learn.microsoft.com/en-us/uwp/api/windows.storage.pickers.filesavepicker?view=winrt-22621#in-a-desktop-app-that-requires-elevation

beeradmoore avatar Jan 30 '25 09:01 beeradmoore

Hi, mentioned in other bug, @beeradmoore asked UAC settings. Here we go:

Image

DrewCZ avatar Feb 02 '25 22:02 DrewCZ

Thats odd @DrewCZ , are you able to not run DLSS Swapper the app as admin?

beeradmoore avatar Feb 02 '25 22:02 beeradmoore

my issue was because total commander runs under elevated permissions. that's it. mentioned level works well when started under explorer.exe

tested and add game works well! thank you for your help!

DrewCZ avatar Feb 02 '25 22:02 DrewCZ