Use C# BCD WMI Provider to SafeBoot Windows
问题 I have scoured the web looking for solutions on how to SafeBoot into Windows using only C#. Since Vista and above, safe booting is controlled using BCD. Ofcourse you could use the commandline tool "bcdedit": bcdedit /set {current} safeboot Minimal However I do not want to use this approach. So my question is: How do I reboot into safe mode using only C#? I have already looked at this SO post, which has got me started. But I'm still missing pieces to this puzzle. Any help is greatly