Did you actually change anything recently, or was this always an issue and now trying to fix it, or did this suddenly start happening ?
how old is the system and do you unplug it from main power or turn off at the wall ?
Yep, I had an IDE Detect error before. My issue was that the video output from the graphics card had in-proper bandwidth connection to the monitor. At that time I was trying to connect to a LG TV and was using the wrong port on the TV. Try checking in your monitor's user manual which port has sufficient bandwidth. It could be HDMI 1 or HDMI 2 port on the back of the monitor. It could be in-sufficient HDMI cable that your using. At most, if your monitor supports HDMI 2.0 or better connection, make sure you have the right cable.
If the problem still persists, it could be a issue with your M.2 slots. Let us know 🙂