1. Weston Goodwin
  2. PowerBuilder
  3. Wednesday, 15 September 2021 23:46 PM UTC

On my work computer I do not have admin rights.  However when I run powerbuilder 2019 it has elevated privileges(by looking at task manager).  I do not want it to run with elevated privileges but I have not been able to figure out how to turn it off.

I checked the following places:

1.)Right Click on the shortcut -> Advanced -> Run as admin is unchecked
2.)Right Click on the shortcut -> Compatibility -> Run as admin is unchecked
3.)Right Click on the exe -> Compatibility -> Run as admin is unchecked

I've tried the following commands:

1.)runas /trustlevel:0x20000 "newapp.exe"
2.)runas /user:domain\username "newapp.exe"

But the app still runs with elevated privileges.  Any help would be appreciated.

 
John Fauss Accepted Answer Pending Moderation
  1. Thursday, 16 September 2021 02:24 AM UTC
  2. PowerBuilder
  3. # 1

Hi, Weston - 

Both PB 2017 R3 and PB 2019 R3 run without elevated privileges on my home Windows 10 Pro (10.0.19042 Build 19042) desktop PC, as do deployed applications.

I'm currently at a loss to explain this discrepancy with your experience. I do have administrator rights on my home PC, of course.

 

Comment
There are no comments made yet.
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Thursday, 16 September 2021 09:06 AM UTC
  2. PowerBuilder
  3. # 2

Hi Weston,

Did you set Security -> Execution Level to Require Administrator in PB Project? If yes, please change it to “As Invoker” then try again.
Also, when you ran PB IDE or the deployed applications, did it pop up a message box asking you for administrator password?

Besides running PB deployed application, does it also show Elevated when you run other applications?
I googled it and found posts below showing users how to run applications without administrator privileges. Please check it out and see if this helps:
https://superuser.com/questions/171917/force-a-program-to-run-without-administrator-privileges-or-uac 

Regards,
Ken

Comment
There are no comments made yet.
Weston Goodwin Accepted Answer Pending Moderation
  1. Thursday, 16 September 2021 14:29 PM UTC
  2. PowerBuilder
  3. # 3

Hi Ken

 

Q.)Did you set Security -> Execution Level to Require Administrator in PB Project? 

A.)No 

Q.)Also, when you ran PB IDE or the deployed applications, did it pop up a message box asking you for administrator password?

A.)No

 

Q.)Besides running PB deployed application, does it also show Elevated when you run other applications?

A.)Every application in task manger either has a No beside it or there is no value.

 

Q.)I googled it and found posts below showing users how to run applications without administrator privileges. Please check it out and see if this helps:
https://superuser.com/questions/171917/force-a-program-to-run-without-administrator-privileges-or-uac 

A.)If the sysadmin logs into my machine and tries what is in the link it will work.  If I do it with my account(which does not have admin rights) it does not work.  I also checked with a co-worker and their machine has same issue.  

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.