Don't do this.
You can get rid of Copilot *without* editing your registry.
You need a program called Geek Uninstaller. It's reputable. Check around.
Copilot relies on Edge. Without Edge, there is no Copilot.
Use Geek Uninstaller, choose Edge, right click, "Force Removal."
Easy to do or reverse.
Heads up if you use a PC with Windows 11: recent updates have put "Copilot" on your computer! This is Microsoft's new AI and it is integral to your OS; you CANNOT delete it!
BUT! You can -disable- it. And since it spies on you, odds are you'll want to it!
They don't make it easy, though.