Windows has detected a Registry/Configuration Error

Good day!
Anyone who can help me please in this concern?
I turned on my PC yesterday and I was surprised with this error code that appeared on my computer monitor’s screen “Warning: Windows has detected a registry/configuration error. Choose Safe Mode to start Windows. ”
I followed the command prompt instruction and choose Safe Mode but only the black blank screen had appeared and nothing had happened afterwards.
I kept on restarting my PC by pressing the power button but the error had been repeatedly occurring again and again.
Please help me on how I can fix this problem.
Anyway, is pressing the power button of the computer when it hangs-up or not responding advisable?
Thank you very much for your help.
Waiting for your help,
Roland
