Hi, I'm a new menber and I had the same problem with 2 cameras Hikvision: DS-2CD2332-I and DS-2CD2232-I5.
They worked fine for 1 year and last week both cameras return to the factory default setting with admin password = 12345
I reloaded the saved setting for each camera and it worked fine again...