How to Disable Telemetry by Disabling Its Service
The telemetry feature relies on a Windows service that starts automatically every time you turn on your PC. When you disable the service, you'll essentially have disabled telemetry as well.
To launch the Services console, press Win + R, type services.msc, and press Enter. Search for a service named Connected User Experiences and Telemetry. Double-click on the service to launch service properties.
Stay in the General tab and change Startup type to Disabled.
Click OK. Next, look for another service named Device Management Wireless Application Protocol (WAP) Push message Routing Service. Disable it the same way. Restart your PC, and you're done.
You can also use the Command Prompt to disable these services if you don't want to spend time looking for these services. Press Win + R, type cmd, and press Ctrl + Shift + Enter to launch the Command Prompt as an administrator.
I use pfSense as my router out to the world and using pfBlockerNG you can block out stuff you don't want as well as incoming stuff.
You could also probably set your hosts file so that anything being sent to the telemetry address gets thrown in the black hole.
I have been using this for quite a while now very good its a bunch of scripts its from Chris Titus his sight Debloat Windows in 2022 just need to copy and run script from Powershell in Admin 1st one is older still good , 2nd is newest version