Error prevents deactivating license

Having just returned from traveling where I used SDL Trados Studio 2017 on my laptop, I now need to transfer the license back to my desk top. However, deactivating the license on my laptop doesn't work. When I click "Deactivate" I get an error "Deactivation failed. Could not revoke this license. -Error [202]: Lock info is not matching".

So I tried deactivating offline, went to my account and generated an offline Deactivation Authorization and pasted it in the Deactivation Authorization box and clicked "Generate Certificate". This gives me the error "Failed to deactivate offline. The specified deactivation authorization may not be valid. Validate your deactivation authorization against the deactivation authorization in your SDL account". Which, of course, is where it came from.

So once again I am stuck and cannot use Studio for my day's work. How do I fix this?