Jump to content
DeployCentral

Running an Application Task as Admin?


C Thelen

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...