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.
Post Reply
klarlichter
Posts: 40
Joined: Tue Nov 19, 2019 1:17 am

GUI / Project run as Administrator

Post by klarlichter » Mon Nov 25, 2019 3:41 am

Hello,

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

User avatar
mxtrinidad
Site Admin
Posts: 369
Joined: Sun Mar 03, 2013 12:42 pm

Re: GUI / Project run as Administrator

Post by mxtrinidad » Mon Nov 25, 2019 6:28 am

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

klarlichter
Posts: 40
Joined: Tue Nov 19, 2019 1:17 am

Re: GUI / Project run as Administrator

Post by klarlichter » Mon Nov 25, 2019 9:57 am

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.

Post Reply