Is there some program that saves Windows configuration as you have before reinstalling the same operating system?
For example, I want a program which scans all (or some main) configuration's in Windows 7.
Yes, you can use the "Windows Easy Transfer" to move data and configuration to your new machine. Also, if you are re-installing on the same machine, the windows 7 install should ask you if you want to retain your data and settings.
Windows also offers an informational tutorial video about Windows Easy Transfer here if you want to check it out:
http://windows.microsoft.com/en-us/windows7/products/features/windows-easy-transfer