The customer noticed that their Windows Server 2016 Site Servers tend to lose their [Task] registration. The customer noticed that if they Enable the Anonymous Authentication on the ClientTaskServer object in IIS, it allowed the [2016] Site Server to register itself and also allow clients to register to it.
NOTE: Starting with ITMS 8.1 release, the ClientTaskServer web object has its Anonymous Authentication set to Disabled by default.
The customer uses an ACC account (Altiris Connectivity Credentials), which is a Local Account to his machines.
The ACC is present on the site server, enabled and unlocked. In IIS, Anonymous Authentication is *enabled* on the ClientTaskServer page. In this condition, the Task server registers.
The ACC is present on the site server, enabled and unlocked. In IIS, Anonymous Authentication is *disabled* on the ClientTaskServer page. In this condition, the Task server *does not* register.
When we try from the browser to access this page (when anonymous authentication is disabled):
http://TaskServername/Altiris/ClientTaskServer/Register.aspx?lastResort=true&resourceGuid=da6c4ead-bd50-4c67-bd9f-1acb50183b4b&crc=0008000100001863
we get a prompt page for credentials, we add the ACC account and it displayed this page after trying three times:
HTTP Error 401.1 - Unauthorized You do not have permission to view this directory or page using the credentials that you supplied.
If we try using the AppID account, which is a domain account, when IE prompts for credentials, we get the expected registration page.
One thing that we saw in the Security Event logs on the Task Server when a client machine is trying to register to the task server is this:
An account failed to log on.
Subject: Security ID: NULL SID
Account Name: -
Account Domain: -
Logon ID: 0x0
Logon Type: 3
Account For Which Logon Failed:
Security ID: NULL SID
Account Name: ServiceAccountExample
Account Domain:
Failure Information:
Failure Reason: The user has not been granted the requested logon type at this machine.
Status: 0xC000015B
Sub Status: 0x0
An account failed to log on.
Subject:
Security ID: NULL SID
Account Name: -
Account Domain: -
Logon ID: 0x0
Logon Type: 3
Account For Which Logon Failed:
Security ID: NULL SID
Account Name: ServiceAccountExample
Account Domain:
Failure Information:
Failure Reason: The user has not been granted the requested logon type at this machine.
Status: 0xC000015B
Sub Status: 0x0
Process Information:
Caller Process ID: 0x0
Caller Process Name: -
Network Information:
Workstation Name: WSExampleName
Source Network Address: 10.XX.XX.XXX
Source Port: 62019
Detailed Authentication Information:
Logon Process: NtLmSsp
Authentication Package: NTLM
Transited Services: -
Package Name (NTLM only): -
Key Length: 0
This event is generated when a logon request fails. It is generated on the computer where access was attempted.
The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).
The Process Information fields indicate which account and process on the system requested the logon.
The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
The authentication information fields provide detailed information about this specific logon request.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
ITMS 8.1 RU7 and later
GPO Configuration. The problem is that the policy “Deny access to this computer from the network” has the user group “Local Account”.
Also, there is another GPO that affects "Local Accounts" to be validated during authentication.
Remove the "Local Account" from the policy “Deny access to this computer from the network”.