For quite a few months I noticed that my Dining Room/Street Hikvision DS2-CD2032-I was crashing more and more frequently until a couple of days ago when it refused to turn on at all. Hmmm. I have a spare so I retrieved it and contemplated the difficulty of configuring it exactly like my existing camera. Before I opened that box I recalled that I've had several electronic items 'fail' because their wall-wart power adapters gave up the ghost. This camera is being powered over ethernet via a TP-LINK POE Adapter, and I also had a spare of this device.
I started troubleshooting by swapping out the wall-wart for the identical power adapter from the new POE Adapter, and voila, the camera is now back to normal.
I'm sharing this experience so that if anyone else encounters 'failing' devices powered by wall-warts, maybe you should first consider that the problem is with the power supply and not the device itself. Anyway, it worked for me.