An internal error has occurred (error 50331688) on Windows SBS Server 2008


Users can't access their computers via Remote Web Workplace on an Windows Small Business Server 2008. Following error is displayed:

 VBScript: Remote Desktop Disconnected

VBScript: Remote Desktop Disconnected
And internal error has occurred (error 50331588). For more information, please contact your network administrator or Microsoft Product Support.


Issue was caused by an expired third party certificate not replaced in TS Gateway Manager on renewal. Certificate had been renewed and updated in IIS Console, however this does not automatically updates certificate in TS Gateway Manager.


Manually replace certificate in TS Gateway Manager:

  • mmc.exe > File > Add/Remove Snap-in > TS Gateway Manager > Add > OK
  • Select your server > Properties > SSL Certificate
  • Choose "Select an existing certificate for SSL encryption (recommended)"
  • Click "Browse Certificates" > Select your up to date certificate and click Install
  • Click OK to close opened dialog


Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait