Why does it show registry error?

I copied out mspaint.exe and some resource files as well were needed.

It runs for me without error.