Jump to content
DeployCentral

Running an Application Task as Admin?


Recommended Posts

Hello!

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

@ECHO OFF
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. 

Thanks,

Devon

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.

Guest
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.

 Share

×
×
  • Create New...