You may try below command to silently uninstall .net framework.
64bit :
Setup.exe /uninstall /x86 /x64 /q /norestart
32 bit :
Setup.exe /uninstall /x86 /q /norestart
--If the reply was helpful, please don’t forget to upvote or accept as answer. --