While I was building a new server in which I was using storage pools I rebooted the system to check that the drives auto mounted, while doing this I found that I kept getting the shutdown event tracker when I logged in and it did not go away (this even occurred when using restart option)

I look online for other things and found that someone else had this issue for 2016 and 2019,

The solution

open registry

go to \HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability

backup

.\DirtyShutdown

.\DirtyShutdownTime

Then delete those values