Thank you for recommending SysInternals Process Monitor . It turns out that the app was trying to create a folder in C:\program files\Common Files and win10 22h2 blocked it. I had to manually create the folder and grant the app the read/write rights to the folder and that solved the problem.
old win app needs to read/write/delete xml file under win10 22h2
I have an old Windows app written around 2004. The app needs to create/read/write an XML file. If the app is installed in Win7 and then upgraded to all versions of Win10, it will work ok. However, if it is installed under Win10 21H1 and newer, it cannot create/read/write the XML file. I THINK it used to work ok if installed under Win10 2004.
So something was changed in the Win10 updates, but I don't know how to fix it.
I have tried changing the security ownership (read/write/delete) and Windows7 compatibility, but it didn't work.
Anyone has any idea as to how to fix this?
Thanks in advance.