Operating System Error 1782 to Operating System Error 1801 for SQL Server

As a SQL Server DBA, there are various occasions where SQL Server returns Operating System errors as it causes some failure performing certain SQL Server operations. Below are Operating System Errors from Error 1782 to Operating System Error 1801
The Operating System Error 1782(The byte count is too small.)RPC_X_BYTE_COUNT_TOO_SMALL
The Operating System Error 1783(The stub received bad data.)RPC_X_BAD_STUB_DATA
The Operating System Error 1784(The supplied user buffer is not valid for the requested operation.)ERROR_INVALID_USER_BUFFER
The Operating System Error 1785(The disk media is not recognized. It may not be formatted.)ERROR_UNRECOGNIZED_MEDIA
The Operating System Error 1786(The workstation does not have a trust secret.)ERROR_NO_TRUST_LSA_SECRET
The Operating System Error 1787(The SAM database on the Windows NT Server does not have a computeraccount for this workstation trust relationship.)ERROR_NO_TRUST_SAM_ACCOUNT
The Operating System Error 1788(The trust relationship between the primary domain and the trusteddomain failed.)ERROR_TRUSTED_DOMAIN_FAILURE
The Operating System Error 1789(The trust relationship between this workstation and the primarydomain failed.)ERROR_TRUSTED_RELATIONSHIP_FAILURE
The Operating System Error 1790(The network logon failed.)ERROR_TRUST_FAILURE
The Operating System Error 1791(A remote procedure call is already in progress for this thread.)RPC_S_CALL_IN_PROGRESS
The Operating System Error 1792(An attempt was made to logon, but the network logon service was notstarted.)ERROR_NETLOGON_NOT_STARTED
The Operating System Error 1793(The user’s account has expired.)ERROR_ACCOUNT_EXPIRED
The Operating System Error 1794(The redirector is in use and cannot be unloaded.)ERROR_REDIRECTOR_HAS_OPEN_HANDLES
The Operating System Error 1795(The specified printer driver is already installed.)ERROR_PRINTER_DRIVER_ALREADY_INSTALLED
The Operating System Error 1796(The specified port is unknown.)ERROR_UNKNOWN_PORT
The Operating System Error 1797(The printer driver is unknown.)ERROR_UNKNOWN_PRINTER_DRIVER
The Operating System Error 1798(The print processor is unknown.)ERROR_UNKNOWN_PRINTPROCESSOR
The Operating System Error 1799(The specified separator file is invalid.)ERROR_INVALID_SEPARATOR_FILE
The Operating System Error 1800(The specified priority is invalid.)ERROR_INVALID_PRIORITY
The Operating System Error 1801(The printer name is invalid.)ERROR_INVALID_PRINTER_NAME
This is applicable for below versions of Operating Systems
Windows Server 2003
Windows Server 2008 R2
Windows Server 2012
Hope this was helpful.
Thanks,
SQLServerF1 Team
In-Depth Blogs on SQL Server, Information about SQL Server Conferences and Events, SQL Server Frequently asked questions, SQL Server Trainings.