Install WATs client services with privileged services
We want to utilize the software distribution functionality of WATs for all of our Windows based production PCs. however, we currently have to enter an Administrator password on all clients to install the package. this defeats the purpose of an automatic rollout in our case.
All of the production machines run under a standard user account, when the package is ready on the machine, a UAC dialog appears requiring an admin to enter their username and password to install.
When trialing NI Systemlink, the Systemlink client is able to install any packages when released without the UAC prompt on the same machines in our facility.
Here is an AI summary of how Systemlink does it:
What is happening
When NI SystemLink Client is initially installed, that installation requires administrative privileges. It installs background services that run with elevated Windows privileges. NI describes the client as providing the local processing and configuration needed for remote management of the Windows target. [ni.com], [ni.com]
Afterward, the flow is roughly:
SystemLink Server → SystemLink Client service → NI Package Manager → software/package installation
NI specifically supports deploying packages from the SystemLink Server to SystemLink Client machines. [knowledge.ni.com]
Why Windows doesn't ask for the admin password
This is the important distinction:
- Your interactive Windows login might be a standard user.
- The SystemLink-related service is already running under an account with sufficient machine privileges, typically a Windows service identity.
- The service receives the deployment request.
- It invokes the package-management/install infrastructure in its elevated service context.
- Therefore your logged-in user's security token isn't what performs the installation.
- Since Windows isn't trying to elevate your interactive process, there is no User Account Control credential prompt.
This is a common Windows management pattern. SystemLink gets the privilege during its initial administrative installation and thereafter performs management operations through its service infrastructure.
NOTE: We have to enter an admin username/password in order for the WATs client to be installed, so it should be able to maintain those rights for some services, the same way the Systemlink client does.
-
Official comment
Hi Kenny,
You should not have to enter the Administrator password on all clients to install the package. I have converted your post to a support ticket and you will be contacted by our support team regarding this.
Comment actions
Please sign in to leave a comment.
Comments
1 comment