Use this PowerShell command to reregister Cortana with Windows 10.