Cannot Write Project File

Hello,

I have the latest version of Keil uVision (5.43.1.0) and am using a community edition license.

This is my first time using Keil. When I try to create a project, after selecting the directory and device, I get an error saying: "Cannot write project file 'XXX.uvproj'!"

It creates empty 'Listings' and 'Objects' folders in the location but no project file.

I am able to open some example projects but cannot save them after modifying- I get the same error message.

I have tried:

  • creating projects in different directories
  • creating other types of files (.txt) in those same directories (which works, so windows can write to the directories but Keil can't?)
  • checking windows defender settings, though I'm not sure what I should be looking for
  • Un-installing and re-installing Keil in the root directory (it was initially installed in C:\Users\username\AppData\Local)
  • checked that the license is active
  • checked I am logged in as admin (I am)

I'm not sure what else to check or try. Would appreciate any help.