NUC6CAY with SSD disc. It is used like small home server, there is MySQL (MariaDB) for storing measured data from some sensors (communicating by RS485 using USB-RS485 convertors).
Data are stored do DB each minute, system is set to "never sleep where running on power" (Windows IoT Enterprise 2016 LTSB).
I'm experiencing problem, that sometimes system goes in strange state, when OS (Windows) is running, my software also, but it seems that SSD disc and also Ethernet card is sleeping - I can see on my touch screen data from sensors, I can send commands to external devices connected by USB (USB-RS485 converter), but I'm not able to store any data to DB and also to disc (some TXT error LOG). I have also programmed warnings there for the case I can not save data (DB,TXT), which is sent by email, but it is not working in that moment also (so in my opinion ethernet card is down).
Any suggestions are welcome, what I have to check.
Open Network Connection Panel (showing all network adapters). Right click on your Network Adapter and then on Properties. Click on Configure. In Power Management Tab, disable "Allow the computer to turn off this device to save power"
I have Windows 10 Pro rather than Windows IoT Enterprise 2016 LTSB, So, I don't know if your settings interface is the same. However should be similar. If I open Settings System > Power & Sleep > Additional power settings (on R.H. panel) > Change plan settings > Change Advanced Power Settings , I can control the amount of time to "Turn off hard disk after" ...minutes. However I don't think you should change it, since you are accessing your SSD every minute and it is very improbable that your SSDenters sleep state.
yes, this is the same in Pro and Enterprise LTSB, this I have of course set to never sleep. But, anyway, it seams that disk is really sleeping.
Maybe there is another reason, why filesystem (storing data to disk) and MySQL (also filesystem) are not responding, but I'm not able to find what exactly it is.