local PowershellScript no elevated rights, even with checkbox marked
Hello RDM Team
Since the last Update we're facing troubles with executing local PowerShell Scripts from RDM.
Even with the checkbox "run as admininistrator" marked the Script isn't executing in Admin-Mode.
Is there any known Issue / Bug about this?
in Case you need more information i'm happy to provide those.
Thanks
Tobias
grafik.png
Hello it-support3,
Thank you for contacting the Devolutions support team.
With 2025.1, we have implemented the Gsudo function for running as.
Could you tell me if this function works for you?
Also, for the elevated permission, could you run this script?
$currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())
$currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
Best regards,
Patrick Ouimet