I have a self signed exe which will internally writes to "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\CONFIG" file and save it.
Whenever the file is