Compare Configuration Files Safely with WinMerge

Most configuration mistakes come from an edit nobody reviewed. Comparing the old and new versions before you deploy a change catches the typo, the deleted line and the setting you did not mean to touch.
Keep the original
Before you edit anything, save a dated copy of the current file, for example app.config.2026-11-20-before.config.
Keep it outside the folder you deploy from.
Compare
- Open WinMerge and choose File → Open for both files. The left side is the old version, the right side is the new one.
- Review every highlighted block. Pay attention to lines that changed but look the same, such as trailing spaces or different line endings.
- Use Merge to copy only the lines you want from one side to the other.
Check the details
- Confirm that passwords, server names and paths are correct.
- Look for lines that were removed. A deleted setting may fall back to a default you do not want.
- Save the merged file under a new name, and do not overwrite the reviewed copy until the deployment is complete.
Record the change
Write a short note: what changed, why, who reviewed it, and when it was deployed. Keep the note with the dated copies.
Continue with reviewing GPO exports.