Error 582 - ERROR_ILLEGAL_CHARACTER
An illegal character was encountered. For a multi-byte character set this includes a lead byte without a succeeding trail byte. For the Unicode character set this includes the characters 0xFFFF and 0xFFFE.
Symptoms
- An illegal character was encountered. For a multi-byte character set this includes a lead byte without a succeeding trail byte. For the Unicode character set this includes the characters 0xFFFF and 0xFFFE.
- System error 582 (ERROR_ILLEGAL_CHARACTER)
Troubleshooting steps
- Note the exact error 582 (ERROR_ILLEGAL_CHARACTER) and which operation failed.
- Check the Windows Event Viewer and the relevant application/service logs for related entries.
- Apply the fix documented by Microsoft for error ERROR_ILLEGAL_CHARACTER (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com