For Windows 10 disable of CoPilot, create a batch file with the following commands and then execute it in an elevated command prompt:
reg add "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsCopilot" /f /v "TurnOffWindowsCopilot" /t REG_DWORD /d 1
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot" /f /v "TurnOffWindowsCopilot" /t REG_DWORD /d 1
After execution, logoff and log back on to see that CoPilot has been removed.