markdomansky / WebJEA

WebJEA - Secure Self Service Web Forms from PowerShell Scripts
GNU General Public License v3.0
236 stars 27 forks source link

C:\scripts\config.json file getting reset #58

Closed omkarumarani closed 3 years ago

omkarumarani commented 3 years ago

Hi Author, the C:\scripts\config.json file getting reset after we added few scripts. We have seen two scenarios 1) it just resets after half an hour so no clue why that happens 2) if we do some error while updating config then resets.

Are you aware of this and what is that we can do to stop it?

markdomansky commented 3 years ago

The DSC deployment script is not configured to maintain state, only for initial deployment. See https://github.com/markdomansky/WebJEA/issues/26

omkarumarani commented 3 years ago

Thank you for quick and you project is life saver

omkarumarani commented 3 years ago

even after setting the parameter to false, it is still reseting.

markdomansky commented 3 years ago

You'll want to disable the local configuration manager from running every 30 minutes.