Jump to content

Running an Application Task as Admin?

C Thelen

Recommended Posts


I am trying to remotely install RealVNC Server via application deployment.

One of the steps for cloud connectivity requires running an elevated .bat file.

Using Cloud connectivity tokens – RealVNC Help Center

IF NOT EXIST C:\ProgramData\RealVNC-Service\vncserver.d\CloudCredentials.bed (
    "C:\Program Files\RealVNC\VNC Server\vncserver.exe" -service -joinCloud <TOKEN>
    echo VNC Server successfully joined to cloud > C:\vnccloudjoined.txt


Is there any way to run this as an administrator without user input?


Thank you!

Link to comment
Share on other sites

Hello C Thelen,

Just to verify, you want to install RealVNC Server via an Application Pack that silently (Without user input) runs. After it's installed, you want to run that .bat file correct?

If you can point me to the vncserver.exe (Is it this?), I could create the Application Pack for you, or if you want to send me your current Application Pack, send it to support@SmartDeploy.com and I can take a look. Be sure to reference this thread in the ticket. 



SmartDeploy Support

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...