If you have any 27xxx or 28xxx Canary channel build installed then you have to do clean install of released version Windows 11 25H2.
If you have some Beta or Dev channel build installed then:
- Download Windows 11 25H2 ISO form offical download site: https://www.microsoft.com/en-us/software-download/windows11?msockid=063ee4474926616b367cf1af480e6028
- Delete WindowsSelfHost key from registry and relink back to insider peogram.
- Open open regedit (push Win key and type regedit)
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost
- Right click that key and delete it
- Close regedit and restart
- Mount downloaded ISO (Double click or right click and select mount 4) On mounted ISO run setup.exe to start in-place repair.
That procedure will take your device out of Insider program and give you stable, released Windows 11 25H2.