GUI / Project run as Administrator

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
klarlichter
Posts: 40
Last visit: Tue Mar 16, 2021 4:11 am

GUI / Project run as Administrator

Post by klarlichter »

Hello,

howe we can let work that project as run as administrator?
Could anyone help how to setup that?

User avatar
mxtrinidad
Posts: 399
Last visit: Tue Jan 19, 2021 10:16 am

Re: GUI / Project run as Administrator

Post by mxtrinidad »

Can you provide more detailed information on what you want to accomplish?

klarlichter
Posts: 40
Last visit: Tue Mar 16, 2021 4:11 am

Re: GUI / Project run as Administrator

Post by klarlichter »

Hello, i want if i press my exe file who i create with powershellstudio direct run as administrator. Till now i could do right cklick and run as Administrator. It would be more great if there is any possiblity to ask while press on exe to excute it as administrator previleges.

Locked