Are you using a third-party monitoring tool - most modern tools throw this in for free - check product specs for "configuration audit" and "configuration tracking" - we throw it in with eG Enterprise
https://www.eginnovations.com/product/capabilities/change-configuration-tracking - commercially maybe LanSweeper might do some of what you want? I don't know of any free product - but sounds like the type of stuff Carl Webster's scripts might do....