Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ PI Server Installation and Configuration (PI Server 2018)

Delete SPNs for the PI AF Application Service

  • Last UpdatedAug 04, 2025
  • 1 minute read

You do not need to delete SPNs related to the PI AF Application Service unless you have changed the account under which the service runs or you have uninstalled the service and the SPNs have not been deleted. For information on determining if SPNs exist for the PI AF Application Service, see View existing SPNs for the PI AF Application Service.

Depending on whether the service is running under the NetworkService account or a domain account, you must use different setspn options to delete the SPNs for the machine or the domain account.

Note: You must run the setspn command from a command prompt.

  • To delete the two SPNs registered for a PI AF Application Service that runs under the NetworkService account, enter these two commands in sequence:

    setspn -d AFServer/machine_FQDN machine_name 
    setspn -d AFServer/machine_name machine_name

    where:

    • machine_FQDN is the fully qualified domain name of the machine on which the PI AF Application Service runs

    • machine_name is the machine on which the PI AF Application Service runs

  • To delete the two SPNs registered for a PI AF Application Service that runs under a domain account, enter these two commands in sequence:

    setspn -d AFServer/machine_FQDN domain\account_name
    setspn -d AFServer/machine_name domain\account_name

    where:

    • machine_FQDN is the fully qualified domain name of the machine on which the PI AF Application Service runs

    • machine_name is the machine on which the PI AF Application Service runs

    • domain\account_name is the domain account under which the PI AF Application Service runs

TitleResults for “How to create a CRG?”Also Available in