
The running saphostexec executable regularly checks a directory $DIR_NEW, by default /usr/sap/hostctrl/new (on UNIX and IBM i) or %ProgramFiles%\SAP\hostctrl\new (on Windows), where it expects to find the latest version of the executable of SAP Host Agent from the unpacked SAPHOSTAGENT.SAR archive.
| Windows | You must be logged on as a member of the local Administrators group. |
| UNIX | You must be logged on as a user with root authorizations. |
| IBM i | You must be logged on as a user profile with special authorities *SECADM and *ALLOBJ, for example as user profile QSECOFR. |
An upgrade is only performed if a version of the SAP Host Agent executable programs is found in the $DIR_NEW directory that is higher than the version of the executable programs that exist in the SAP Host Agent executable directory.