What does Windows error code 1342 (ERROR_SERVER_NOT_DISABLED) mean?

 
Previous Next
ERROR_SERVER_DISABLED ERROR_INVALID_ID_AUTHORITY

ERROR_SERVER_NOT_DISABLED

The SAM server is enabled when the operation expects it to be disabled

This is the inverse state precondition of ERROR_SERVER_DISABLED. The account server is active, but the requested security or domain operation is only valid after entering a disabled state. The code therefore describes a mismatch between the current SAM server state and the operation being attempted; it is not a network availability or service-start failure.

Find the state-changing step that should precede the failing request and verify whether it completed against the same server object. In distributed administration, targeting a different machine for the second step can make a valid sequence look inconsistent. Do not force-stop unrelated services based only on this code; identify the SAMR or account-management transaction first.

What to inspect

  • Compare the failing operation with the immediately preceding server-state transition.
  • Verify every step targets the same account authority and server.
  • Use the paired ERROR_SERVER_DISABLED status to distinguish which precondition is currently violated.

References


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