Add-UserToLoginAsBatch script found in HealthCheck folder of the PSM Installation CD

Add-UserToLoginAsBatch script found in HealthCheck folder of the PSM Installation CD

87
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 13:02 PM


Question


What is the Add-UserToLoginAsBatch script found in HealthCheck folder of the PSM Installation CD meant for?

Environment


10.7;10.8;10.9;10.10

Answer


The Add-UserToLoginAsBatch is only invoked in the "standalone" mode, which is NOT the default mode. In this mode, the HealthCheck service runs independently and is started by a scheduled task. The purpose is to help ensure that the service is always available automatically, for example after a machine restart, with no required manual intervention. As part of this method of deployment, a user called HealthCheckUser is created in the system and is used to run the service in the context of the scheduled task, and the script Add-UserToLoginAsBatch grants the user the necessary permissions.

The default deployment mode is the "integrated" mode which runs the HealthCheck service via IIS. In this instance no scheduled task is created, and therefore no new user is created - the service runs within the context of the IIS application pool account.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001DEhCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail