I had a server I had to quickly give a alternate name to so that the existing users could point to the new server but I didn’t want to rename it the same as the old one. Traditionally you would simply add the following registry entry.
DWORD name: DisableStrictNameChecking
DWORD value: 1
Problem is this only works if you have SMB1.0 enabled on both the server and client and you know how unsecure that is (think EternalBlue exploited by Wanna cry).
The proper way is to use netdom to add an alternative name by doing the below.
This will add a new SPN in active directory for the current machine name.
Special thanks to Dimitri’s Wanderings which is in the first link below as that saved me a lot of time.