old win app needs to read/write/delete xml file under win10 22h2

Tran Dee 0 Reputation points
2023-08-28T01:59:29.1666667+00:00

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.

Windows for business Windows Client for IT Pros Devices and deployment Set up, install, or upgrade
Windows for business Windows Client for IT Pros Devices and deployment Configure application groups
Windows for business Windows Client for IT Pros User experience Other
{count} votes

1 answer

Sort by: Most helpful
  1. Tran Dee 0 Reputation points
    2023-09-27T02:25:30.12+00:00

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.