Run winvnc with administrator rights

Here you will find help for frequently asked questions as well as for your specific question.

Run winvnc with administrator rights

Postby razor_xxx » 2017-03-15 15:42

I work as a helpdesk agent. I made a custom application that runs winvnc to perform a reverse vnc connection from my customers to my office pc. The command which is run from my app looks as following:

> winvnc.exe -sc_prompt -sc_exit -autoreconnect -connect ip_address::port -run

This works perfectly, but when you try to open a Windows function/program that needs admin rights, the UAC windows is prompted, and I cannot launch executable files as well. The same occurs when screen protector is launching. No matter what kind of account the user is, admin and non admin users are prompted at the same way. And the problems grow in Windows 10...

So my question: Is there a way to launch winvnc (reverse connection as shown above) allowing run everything as the same permissions as the local user? So that, if the local user is admin, no prompt for UAC.

Thanks in advance!
razor_xxx
 
Posts: 3
Joined: 2013-01-18 12:14

Re: Run winvnc with administrator rights

Postby Rudi De Vos » 2017-03-16 12:27

Not possible

UAC is used to protect applications to start critical exe without user intervention.
If it's possible to use a backdoor then UAC would make no sense to protect anything.

R.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5283
Joined: 2004-04-23 10:21

Re: Run winvnc with administrator rights

Postby razor_xxx » 2017-03-22 09:16

And why other solutions for remote connections, like TeamViewer, LiteManager or RemoteUtilities, can make it run without installation with the same permissions of the current user and without UAC prompt?
razor_xxx
 
Posts: 3
Joined: 2013-01-18 12:14

Re: Run winvnc with administrator rights

Postby Rudi De Vos » 2017-03-22 15:22

To avoid UAC you have 2 options
-Run as service
-Start the application with runas admin


Teamviewer can not run as "current user" and use UAC
https://www.teamviewer.com/en/help/332- ... tible.aspx
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5283
Joined: 2004-04-23 10:21


Return to General help

Who is online

Users browsing this forum: No registered users and 2 guests

cron