TLDR; run this ⮷, and change the owner of the RDWorksV8 install folder recursively to the medlem user account.C:\Windows\System32\cmd.exe /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" "C:\Program Files\RDWorksV8\RDWorksV8.exe"
Source for command: https://superuser.com/questions/171917/force-a-program-to-run-without-administrator-privileges-or-uac
I have embedded the windows shortcut at the bottom of this page.
Why it works:
The command C:\Windows\System32\cmd.exe /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" "C:\Program Files\RDWorksV8\RDWorksV8.exe"
forces the program to run as the user, bypassing the admin aprooval request.
For convenience create a windows shortcut that runs this command. See the embedded shortcut on this page.
Some files the program needs to access are in the installation folder, the user cannot access these and you end up with the mystical error "Access to an unnamed file was denied.".
To fix that error you need to change the owner of the RDWorks install folder recursively to be the user account. (In this case medlem
)
Step by step procedure to change the ownership of the folder:
C:\Program Files
The medlem account should now be able to run and use RDWorks without issue.
Solutions I tried that didn't work:
runas
in cmd - Program did not launch, if I launched cmd first as aids through runas then the program, I got UAC without password prompt. Program ran as admin. I could not get this to work with the /c parameter in cmd. Had to go through open, navigate, run program.