I fixed the issue. It was my ESET Antivirus. I inactivated it for 10 minutes while I tried to install the .NET 9 SDK and that resolved the issue.