I'll assume you asking about the replication status tool? What problem are you having? It runs fine on my 2022 domain controller. Might try a new download.
https://www.microsoft.com/en-us/download/details.aspx?id=30005
--please don't forget to upvote
and Accept as answer
if the reply is helpful--