Update causing unauthorized blocks

I have been playing AOE III for years and recently when I got a Windows Defender update not I get these message popping up saying “Unauthorized changes blocked, Controlled folder access blocked C:\Users
\to…\insAFEF.tmp from making changes, to memory.” and “Unauthorized changes blocked
Controlled folder access blocked C:, \Program Fil…\age3.exe from making, changes to the folder %userprofile%, \Documents.” I have removed and reinstalled AOE III but when I start the game and select Single Player, Skirmish I am prompted for name and then the only functionality available it manage cities. I can’t play the game against the computer. I have not idea why