What does NTSTATUS 0xC0000122 (STATUS_INVALID_COMPUTER_NAME) mean?

 
Previous Next
STATUS_CANNOT_DELETE STATUS_FILE_DELETED

STATUS_INVALID_COMPUTER_NAME

Meaning and context of STATUS_INVALID_COMPUTER_NAME

Several Netlogon Remote Protocol methods apply the processing rules listed in the following section to determine which error codes are returned. The applicable processing rules from those mentioned in this section are referred to in each of the method descriptions. Error codes prepended with the prefix STATUS are of type NTSTATUS ([MS-ERREF] section 2.3); the remaining error codes are of type NET_API_STATUS. Error codes prepended with the prefix ERROR are defined in [MS-ERREF] section

If the input parameter to a Netlogon RPC request is a computer name (the DNS or NetBIOS name) or server name, the server SHOULD<64> look up this name in the domain the server hosts. If the name is not found, the server MUST return ERROR_INVALID_COMPUTERNAME or STATUS_INVALID_COMPUTER_NAME.

Native status interpretation for STATUS_INVALID_COMPUTER_NAME

STATUS_INVALID_COMPUTER_NAME is 0xC0000122, an NTSTATUS error value. AllStat describes it as “Indicates a name specified as a remote computer name is syntactically invalid.”. For STATUS_INVALID_COMPUTER_NAME, the first useful question is which native API, IRP, protocol operation, or subsystem in the kernel, native API, or subsystem that returned the status produced that status.

Debugging sequence for STATUS_INVALID_COMPUTER_NAME

  • Preserve STATUS_INVALID_COMPUTER_NAME before RtlNtStatusToDosError, HRESULT conversion, exception translation, or provider-specific remapping removes information.
  • Correlate STATUS_INVALID_COMPUTER_NAME with ETW, Event Viewer, protocol traces, or a dump from the component that owns computer / name; do not diagnose from translated text alone.
  • For kernel I/O, keep the device stack, IRP major/minor function, request parameters, completion routine, and the first component that completed the request with STATUS_INVALID_COMPUTER_NAME.

Recovery considerations for STATUS_INVALID_COMPUTER_NAME

A retry is appropriate only after the owner of STATUS_INVALID_COMPUTER_NAME has changed the state described by “Indicates a name specified as a remote computer name is syntactically invalid.”, or when its contract explicitly marks the status as transient. For STATUS_INVALID_COMPUTER_NAME, if the value reports corruption, invalid format, access policy, or a lifecycle mismatch, preserve evidence and correct that cause before repeating the request.

Official references for STATUS_INVALID_COMPUTER_NAME


Looking for a different code? Search another status or error code.