Создаём класс NativeMethods.cs - запишем в него функцию SRRemoveRestorePoint namespace RestorePoints { using System; using System.Runtime.InteropServices; internal static class NativeMethods { #region For Delete System Point [DllImport("Srclient.dll")] public static extern int SRRemoveRestorePoint(int index); #endregion } } CSHARP namespace RestorePoints { using System; using System.Runtime.InteropServices; internal static class NativeMethods { #region For Delete System Point [DllImport("Srclient.dll")] public static extern int SRRemoveRestorePoint(int index); #endregion } } Создаём класс SysStore.cs P.S: Не забываем подключить ссылку System.Management using System; using System.Management; public class SysStore { public static void Inizialize() { try { using (ManagementObjectCollection searcher = new ManagementObjectSearcher("root\\DEFAULT", "SELECT * FROM SystemRestore").Get()) { foreach (ManagementBaseObject collection in searcher) { int point = Convert.ToInt32(((uint)collection["sequencenumber"]).ToString()); NativeMethods.SRRemoveRestorePoint(point); } } } catch (Exception) { } } } CSHARP using System; using System.Management; public class SysStore { public static void Inizialize() { try { using (ManagementObjectCollection searcher = new ManagementObjectSearcher("root\\DEFAULT", "SELECT * FROM SystemRestore").Get()) { foreach (ManagementBaseObject collection in searcher) { int point = Convert.ToInt32(((uint)collection["sequencenumber"]).ToString()); NativeMethods.SRRemoveRestorePoint(point); } } } catch (Exception) { } } } Далее просто вызываем метод SysStore.Inizialize(); CSHARP SysStore.Inizialize(); в любом месте. namespace RestorePoints { using System; /* Автор r3xq1 */ internal static class Program { [STAThread] public static void Main() { SysStore.Inizialize(); Console.ReadKey(true); } } } CSHARP namespace RestorePoints { using System; /* Автор r3xq1 */ internal static class Program { [STAThread] public static void Main() { SysStore.Inizialize(); Console.ReadKey(true); } } } Запускаем программу от имени Администратора После этого в системе не будет ни одной записи для восстановления системы.