have tried multiple ways of disabling the file replication services
In case its a typo; Server 2019 cannot use FRS for replication. The two prerequisites to introducing the first 2019 or 2022 domain controller are that domain functional level needs to be 2008 or higher and older sysvol FRS replication needs to have been migrated to DFSR
https://techcommunity.microsoft.com/t5/Storage-at-Microsoft/Streamlined-Migration-of-FRS-to-DFSR-SYSVOL/ba-p/425405
--please don't forget to upvote
and Accept as answer
if the reply is helpful--