Well, if you didn't delete anything, that's good. Just move the files back to their original folders.
If you can't do that, or if your pc is still "messed up", then we would need more details in order to be able to help you. Something like this..
- I moved the .xyz files from the C:\ProgramData\xxxxxx folder to the C:\temp\xxxxx folder and now when I launch the xxxxxx application I get an error message that says "Error 0x8000xxx - Unable to zzzzzz for yyyyyy."
Do most apps still work? What is common among the apps that do not work? Did you do anything with files/folders in C:\Windows? Did you try the uninstall/reinstall? Did you check for errors in the application and system event logs?