How to launch SFC programatically on Windows Vista/7/8?
I've been trying to solve the problem that Chris Iverson was having in this other Stackoverflow question . I want to launch SFC (the System File Checker tool) programatically. It works on Windows XP: private void RunSfc() { ProcessStartInfo startInfo = new ProcessStartInfo("cmd", "/K sfc.exe /scannow"); System.Diagnostics.Process.Start(startInfo); } Other variants that do work under Windows XP: //Launch SFC directly ProcessStartInfo startInfo = new ProcessStartInfo("sfc.exe", "/scannow"); System.Diagnostics.Process.Start(startInfo); //Use full path to SFC String sfcPath = Path.Combine