Hi, @Rakesh kumar
Thank you for posting in Microsoft Q&A forum.
however we used the windows servicing but no success though deployment shows as compliant.
If an update is required for a device, the device installed the update successfully, it will show as compliant.
If an update is not required for a device, the deployment will show as compliant too.
Like Youssef said, for Windows 10 versions 20H2, 21H1, 21H2, we have to deploy the enablement package for them.
https://support.microsoft.com/en-us/topic/kb5015684-featured-update-to-windows-10-version-22h2-by-using-an-enablement-package-09d43632-f438-47b5-985e-d6fd704eee61
For the windows 10 version 1909 and earlier, make sure the devices have installed the latest CU and SSU, then the update windows 10 22H2 will be considered as required for these devices.
https://learn.microsoft.com/en-us/answers/questions/1159905/upgrading-win-10-1803-to-21h2-possible
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".