Jump to content

Recommended Posts

11 минут назад, Romchique пишет:

Сейчас за счет огромного количества телеметрии в Майкрософт проводят отлов багов. Привыкайте, так будет.

Собственно вокруг этого разговор и строился в последнее время. Майки "тестируют" продукт на живых юзерах.

Share this post


Link to post
Share on other sites
9 minutes ago, Romchique said:

Сейчас за счет огромного количества телеметрии в Майкрософт проводят отлов багов. Привыкайте, так будет.

Интересно, как с "2000" по "8" жил без "отлова багов" по трелеметрии?

9 minutes ago, Romchique said:

Альтернативный вариант - надыбать лицензию LTSB. Там телеметрия отключается (почти) полностью без плясок с бубном.

post-1849141-1302776815.jpg

Share this post


Link to post
Share on other sites
15 minutes ago, Pinhas said:

Интересно, как с "2000" по "8" жил без "отлова багов" по трелеметрии?

 

Там ничего интересного. Недавно проскакивала статейка по поводу текущего состояния дел в разработке вин. Раньше был штат тестировщиков, сейчас штат расформировали, отлов багов частично переложили на телеметрийный метод.

А, ну и да, с некоторых пор (начиная с некоторого обновления) телеметрия есть и в 7, и в 8. Это для справки.

Share this post


Link to post
Share on other sites
9 часов назад, испанский_летчик пишет:

 

Вот тут ничё так телеметрия выкошена и есть ещё антивирь который я тоже выкосил, но это отдельная история там через административные политики и не просто, но результативно.

 

Share this post


Link to post
Share on other sites
1 час назад, KAI31 пишет:

Вот тут ничё так телеметрия выкошена и есть ещё антивирь который я тоже выкосил, но это отдельная история там через административные политики и не просто, но результативно.

Я специально для Вас DWS декомпильнул, т.к. репозиторий на гитхабе майки, завладев последним, прикрыли. Можете найти для себя много интересного.

Ориентируйтесь на SetRegValueHklm и RunCmd.

Скрытый текст
using DWS.lang;
using DWS.lib;
using DWS.Properties;
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Management;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security.AccessControl;
using System.Security.Principal;
using System.Text;
using System.Threading;
using System.Windows.Forms;

namespace DWS
{
	public sealed class MainDwsForm : Form
	{
		private const string LogFileName = "DWS.log";

		public const int WM_NCLBUTTONDOWN = 161;

		public const int HT_CAPTION = 2;

		private const int CS_DROPSHADOW = 131072;

		private readonly string _systemPath = Path.GetPathRoot(Environment.SystemDirectory);

		private bool _destroyFlag;

		private readonly List<string> _errorsList = new List<string>();

		private int _fatalErrors;

		private ResourceManager _rm;

		private string _system32Location;

		private bool _win10 = true;

		private readonly string[] _updatesnumberlist = new string[] { "2952664", "2976978", "2990214", "3021917", "3035583", "3042058", "3044374", "3050265", "3065987", "3065988", "3068708", "3075249", "3075851", "3075853", "3080149", "3083324", "3083325", "3083710", "3083711", "3088195", "3093513", "3093983", "3102810", "3112336", "971033", "976932" };

		private int _closeButtonState;

		private int _minimizeButtonState;

		private IContainer components;

		private TabControl FormTabsControl;

		private TabPage tabPageMain;

		private TabPage tabPageSettings;

		private TabPage tabPageUtilites;

		private TabPage tabPageAbout;

		private ProgressBar ProgressBarStatus;

		private Button btnDestroyWindowsSpying;

		private Label StatusCommandsLable;

		private RichTextBox LogOutputTextBox;

		private CheckBox checkBoxCreateSystemRestorePoint;

		private CheckBox checkBoxKeyLoggerAndTelemetry;

		private CheckBox checkBoxAddToHosts;

		private CheckBox checkBoxDisablePrivateSettings;

		private CheckBox checkBoxDisableWindowsDefender;

		private CheckBox checkBoxSetDefaultPhoto;

		private CheckBox checkBoxSPYTasks;

		private CheckBox checkBoxDeleteWindows10Apps;

		private Button btnDeleteAllWindows10Apps;

		private CheckBox checkBoxDeleteApp3d;

		private CheckBox checkBoxDeleteAppXBOX;

		private CheckBox checkBoxDeleteAppVoice;

		private CheckBox checkBoxDeleteAppSolit;

		private CheckBox checkBoxDeleteAppPhotos;

		private CheckBox checkBoxDeleteAppPhone;

		private CheckBox checkBoxDeleteAppPeopleOneNote;

		private CheckBox checkBoxDeleteAppZune;

		private CheckBox checkBoxDeleteAppBing;

		private CheckBox checkBoxDeleteMailCalendarMaps;

		private CheckBox checkBoxDeleteAppCamera;

		private Button btnDisableUac;

		private Button btnEnableUac;

		private Button btnRestoreSystem;

		private Button btnDisableWindowsUpdate;

		private Button btnEnableWindowsUpdate;

		private Button btnOpenAndEditHosts;

		private LinkLabel linkLabel1;

		private Label labelMoonInfo;

		private GroupBox groupBoxWindowsUpdate;

		private GroupBox groupBoxUACEdit;

		private Button btnDeleteMetroAppsInfo;

		private Button btnDeleteOneDrive;

		private Label labelInfoDeleteMetroApps;

		private TabPage tabPageReadMe;

		private LinkLabel linkLabelSourceCode;

		private Button btnRemoveOldFirewallRules;

		private GroupBox groupBoxLanguage;

		private ComboBox comboBoxLanguageSelect;

		private Button btnDestroyWindows78Spy;

		private RichTextBox ReadmeRichTextBox;

		private CheckBox btnProfessionalMode;

		private Button btnDisableOfficeUpdate;

		private Label CaptionWindow;

		private PictureBox _CloseButton;

		private PictureBox MinimizeButton;

		private PictureBox BorderUP;

		private PictureBox BorderDown;

		private PictureBox BorderLeft;

		private PictureBox BorderR;

		private Panel Win10SettingsPanel;

		private Panel Windows78Panel;

		private CheckBox checkBoxAddToHosts78;

		private CheckBox checkBoxSPYTasks78;

		private CheckBox checkBoxDeleteWindows78Updates;

		private CheckBox checkBoxDeleteGWX;

		private CheckedListBox checkedListBoxUpdatesW78;

		private Label labelUninstallUpdates;

		private CheckBox checkBoxDelKeyloggerTW78;

		private Button btnFixRotateScreen;

		private Label label1;

		private TextBox textBox1;

		protected override System.Windows.Forms.CreateParams CreateParams
		{
			get
			{
				System.Windows.Forms.CreateParams createParams = base.CreateParams;
				createParams.ClassStyle = createParams.ClassStyle | 131072;
				return createParams;
			}
		}

		public override string Text
		{
			get
			{
				return base.Text;
			}
			set
			{
				base.Text = value;
				this.CaptionWindow.Text = value;
			}
		}

		public MainDwsForm(string[] args)
		{
			this.InitializeComponent();
			this.DoubleBuffered = true;
			this.RecreateLogFile("DWS.log");
			this.CheckWindowsVersion();
			this._SetShellSys32Path();
			this.ProfessionalModeSet(false);
			this.CheckEnableOrDisableUac();
			try
			{
				base.Icon = System.Drawing.Icon.ExtractAssociatedIcon(Assembly.GetExecutingAssembly().Location);
				this.Text = string.Concat(this.Text, "Final Vesion");
			}
			catch
			{
				this._OutPut("Error get icon or version.", MainDwsForm.LogLevel.Error);
			}
			this.SetLanguage(this._GetLang(args));
			this.ChangeLanguage();
			this.StealthMode(args);
			(new Thread(new ThreadStart(this.AnimateBackground))).Start();
		}

		private string _GetLang(IEnumerable<string> args)
		{
			string str = null;
			foreach (string str1 in 
				from currentArg in args
				where currentArg.IndexOf("/lang=", StringComparison.Ordinal) > -1
				select currentArg)
			{
				str = str1.Replace("/lang=", null);
			}
			return str;
		}

		private void _OutPut(string str, MainDwsForm.LogLevel logLevel = 0)
		{
			try
			{
				base.Invoke(new MethodInvoker(() => this._OutPutInvoke(str, logLevel)));
			}
			catch
			{
				try
				{
					this._OutPutInvoke(str, logLevel);
				}
				catch (Exception exception1)
				{
					Exception exception = exception1;
					this._fatalErrors++;
					this._errorsList.Add(string.Format("Error in output. Message: {0}", exception.Message));
				}
			}
		}

		private void _OutPutInvoke(string str, MainDwsForm.LogLevel logLevel)
		{
			if (logLevel == MainDwsForm.LogLevel.Debug && string.IsNullOrEmpty(str))
			{
				return;
			}
			switch (logLevel)
			{
				case MainDwsForm.LogLevel.Info:
				{
					str = string.Concat("[INFO] ", str);
					break;
				}
				case MainDwsForm.LogLevel.Warning:
				{
					str = string.Concat("[WARNING] ", str);
					break;
				}
				case MainDwsForm.LogLevel.Error:
				{
					str = string.Concat("[ERROR] ", str);
					break;
				}
				case MainDwsForm.LogLevel.FatalError:
				{
					str = string.Concat("[!! FATAL ERROR !!] ", str);
					break;
				}
				case MainDwsForm.LogLevel.Debug:
				{
					return;
				}
				default:
				{
					throw new ArgumentOutOfRangeException("logLevel", (object)logLevel, null);
				}
			}
			File.WriteAllText("DWS.log", string.Concat(File.ReadAllText("DWS.log"), str, Environment.NewLine));
			Console.WriteLine(str);
			RichTextBox logOutputTextBox = this.LogOutputTextBox;
			logOutputTextBox.Text = string.Concat(logOutputTextBox.Text, str, Environment.NewLine);
		}

		private void _OutPutSplit()
		{
			try
			{
				base.Invoke(new MethodInvoker(this.OutPutSplitInvoke));
			}
			catch
			{
				try
				{
					this.OutPutSplitInvoke();
				}
				catch (Exception exception1)
				{
					Exception exception = exception1;
					this._fatalErrors++;
					this._errorsList.Add(string.Format("Error in outputsplit. Message: {0}", exception.Message));
				}
			}
		}

		private void _SetShellSys32Path()
		{
			if (File.Exists(string.Concat(this._systemPath, "Windows\\Sysnative\\cmd.exe")))
			{
				this._system32Location = string.Concat(this._systemPath, "Windows\\Sysnative\\");
				return;
			}
			this._system32Location = string.Concat(this._systemPath, "Windows\\System32\\");
		}

		private void AddToHostsAndFirewall()
		{
			Func<string, bool> func = null;
			try
			{
				string[] strArrays = new string[] { "ars.smartscreen.microsoft.com", "az361816.vo.msecnd.net", "az512334.vo.msecnd.net", "blob.weather.microsoft.com", "candycrushsoda.king.com", "cdn.content.prod.cms.msn.com", "cdn.onenote.net", "choice.microsoft.com", "choice.microsoft.com.nsatc.net", "client.wns.windows.com", "client-s.gateway.messenger.live.com", "clientconfig.passport.net", "deploy.static.akamaitechnologies.com", "device.auth.xboxlive.com", "dmd.metaservices.microsoft.com", "dns.msftncsi.com", "feedback.microsoft-hohm.com", "feedback.search.microsoft.com", "feedback.windows.com", "img-s-msn-com.akamaized.net", "insiderppe.cloudapp.net", "licensing.mp.microsoft.com", "mediaredirect.microsoft.com", "msftncsi.com", "officeclient.microsoft.com", "oneclient.sfx.ms", "pti.store.microsoft.com", "query.prod.cms.rt.microsoft.com", "register.cdpcs.microsoft.com", "s0.2mdn.net", "sO.2mdn.net", "search.msn.com", "settings-ssl.xboxlive.com", "static.2mdn.net", "store-images.s-microsoft.com", "storeedgefd.dsx.mp.microsoft.com", "support.microsoft.com", "tile-service.weather.microsoft.com", "time.windows.com", "tk2.plt.msn.com", "urs.smartscreen.microsoft.com", "wdcp.microsoft.com", "wdcpalt.microsoft.com", "win10-trt.msedge.net", "wscont.apps.microsoft.com", "www.msftconnecttest.com", "www.msftncsi.com", "a-0001.a-msedge.net", "a-0001.dc-msedge.net", "a-0002.a-msedge.net", "a-0003.a-msedge.net", "a-0004.a-msedge.net", "a-0005.a-msedge.net", "a-0006.a-msedge.net", "a-0007.a-msedge.net", "a-0008.a-msedge.net", "a-0009.a-msedge.net", "a-0010.a-msedge.net", "a-0011.a-msedge.net", "a-0012.a-msedge.net", "a-msedge.net", "a.ads1.msn.com", "a.ads2.msads.net", "a.ads2.msn.com", "a.rad.msn.com", "ac3.msn.com", "activity.windows.com", "adnexus.net", "adnxs.com", "ads.msn.com", "ads1.msads.net", "ads1.msn.com", "aidps.atdmt.com", "aka-cdn-ns.adtech.de", "array101-prod.do.dsp.mp.microsoft.com", "array102-prod.do.dsp.mp.microsoft.com", "array103-prod.do.dsp.mp.microsoft.com", "array104-prod.do.dsp.mp.microsoft.com", "array201-prod.do.dsp.mp.microsoft.com", "array202-prod.do.dsp.mp.microsoft.com", "array203-prod.do.dsp.mp.microsoft.com", "array204-prod.do.dsp.mp.microsoft.com", "array401-prod.do.dsp.mp.microsoft.com", "array402-prod.do.dsp.mp.microsoft.com", "array403-prod.do.dsp.mp.microsoft.com", "array404-prod.do.dsp.mp.microsoft.com", "array405-prod.do.dsp.mp.microsoft.com", "array406-prod.do.dsp.mp.microsoft.com", "array407-prod.do.dsp.mp.microsoft.com", "array408-prod.do.dsp.mp.microsoft.com", "b.ads1.msn.com", "b.ads2.msads.net", "b.rad.msn.com", "bingads.microsoft.com", "bl3301-a.1drv.com", "bl3301-c.1drv.com", "bl3301-g.1drv.com", "bn1304-e.1drv.com", "bn1306-a.1drv.com", "bn1306-e.1drv.com", "bn1306-g.1drv.com", "bn2b-cor001.api.p001.1drv.com", "bn2b-cor002.api.p001.1drv.com", "bn3p-cor001.api.p001.1drv.com", "bn2b-cor003.api.p001.1drv.com", "bn2b-cor004.api.p001.1drv.com", "bn2wns1.wns.windows.com", "bn3sch020022328.wns.windows.com", "by3301-a.1drv.com", "by3301-c.1drv.com", "by3301-e.1drv.com", "bs.serving-sys.com", "c.atdmt.com", "c.msn.com", "c-0001.dc-msedge.net", "ca.telemetry.microsoft.com", "cache.datamart.windows.com", "cdn.atdmt.com", "cds1204.lon.llnw.net", "cds1293.lon.llnw.net", "cds20417.lcy.llnw.net", "cds20431.lcy.llnw.net", "cds20450.lcy.llnw.net", "cds20457.lcy.llnw.net", "cds20475.lcy.llnw.net", "cds21244.lon.llnw.net", "cds26.ams9.msecn.net", "cds425.lcy.llnw.net", "cds459.lcy.llnw.net", "cds494.lcy.llnw.net", "cds965.lon.llnw.net", "ch1-cor001.api.p001.1drv.com", "ch1-cor002.api.p001.1drv.com", "ch3301-c.1drv.com", "ch3301-e.1drv.com", "ch3301-g.1drv.com", "ch3302-c.1drv.com", "ch3302-e.1drv.com", "compatexchange.cloudapp.net", "compatexchange1.trafficmanager.net", "continuum.dds.microsoft.com", "corp.sts.microsoft.com", "corpext.msitadfs.glbdns2.microsoft.com", "cp101-prod.do.dsp.mp.microsoft.com", "cp201-prod.do.dsp.mp.microsoft.com", "cp401-prod.do.dsp.mp.microsoft.com", "cs1.wpc.v0cdn.net", "db3aqu.atdmt.com", "db3wns2011111.wns.windows.com", "db5.wns.windows.com", "db5sch101100122.wns.windows.com", "db5sch101100127.wns.windows.com", "db5sch101100831.wns.windows.com", "db5sch101100835.wns.windows.com", "db5sch101100917.wns.windows.com", "db5sch101100925.wns.windows.com", "db5sch101100928.wns.windows.com", "db5sch101100938.wns.windows.com", "db5sch101101001.wns.windows.com", "db5sch101101022.wns.windows.com", "db5sch101101024.wns.windows.com", "db5sch101101031.wns.windows.com", "db5sch101101034.wns.windows.com", "db5sch101101042.wns.windows.com", "db5sch101101044.wns.windows.com", "db5sch101101122.wns.windows.com", "db5sch101101123.wns.windows.com", "db5sch101101125.wns.windows.com", "db5sch101101128.wns.windows.com", "db5sch101101129.wns.windows.com", "db5sch101101133.wns.windows.com", "db5sch101101145.wns.windows.com", "db5sch101101209.wns.windows.com", "db5sch101101221.wns.windows.com", "db5sch101101228.wns.windows.com", "db5sch101101231.wns.windows.com", "db5sch101101237.wns.windows.com", "db5sch101101317.wns.windows.com", "db5sch101101324.wns.windows.com", "db5sch101101329.wns.windows.com", "db5sch101101333.wns.windows.com", "db5sch101101334.wns.windows.com", "db5sch101101338.wns.windows.com", "db5sch101101419.wns.windows.com", "db5sch101101424.wns.windows.com", "db5sch101101426.wns.windows.com", "db5sch101101427.wns.windows.com", "db5sch101101430.wns.windows.com", "db5sch101101445.wns.windows.com", "db5sch101101511.wns.windows.com", "db5sch101101519.wns.windows.com", "db5sch101101529.wns.windows.com", "db5sch101101535.wns.windows.com", "db5sch101101541.wns.windows.com", "db5sch101101543.wns.windows.com", "db5sch101101608.wns.windows.com", "db5sch101101618.wns.windows.com", "db5sch101101629.wns.windows.com", "db5sch101101631.wns.windows.com", "db5sch101101633.wns.windows.com", "db5sch101101640.wns.windows.com", "db5sch101101711.wns.windows.com", "db5sch101101722.wns.windows.com", "db5sch101101739.wns.windows.com", "db5sch101101745.wns.windows.com", "db5sch101101813.wns.windows.com", "db5sch101101820.wns.windows.com", "db5sch101101826.wns.windows.com", "db5sch101101835.wns.windows.com", "db5sch101101837.wns.windows.com", "db5sch101101844.wns.windows.com", "db5sch101101907.wns.windows.com", "db5sch101101914.wns.windows.com", "db5sch101101929.wns.windows.com", "db5sch101101939.wns.windows.com", "db5sch101101941.wns.windows.com", "db5sch101102015.wns.windows.com", "db5sch101102017.wns.windows.com", "db5sch101102019.wns.windows.com", "db5sch101102023.wns.windows.com", "db5sch101102025.wns.windows.com", "db5sch101102032.wns.windows.com", "db5sch101102033.wns.windows.com", "db5sch101110108.wns.windows.com", "db5sch101110109.wns.windows.com", "db5sch101110114.wns.windows.com", "db5sch101110135.wns.windows.com", "db5sch101110142.wns.windows.com", "db5sch101110204.wns.windows.com", "db5sch101110206.wns.windows.com", "db5sch101110214.wns.windows.com", "db5sch101110225.wns.windows.com", "db5sch101110232.wns.windows.com", "db5sch101110245.wns.windows.com", "db5sch101110315.wns.windows.com", "db5sch101110323.wns.windows.com", "db5sch101110325.wns.windows.com", "db5sch101110328.wns.windows.com", "db5sch101110331.wns.windows.com", "db5sch101110341.wns.windows.com", "db5sch101110343.wns.windows.com", "db5sch101110345.wns.windows.com", "db5sch101110403.wns.windows.com", "db5sch101110419.wns.windows.com", "db5sch101110438.wns.windows.com", "db5sch101110442.wns.windows.com", "db5sch101110501.wns.windows.com", "db5sch101110527.wns.windows.com", "db5sch101110533.wns.windows.com", "db5sch101110618.wns.windows.com", "db5sch101110622.wns.windows.com", "db5sch101110624.wns.windows.com", "db5sch101110626.wns.windows.com", "db5sch101110634.wns.windows.com", "db5sch101110705.wns.windows.com", "db5sch101110724.wns.windows.com", "db5sch101110740.wns.windows.com", "db5sch101110810.wns.windows.com", "db5sch101110816.wns.windows.com", "db5sch101110821.wns.windows.com", "db5sch101110822.wns.windows.com", "db5sch101110825.wns.windows.com", "db5sch101110828.wns.windows.com", "db5sch101110835.wns.windows.com", "db5sch101110919.wns.windows.com", "db5sch101110921.wns.windows.com", "db5sch101110923.wns.windows.com", "db5sch101110929.wns.windows.com", "db5sch103081814.wns.windows.com", "db5sch103082011.wns.windows.com", "db5sch103082111.wns.windows.com", "db5sch103082308.wns.windows.com", "db5sch103082406.wns.windows.com", "db5sch103082409.wns.windows.com", "db5sch103082609.wns.windows.com", "db5sch103082611.wns.windows.com", "db5sch103082709.wns.windows.com", "db5sch103082712.wns.windows.com", "db5sch103082806.wns.windows.com", "db5sch103090115.wns.windows.com", "db5sch103090415.wns.windows.com", "db5sch103090513.wns.windows.com", "db5sch103090515.wns.windows.com", "db5sch103090608.wns.windows.com", "db5sch103090806.wns.windows.com", "db5sch103090814.wns.windows.com", "db5sch103090906.wns.windows.com", "db5sch103091011.wns.windows.com", "db5sch103091012.wns.windows.com", "db5sch103091106.wns.windows.com", "db5sch103091108.wns.windows.com", "db5sch103091212.wns.windows.com", "db5sch103091311.wns.windows.com", "db5sch103091414.wns.windows.com", "db5sch103091511.wns.windows.com", "db5sch103091617.wns.windows.com", "db5sch103091715.wns.windows.com", "db5sch103091817.wns.windows.com", "db5sch103091908.wns.windows.com", "db5sch103091911.wns.windows.com", "db5sch103092010.wns.windows.com", "db5sch103092108.wns.windows.com", "db5sch103092109.wns.windows.com", "db5sch103092209.wns.windows.com", "db5sch103092210.wns.windows.com", "db5sch103092509.wns.windows.com", "db5sch103100117.wns.windows.com", "db5sch103100121.wns.windows.com", "db5sch103100221.wns.windows.com", "db5sch103100313.wns.windows.com", "db5sch103100314.wns.windows.com", "db5sch103100510.wns.windows.com", "db5sch103100511.wns.windows.com", "db5sch103100611.wns.windows.com", "db5sch103100712.wns.windows.com", "db5sch103101105.wns.windows.com", "db5sch103101208.wns.windows.com", "db5sch103101212.wns.windows.com", "db5sch103101314.wns.windows.com", "db5sch103101411.wns.windows.com", "db5sch103101413.wns.windows.com", "db5sch103101513.wns.windows.com", "db5sch103101610.wns.windows.com", "db5sch103101611.wns.windows.com", "db5sch103101705.wns.windows.com", "db5sch103101711.wns.windows.com", "db5sch103101909.wns.windows.com", "db5sch103101914.wns.windows.com", "db5sch103102009.wns.windows.com", "db5sch103102112.wns.windows.com", "db5sch103102203.wns.windows.com", "db5sch103102209.wns.windows.com", "db5sch103102310.wns.windows.com", "db5sch103102404.wns.windows.com", "db5sch103102609.wns.windows.com", "db5sch103102610.wns.windows.com", "db5sch103102805.wns.windows.com", "db5wns1d.wns.windows.com", "db6sch102090104.wns.windows.com", "db6sch102090112.wns.windows.com", "db6sch102090116.wns.windows.com", "db6sch102090122.wns.windows.com", "db6sch102090203.wns.windows.com", "db6sch102090206.wns.windows.com", "db6sch102090208.wns.windows.com", "db6sch102090209.wns.windows.com", "db6sch102090211.wns.windows.com", "db6sch102090305.wns.windows.com", "db6sch102090306.wns.windows.com", "db6sch102090308.wns.windows.com", "db6sch102090311.wns.windows.com", "db6sch102090313.wns.windows.com", "db6sch102090410.wns.windows.com", "db6sch102090412.wns.windows.com", "db6sch102090504.wns.windows.com", "db6sch102090510.wns.windows.com", "db6sch102090512.wns.windows.com", "db6sch102090513.wns.windows.com", "db6sch102090514.wns.windows.com", "db6sch102090519.wns.windows.com", "db6sch102090613.wns.windows.com", "db6sch102090619.wns.windows.com", "db6sch102090810.wns.windows.com", "db6sch102090811.wns.windows.com", "db6sch102090902.wns.windows.com", "db6sch102090905.wns.windows.com", "db6sch102090907.wns.windows.com", "db6sch102090908.wns.windows.com", "db6sch102090910.wns.windows.com", "db6sch102090911.wns.windows.com", "db6sch102091003.wns.windows.com", "db6sch102091007.wns.windows.com", "db6sch102091008.wns.windows.com", "db6sch102091009.wns.windows.com", "db6sch102091011.wns.windows.com", "db6sch102091103.wns.windows.com", "db6sch102091105.wns.windows.com", "db6sch102091204.wns.windows.com", "db6sch102091209.wns.windows.com", "db6sch102091305.wns.windows.com", "db6sch102091307.wns.windows.com", "db6sch102091308.wns.windows.com", "db6sch102091309.wns.windows.com", "db6sch102091314.wns.windows.com", "db6sch102091412.wns.windows.com", "db6sch102091503.wns.windows.com", "db6sch102091507.wns.windows.com", "db6sch102091602.wns.windows.com", "db6sch102091603.wns.windows.com", "db6sch102091606.wns.windows.com", "db6sch102091607.wns.windows.com", "dev.virtualearth.net", "df.telemetry.microsoft.com", "disc101-prod.do.dsp.mp.microsoft.com", "disc201-prod.do.dsp.mp.microsoft.com", "disc401-prod.do.dsp.mp.microsoft.com", "diagnostics.support.microsoft.com", "ec.atdmt.com", "ecn.dev.virtualearth.net", "eu.vortex.data.microsoft.com", "flex.msn.com", "fs.microsoft.com", "g.msn.com", "geo-prod.do.dsp.mp.microsoft.com", "geover-prod.do.dsp.mp.microsoft.com", "h1.msn.com", "h2.msn.com", "i-bl6p-cor001.api.p001.1drv.com", "i-by3p-cor001.api.p001.1drv.com", "i-by3p-cor002.api.p001.1drv.com", "i-ch1-cor001.api.p001.1drv.com", "i-ch1-cor002.api.p001.1drv.com", "i-sn2-cor001.api.p001.1drv.com", "i-sn2-cor002.api.p001.1drv.com", "i1.services.social.microsoft.com", "i1.services.social.microsoft.com.nsatc.net", "inference.location.live.net", "kv101-prod.do.dsp.mp.microsoft.com", "kv201-prod.do.dsp.mp.microsoft.com", "kv401-prod.do.dsp.mp.microsoft.com", "lb1.www.ms.akadns.net", "live.rads.msn.com", "ls2web.redmond.corp.microsoft.com", "m.adnxs.com", "mobile.pipe.aria.microsoft.com", "msedge.net", "msntest.serving-sys.com", "oca.telemetry.microsoft.com", "oca.telemetry.microsoft.com.nsatc.net", "pre.footprintpredict.com", "preview.msn.com", "rad.msn.com", "redir.metaservices.microsoft.com", "reports.wes.df.telemetry.microsoft.com", "schemas.microsoft.akadns.net", "secure.adnxs.com", "secure.flashtalking.com", "services.wes.df.telemetry.microsoft.com", "settings-sandbox.data.microsoft.com", "settings-win.data.microsoft.com", "settings-win-ppe.data.microsoft.com", "settings.data.glbdns2.microsoft.com", "settings.data.microsoft.com", "sn3301-c.1drv.com", "sn3301-e.1drv.com", "sn3301-g.1drv.com", "spynet2.microsoft.com", "spynetalt.microsoft.com", "spyneteurope.microsoft.akadns.net", "sqm.df.telemetry.microsoft.com", "sqm.telemetry.microsoft.com", "sqm.telemetry.microsoft.com.nsatc.net", "storecatalogrevocation.storequality.microsoft.com", "survey.watson.microsoft.com", "t0.ssl.ak.dynamic.tiles.virtualearth.net", "t0.ssl.ak.tiles.virtualearth.net", "telecommand.telemetry.microsoft.com", "telecommand.telemetry.microsoft.com.nsatc.net", "telemetry.appex.bing.net", "telemetry.microsoft.com", "telemetry.urs.microsoft.com", "test.activity.windows.com", "tsfe.trafficshaping.dsp.mp.microsoft.com", "v10.vortex-win.data.metron.live.com.nsatc.net", "v10.vortex-win.data.microsoft.com", "version.hybrid.api.here.com", "view.atdmt.com", "vortex-bn2.metron.live.com.nsatc.net", "vortex-cy2.metron.live.com.nsatc.net", "vortex-db5.metron.live.com.nsatc.net", "vortex-hk2.metron.live.com.nsatc.net", "vortex-sandbox.data.microsoft.com", "vortex-win.data.metron.live.com.nsatc.net", "vortex-win.data.microsoft.com", "vortex.data.glbdns2.microsoft.com", "vortex.data.metron.live.com.nsatc.net", "vortex.data.microsoft.com", "watson.microsoft.com", "watson.ppe.telemetry.microsoft.com", "watson.telemetry.microsoft.com", "watson.telemetry.microsoft.com.nsatc.net", "web.vortex.data.microsoft.com", "wes.df.telemetry.microsoft.com", "win10.ipv6.microsoft.com", "win1710.ipv6.microsoft.com", "www.msedge.net" };
				string str = string.Concat(this._system32Location, "drivers\\etc\\hosts");
				string str1 = null;
				if (File.Exists(str))
				{
					str1 = File.ReadAllText(str);
					File.SetAttributes(str, FileAttributes.Normal);
					this.DeleteFile(str);
				}
				File.Create(str).Close();
				File.WriteAllText(str, string.Concat(str1, Environment.NewLine));
				Func<string, bool> func1 = func;
				if (func1 == null)
				{
					Func<string, bool> func2 = (string currentHostsDomain) => {
						if (str1 == null)
						{
							return false;
						}
						return str1.IndexOf(currentHostsDomain, StringComparison.Ordinal) == -1;
					};
					Func<string, bool> func3 = func2;
					func = func2;
					func1 = func3;
				}
				foreach (string str2 in strArrays.Where<string>(func1))
				{
					this.RunCmd(string.Format("/c echo 0.0.0.0 {0} >> \"{1}\"", str2, str));
					this._OutPut(string.Format("Add to hosts - {0}", str2), MainDwsForm.LogLevel.Info);
				}
			}
			catch (Exception exception1)
			{
				Exception exception = exception1;
				this._errorsList.Add(string.Format("Error add to hosts. Message: {0}", exception.Message));
				this._fatalErrors++;
				this._OutPut("Error add HOSTS", MainDwsForm.LogLevel.Error);
			}
			this.RunCmd("/c ipconfig /flushdns");
			this._OutPut("Add hosts MS complete.", MainDwsForm.LogLevel.Info);
			this.BlockIpAddr();
		}

		private void AnimateBackground()
		{
			try
			{
				while (true)
				{
					for (float i = 0f; i < 1f; i += 0.01f)
					{
						Thread.Sleep(50);
						this.ChangeBorderColor(MainDwsForm.Rainbow(i));
					}
				}
			}
			catch (Exception exception1)
			{
				Exception exception = exception1;
				this._OutPut(string.Format("Error in AnimateBackground: {0}", exception.Message), MainDwsForm.LogLevel.Debug);
			}
		}

		private void BlockIpAddr()
		{
			string[] strArrays = new string[] { "104.87.88.177", "104.89.242.39", "104.96.147.3", "111.221.29.177", "111.221.29.253", "111.221.64.0-111.221.127.255", "131.253.34.230", "131.253.40.37", "131.253.61.100", "131.253.61.64", "131.253.61.68", "131.253.61.96", "134.170.115.60", "134.170.165.248", "134.170.165.253", "134.170.185.70", "134.170.30.202", "137.116.81.24", "137.117.235.16", "157.55.129.21", "157.55.130.0-157.55.130.255", "157.55.133.204", "157.55.235.0-157.55.235.255", "157.55.236.0-157.55.236.255", "157.55.240.220", "157.55.52.0-157.55.52.255", "157.55.56.0-157.55.56.255", "157.56.106.189", "157.56.121.89", "157.56.124.87", "157.56.77.148", "157.56.77.149", "157.56.91.77", "157.56.96.54", "168.63.108.233", "172.230.215.85", "191.232.139.2", "191.232.139.254", "191.232.80.58", "191.232.80.62", "191.237.208.126", "195.138.255.0-195.138.255.255", "2.22.61.43", "2.22.61.66", "204.79.197.200", "207.46.101.29", "207.46.114.58", "207.46.223.94", "207.68.166.254", "212.30.134.204", "212.30.134.205", "213.199.179.0-213.199.179.255", "23.102.21.4", "23.204.68.66", "23.205.214.76", "23.218.212.69", "23.223.20.82", "23.36.33.135", "23.48.106.243", "23.57.101.163", "23.57.107.27", "23.99.10.11", "40.77.226.221", "40.77.226.223", "52.167.222.147", "64.4.23.0-64.4.23.255", "64.4.54.22", "64.4.6.100", "65.39.117.230", "65.52.100.11", "65.52.100.7", "65.52.100.9", "65.52.100.91", "65.52.100.92", "65.52.100.93", "65.52.100.94", "65.52.108.103", "65.52.108.254", "65.52.108.29", "65.52.108.33", "65.55.108.23", "65.55.138.114", "65.55.138.126", "65.55.138.186", "65.55.223.0-65.55.223.255", "65.55.252.63", "65.55.252.71", "65.55.252.92", "65.55.252.93", "65.55.29.238", "65.55.39.10", "77.67.29.176" };
			for (int i = 0; i < (int)strArrays.Length; i++)
			{
				string str = strArrays[i];
				this.RunCmd(string.Format("/c route -p ADD {0} MASK 255.255.255.255 0.0.0.0", str));
				this.RunCmd(string.Format("/c route -p change {0} MASK 255.255.255.255 0.0.0.0 if 1", str));
				this.RunCmd(string.Format("/c netsh advfirewall firewall delete rule name=\"{0}_Block\"", str));
				this.RunCmd(string.Format("/c netsh advfirewall firewall add rule name=\"{0}_Block\" dir=out interface=any action=block remoteip={0}", str));
				this._OutPut(string.Format("Add Windows Firewall rule: \"{0}_Block\"", str), MainDwsForm.LogLevel.Info);
			}
			this.RunCmd("/c netsh advfirewall firewall delete rule name=\"Explorer.EXE_BLOCK\"");
			this.RunCmd(string.Format("/c netsh advfirewall firewall add rule name=\"Explorer.EXE_BLOCK\" dir=out interface=any action=block program=\"{0}Windows\\explorer.exe\"", this._systemPath));
			this.RunCmd("/c netsh advfirewall firewall delete rule name=\"WSearch_Block\"");
			this.RunCmd("/c netsh advfirewall firewall add rule name=\"WSearch_Block\" dir=out interface=any action=block service=WSearch");
			this._OutPut("Add Windows Firewall rule: \"WSearch_Block\"", MainDwsForm.LogLevel.Info);
			this._OutPut("Ip list blocked", MainDwsForm.LogLevel.Info);
		}

		private void btnDeleteAllWindows10Apps_Click(object sender, EventArgs e)
		{
			if (MessageBox.Show(this.GetTranslateText("Really"), this.GetTranslateText("Question"), MessageBoxButtons.YesNo, MessageBoxIcon.Question) != System.Windows.Forms.DialogResult.Yes)
			{
				MessageBox.Show("=(", "%(");
				return;
			}
			this.EnableOrDisableTab(false);
			MessageBox.Show(this.GetTranslateText("PressOkAndWait15"));
			(new Thread(() => {
				this.DeleteWindows10MetroApp(null);
				base.Invoke(new MethodInvoker(() => {
					this.EnableOrDisableTab(true);
					MessageBox.Show(this.GetTranslateText("Complete"), this.GetTranslateText("Info"), MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				}));
			})).Start();
		}

		private void btnDeleteMetroAppsInfo_Click(object sender, EventArgs e)
		{
			MessageBox.Show("Delete apps: Calculator, Windows Store, Windows Feedback, and other METRO apps.", "Info", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
		}

		private void btnDeleteOneDrive_Click(object sender, EventArgs e)
		{
			(new Thread(new ThreadStart(this.DeleteOneDrive))).Start();
		}

		private void btnDestroyWindows78Spy_Click(object sender, EventArgs e)
		{
			this.btnDestroyWindows78Spy.Enabled = false;
			this._CloseButton.Enabled = false;
			this._fatalErrors = 0;
			(new Thread(new ThreadStart(this.Dws78MainThread))).Start();
		}

		private void btnDestroyWindowsSpying_Click(object sender, EventArgs e)
		{
			this.StartDestroyWindowsSpying();
		}

		private void btnDisableOfficeUpdate_Click(object sender, EventArgs e)
		{
			if (MessageBox.Show("Office 2016 may stop working after these actions.\r\nAre you sure?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) == System.Windows.Forms.DialogResult.No)
			{
				return;
			}
			try
			{
				string str = WindowsIdentity.GetCurrent().Name.Split(new char[] { '\\' })[1];
				MessageBox.Show(this.GetTranslateText("FindOffice16FileT"), this.GetTranslateText("Info"), MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				OpenFileDialog openFileDialog = new OpenFileDialog()
				{
					InitialDirectory = "C:\\Program Files\\Microsoft Office\\root\\Office16\\",
					Filter = "msosync.exe|msosync.exe"
				};
				string fileName = "C:\\Program Files\\Microsoft Office\\root\\Office16\\msosync.exe";
				if (openFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK && File.Exists(openFileDialog.FileName))
				{
					fileName = openFileDialog.FileName;
				}
				this.RunCmd("/c TASKKILL /F /IM msosync.exe");
				this.RunCmd(string.Format("/c takeown /f \"{0}\" /d y", fileName));
				this.RunCmd(string.Format("/c icacls \"{0}\" /grant {1}:F /q", fileName, str));
				byte[] byteArray = File.ReadAllBytes(fileName);
				byteArray = MainDwsForm.StringToByteArray(MainDwsForm.ByteArrayToString(byteArray).Replace("68747470", "78747470"));
				File.WriteAllBytes(fileName, byteArray);
				this._OutPut("Complete", MainDwsForm.LogLevel.Info);
			}
			catch (Exception exception)
			{
				this._OutPut(exception.Message, MainDwsForm.LogLevel.Error);
			}
		}

		private void btnDisableUac_Click(object sender, EventArgs e)
		{
			this.SetRegValueHklm("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\", "EnableLUA", "0", RegistryValueKind.DWord);
			this._OutPut("Disable UAC", MainDwsForm.LogLevel.Info);
			this.CheckEnableOrDisableUac();
			if (MessageBox.Show(this.GetTranslateText("CompleteMSG"), this.GetTranslateText("Info"), MessageBoxButtons.YesNo, MessageBoxIcon.Question) == System.Windows.Forms.DialogResult.Yes)
			{
				Process.Start("shutdown.exe", "-r -t 0");
			}
		}

		private void btnDisableWindowsUpdate_Click(object sender, EventArgs e)
		{
			this.RunCmd("/c net stop wuauserv");
			this.ProcStartargs("powershell", "-command \"Set-Service -Name wuauserv -StartupType Disabled\"");
			this.RunCmd("/c netsh advfirewall firewall delete rule name=\"WindowsUpdateBlock\"");
			this.RunCmd("/c netsh advfirewall firewall add rule name=\"WindowsUpdateBlock\" dir=out interface=any action=block service=wuauserv");
			this._OutPut("Windows Update disabled", MainDwsForm.LogLevel.Info);
		}

		private void btnEnableUac_Click(object sender, EventArgs e)
		{
			this.SetRegValueHklm("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\", "EnableLUA", "1", RegistryValueKind.DWord);
			this._OutPut("Enable UAC", MainDwsForm.LogLevel.Info);
			this.CheckEnableOrDisableUac();
			if (MessageBox.Show(this.GetTranslateText("CompleteMSG"), this.GetTranslateText("Info"), MessageBoxButtons.YesNo, MessageBoxIcon.Question) == System.Windows.Forms.DialogResult.Yes)
			{
				Process.Start("shutdown.exe", "-r -t 0");
			}
		}

		private void btnEnableWindowsUpdate_Click(object sender, EventArgs e)
		{
			this.ProcStartargs("powershell", "-command \"Set-Service -Name wuauserv -StartupType Automatic\"");
			this.RunCmd("/c net start wuauserv");
			this.RunCmd("/c netsh advfirewall firewall delete rule name=\"WindowsUpdateBlock\"");
			this._OutPut("Windows Update enabled", MainDwsForm.LogLevel.Info);
		}

		private void btnFixRotateScreen_Click(object sender, EventArgs e)
		{
			this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors", "DisableSensors", "0", RegistryValueKind.DWord);
			MessageBox.Show(this.GetTranslateText("Complete"), "Info", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
		}

		private void btnOpenAndEditHosts_Click(object sender, EventArgs e)
		{
			this.ProcStartargs("notepad", string.Concat(this._system32Location, "drivers\\etc\\hosts"));
		}

		private void btnProfessionalMode_Click(object sender, EventArgs e)
		{
			this.ProfessionalModeSet(this.btnProfessionalMode.Checked);
			this.Text = (this.btnProfessionalMode.Checked ? string.Format("{0}  !Professional mode!", this.Text) : this.Text.Replace("  !Professional mode!", string.Empty));
		}

		private void btnRemoveOldFirewallRules_Click(object sender, EventArgs e)
		{
			string[] strArrays = new string[] { "MS Spynet block 1", "MS Spynet block 2", "MS telemetry block 1", "MS telemetry block 2", "185.13.160.61_Block", "184.86.56.12_Block", "204.79.197.200_Block" };
			for (int i = 0; i < (int)strArrays.Length; i++)
			{
				this.RunCmd(string.Format("/c netsh advfirewall firewall delete rule name=\"{0}\"", strArrays[i]));
			}
			MessageBox.Show(this.GetTranslateText("Complete"), this.GetTranslateText("Info"));
		}

		private void btnRestoreSystem_Click(object sender, EventArgs e)
		{
			Process.Start(string.Concat(this._system32Location, "rstrui.exe"));
		}

		public static string ByteArrayToString(byte[] ba)
		{
			return BitConverter.ToString(ba).Replace("-", string.Empty);
		}

		private void CaptionWindow_Click(object sender, EventArgs e)
		{
		}

		private void CaptionWindow_MouseDown(object sender, MouseEventArgs e)
		{
			MainDwsForm.ReleaseCapture();
			MainDwsForm.SendMessage(base.Handle, 161, 2, 0);
		}

		private void CaptionWindow_Paint(object sender, PaintEventArgs e)
		{
			e.Graphics.FillEllipse(new SolidBrush(Color.WhiteSmoke), 3, 3, 23, 23);
			e.Graphics.DrawImage(base.Icon.ToBitmap(), 6, 5, 19, 19);
		}

		private void ChangeBorderColor(Color cl)
		{
			try
			{
				base.Invoke(new MethodInvoker(() => {
					this.BorderDown.BackColor = cl;
					this.BorderLeft.BackColor = cl;
					this.BorderR.BackColor = cl;
					this.BorderUP.BackColor = cl;
				}));
			}
			catch (Exception exception)
			{
			}
		}

		private void ChangeLanguage()
		{
			this.ReadmeRichTextBox.Text = this.GetTranslateText("ReadMeTextBox");
			this.btnFixRotateScreen.Text = this.GetTranslateText("btnFixRotateScreen");
			this.tabPageMain.Text = this.GetTranslateText("tabPageMain");
			this.tabPageAbout.Text = this.GetTranslateText("tabPageAbout");
			this.tabPageReadMe.Text = this.GetTranslateText("tabPageReadMe");
			this.tabPageSettings.Text = this.GetTranslateText("tabPageSettings");
			this.tabPageUtilites.Text = this.GetTranslateText("tabPageUtilites");
			this.btnDeleteAllWindows10Apps.Text = this.GetTranslateText("btnDeleteAllWindows10Apps");
			this.btnDeleteOneDrive.Text = this.GetTranslateText("btnDeleteOneDrive");
			this.btnOpenAndEditHosts.Text = this.GetTranslateText("btnOpenAndEditHosts");
			this.btnProfessionalMode.Text = this.GetTranslateText("btnProfessionalMode");
			this.btnRestoreSystem.Text = this.GetTranslateText("btnRestoreSystem");
			this.checkBoxAddToHosts.Text = this.GetTranslateText("checkBoxAddToHosts");
			this.checkBoxAddToHosts78.Text = this.GetTranslateText("checkBoxAddToHosts");
			this.checkBoxCreateSystemRestorePoint.Text = this.GetTranslateText("checkBoxCreateSystemRestorePoint");
			this.checkBoxDeleteWindows10Apps.Text = this.GetTranslateText("checkBoxDeleteWindows10Apps");
			this.checkBoxDisablePrivateSettings.Text = this.GetTranslateText("checkBoxDisablePrivateSettings");
			this.checkBoxDisableWindowsDefender.Text = this.GetTranslateText("checkBoxDisableWindowsDefender");
			this.checkBoxKeyLoggerAndTelemetry.Text = this.GetTranslateText("checkBoxKeyLoggerAndTelemetry");
			this.checkBoxDelKeyloggerTW78.Text = this.GetTranslateText("checkBoxKeyLoggerAndTelemetry");
			this.checkBoxSetDefaultPhoto.Text = this.GetTranslateText("checkBoxSetDefaultPhoto");
			this.checkBoxSPYTasks.Text = this.GetTranslateText("checkBoxSPYTasks");
			this.checkBoxSPYTasks78.Text = this.GetTranslateText("checkBoxSPYTasks");
			this.checkBoxDeleteWindows78Updates.Text = this.GetTranslateText("checkBoxDeleteWindows78Updates");
			this.checkBoxDeleteGWX.Text = this.GetTranslateText("checkBoxDeleteGWX");
			this.labelUninstallUpdates.Text = this.GetTranslateText("labelUninstallUpdates");
			this.labelInfoDeleteMetroApps.Text = this.GetTranslateText("labelInfoDeleteMetroApps");
			this.btnEnableUac.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__UAC, this.GetTranslateText("Enable"));
			this.btnDisableUac.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__UAC, this.GetTranslateText("Disable"));
			this.btnDisableOfficeUpdate.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__Office_2016_Telemetry, this.GetTranslateText("Disable"));
			this.btnDisableWindowsUpdate.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__Windows_Update, this.GetTranslateText("Disable"));
			this.btnEnableWindowsUpdate.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__Windows_Update, this.GetTranslateText("Enable"));
			this.checkBoxDeleteApp3d.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__Builder_3D, this.GetTranslateText("Delete"));
			this.checkBoxDeleteAppCamera.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__Camera, this.GetTranslateText("Delete"));
			this.checkBoxDeleteMailCalendarMaps.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__Mail__Calendar__Maps, this.GetTranslateText("Delete"));
			this.checkBoxDeleteAppBing.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__Money__Sports__News__Weather, this.GetTranslateText("Delete"));
			this.checkBoxDeleteAppZune.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__Groove_Music__Film_TV, this.GetTranslateText("Delete"));
			this.checkBoxDeleteAppPeopleOneNote.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__People__OneNote, this.GetTranslateText("Delete"));
			this.checkBoxDeleteAppPhone.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__Phone_Companion, this.GetTranslateText("Delete"));
			this.checkBoxDeleteAppPhotos.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__Photos, this.GetTranslateText("Delete"));
			this.checkBoxDeleteAppSolit.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__Solitaire_Collection, this.GetTranslateText("Delete"));
			this.checkBoxDeleteAppVoice.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__Voice_Recorder, this.GetTranslateText("Delete"));
			this.checkBoxDeleteAppXBOX.Text = string.Format(Resources.MainDwsForm_ChangeLanguage__0__XBOX, this.GetTranslateText("Delete"));
			this.btnRemoveOldFirewallRules.Text = this.GetTranslateText("RemoveAllOldFirewallRules");
		}

		private void checkBoxDeleteWindows10Apps_CheckedChanged(object sender, EventArgs e)
		{
			this.checkBoxDeleteApp3d.Enabled = this.checkBoxDeleteWindows10Apps.Checked;
			this.checkBoxDeleteAppBing.Enabled = this.checkBoxDeleteWindows10Apps.Checked;
			this.checkBoxDeleteAppCamera.Enabled = this.checkBoxDeleteWindows10Apps.Checked;
			this.checkBoxDeleteAppPeopleOneNote.Enabled = this.checkBoxDeleteWindows10Apps.Checked;
			this.checkBoxDeleteAppPhone.Enabled = this.checkBoxDeleteWindows10Apps.Checked;
			this.checkBoxDeleteAppPhotos.Enabled = this.checkBoxDeleteWindows10Apps.Checked;
			this.checkBoxDeleteAppSolit.Enabled = this.checkBoxDeleteWindows10Apps.Checked;
			this.checkBoxDeleteAppVoice.Enabled = this.checkBoxDeleteWindows10Apps.Checked;
			this.checkBoxDeleteAppXBOX.Enabled = this.checkBoxDeleteWindows10Apps.Checked;
			this.checkBoxDeleteAppZune.Enabled = this.checkBoxDeleteWindows10Apps.Checked;
			this.checkBoxDeleteMailCalendarMaps.Enabled = this.checkBoxDeleteWindows10Apps.Checked;
		}

		private void checkBoxDeleteWindows78Updates_CheckedChanged(object sender, EventArgs e)
		{
			this.checkedListBoxUpdatesW78.Enabled = this.checkBoxDeleteWindows78Updates.Checked;
		}

		private void CheckEnableOrDisableUac()
		{
			if (!WindowsUtil.UAC_Status())
			{
				this.btnEnableUac.Enabled = false;
				this.btnDisableUac.Enabled = true;
			}
			else
			{
				this.btnEnableUac.Enabled = true;
				this.btnDisableUac.Enabled = false;
			}
			if (WindowsUtil.SystemRestore_Status() != 0)
			{
				return;
			}
			this.checkBoxCreateSystemRestorePoint.Checked = false;
			this.checkBoxCreateSystemRestorePoint.Enabled = false;
		}

		private void CheckWindowsVersion()
		{
			int windowsBuildNumber = WindowsUtil.GetWindowsBuildNumber();
			if (windowsBuildNumber < 7600 && MessageBox.Show("Minimum windows version - 7\\nExit from the program?", "Error", MessageBoxButtons.YesNo, MessageBoxIcon.Hand) == System.Windows.Forms.DialogResult.Yes)
			{
				Process.GetCurrentProcess().Kill();
			}
			if (windowsBuildNumber >= 10000)
			{
				return;
			}
			this._win10 = false;
			this.Windows78Panel.Enabled = true;
			this.Windows78Panel.Visible = true;
			this.Win10SettingsPanel.Enabled = false;
			this.Win10SettingsPanel.Visible = false;
			this.checkBoxDeleteWindows10Apps.Enabled = false;
			this.btnDestroyWindowsSpying.Visible = false;
			this.btnDestroyWindows78Spy.Visible = true;
			for (int i = 0; i < (int)this._updatesnumberlist.Length; i++)
			{
				this.checkedListBoxUpdatesW78.Items.Add(string.Concat("KB", this._updatesnumberlist[i]));
				this.checkedListBoxUpdatesW78.SetItemChecked(i, true);
			}
		}

		private void CloseButton_Click(object sender, EventArgs e)
		{
			Process.GetCurrentProcess().Kill();
		}

		private void CloseButton_MouseDown(object sender, MouseEventArgs e)
		{
			this._closeButtonState = 1;
			this._CloseButton.Refresh();
			this._CloseButton.BackColor = Color.FromArgb(255, 0, 0);
		}

		private void CloseButton_MouseEnter(object sender, EventArgs e)
		{
			this._closeButtonState = 2;
			this._CloseButton.Refresh();
			this._CloseButton.BackColor = Color.Azure;
		}

		private void CloseButton_MouseLeave(object sender, EventArgs e)
		{
			this._closeButtonState = 0;
			this._CloseButton.Refresh();
			this._CloseButton.BackColor = Color.White;
		}

		private void CloseButton_Paint(object sender, PaintEventArgs e)
		{
			Bitmap bitmap;
			if (this._closeButtonState == 0)
			{
				bitmap = Resources.close;
			}
			else
			{
				bitmap = (this._closeButtonState == 1 ? Resources.close1 : Resources.close2);
			}
			Bitmap bitmap1 = bitmap;
			e.Graphics.DrawImage(bitmap1, this._CloseButton.Width - Resources.close.Width - 5, this._CloseButton.Height - Resources.close.Height - 7);
		}

		private void comboBoxLanguageSelect_SelectedIndexChanged(object sender, EventArgs e)
		{
			string str = this.comboBoxLanguageSelect.Text.Split(new char[] { '|' })[0].Replace(" ", string.Empty);
			if (str == "ru-RU")
			{
				this._rm = ru_RU.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "fa-IR")
			{
				this._rm = fa_IR.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "fr-FR")
			{
				this._rm = fr_FR.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "es-ES")
			{
				this._rm = es_ES.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "pt-BR")
			{
				this._rm = pt_BR.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "de-DE")
			{
				this._rm = de_DE.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "pl-PL")
			{
				this._rm = pl_PL.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "it-CH")
			{
				this._rm = it_IT.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "cs-CZ")
			{
				this._rm = cs_CZ.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "zh-CN")
			{
				this._rm = zh_CN.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "tr-TR")
			{
				this._rm = tr_TR.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "ar-LY")
			{
				this._rm = ar_LY.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "nl-NL")
			{
				this._rm = nl_NL.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "uk-UA")
			{
				this._rm = uk_UA.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str == "lt-LT")
			{
				this._rm = lt_LT.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			if (str != "ja-JP")
			{
				this._rm = en_US.ResourceManager;
				this.ChangeLanguage();
				return;
			}
			this._rm = ja_JP.ResourceManager;
			this.ChangeLanguage();
		}

		private static void CreateRestorePoint(string description)
		{
			ManagementClass managementClass = new ManagementClass(new ManagementScope("\\\\localhost\\root\\default"), new ManagementPath("SystemRestore"), new ObjectGetOptions());
			ManagementBaseObject methodParameters = managementClass.GetMethodParameters("CreateRestorePoint");
			methodParameters["Description"] = description;
			methodParameters["RestorePointType"] = 12;
			methodParameters["EventType"] = 100;
			managementClass.InvokeMethod("CreateRestorePoint", methodParameters, null);
		}

		public void DeleteFile(string filepath)
		{
			this.RunCmd(string.Format("/c del /F /Q \"{0}\"", filepath));
		}

		private void DeleteOneDrive()
		{
			this.EnableOrDisableTab(false);
			try
			{
				this.RunCmd("/c taskkill /f /im OneDrive.exe > NUL 2>&1");
				this.RunCmd("/c ping 127.0.0.1 -n 5 > NUL 2>&1");
				if (File.Exists(string.Concat(this._systemPath, "Windows\\System32\\OneDriveSetup.exe")))
				{
					this.ProcStartargs(string.Concat(this._systemPath, "Windows\\System32\\OneDriveSetup.exe"), "/uninstall");
				}
				if (File.Exists(string.Concat(this._systemPath, "Windows\\SysWOW64\\OneDriveSetup.exe")))
				{
					this.ProcStartargs(string.Concat(this._systemPath, "Windows\\SysWOW64\\OneDriveSetup.exe"), "/uninstall");
				}
				this.RunCmd("/c ping 127.0.0.1 -n 5 > NUL 2>&1");
				this.RunCmd("/c rd \"%USERPROFILE%\\OneDrive\" /Q /S > NUL 2>&1");
				this.RunCmd("/c rd \"C:\\OneDriveTemp\" /Q /S > NUL 2>&1");
				this.RunCmd("/c rd \"%LOCALAPPDATA%\\Microsoft\\OneDrive\" /Q /S > NUL 2>&1");
				this.RunCmd("/c rd \"%PROGRAMDATA%\\Microsoft OneDrive\" /Q /S > NUL 2>&1");
				this.RunCmd("/c REG DELETE \"HKEY_CLASSES_ROOT\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\" /f > NUL 2>&1");
				this.RunCmd("/c REG DELETE \"HKEY_CLASSES_ROOT\\Wow6432Node\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\" /f > NUL 2>&1");
				this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows\\OneDrive", "DisableFileSyncNGSC", "1", RegistryValueKind.DWord);
			}
			catch (Exception exception1)
			{
				Exception exception = exception1;
				base.Invoke(new MethodInvoker(() => MessageBox.Show(exception.Message, this.GetTranslateText("Error"), MessageBoxButtons.OK, MessageBoxIcon.Hand)));
			}
			base.Invoke(new MethodInvoker(() => MessageBox.Show(this.GetTranslateText("Complete"), this.GetTranslateText("Info"), MessageBoxButtons.OK, MessageBoxIcon.Asterisk)));
			this.EnableOrDisableTab(true);
		}

		private void DeleteUpdatesWin78()
		{
			for (int i = 0; i < this.checkedListBoxUpdatesW78.Items.Count; i++)
			{
				if (this.checkedListBoxUpdatesW78.GetItemChecked(i))
				{
					int num = Convert.ToInt32(this.checkedListBoxUpdatesW78.Items[i].ToString().Replace("KB", null));
					this.RunCmd(string.Format("/c start /wait wusa /uninstall /norestart /quiet /kb:{0}", num));
					this._OutPut(string.Format("Remove and Hide update KB{0}", num), MainDwsForm.LogLevel.Info);
				}
			}
		}

		private void DeleteWindows10MetroApp(string appname)
		{
			this.ProcStartargs("powershell", string.Format("-command \"Get-AppxPackage *{0}* | Remove-AppxPackage\"", appname));
		}

		private void DestroyWindowsSpyingMainForm_Activated(object sender, EventArgs e)
		{
			this.CaptionWindow.ForeColor = Color.FromArgb(64, 64, 64);
		}

		private void DestroyWindowsSpyingMainForm_Deactivate(object sender, EventArgs e)
		{
			this.CaptionWindow.ForeColor = Color.FromArgb(164, 164, 164);
		}

		private void DestroyWindowsSpyingMainForm_FormClosed(object sender, FormClosedEventArgs e)
		{
			Process.GetCurrentProcess().Kill();
		}

		private void DestroyWindowsSpyingMainForm_FormClosing(object sender, FormClosingEventArgs e)
		{
			Process.GetCurrentProcess().Kill();
		}

		private void DestroyWindowsSpyingMainThread()
		{
			if (this.checkBoxCreateSystemRestorePoint.Checked)
			{
				try
				{
					string str = string.Format("DestroyWindowsSpying {0}", DateTime.Now);
					this._OutPut(string.Format("Creating restore point {0}...", str), MainDwsForm.LogLevel.Info);
					MainDwsForm.CreateRestorePoint(str);
					this._OutPut(string.Format("Restore point {0} created.", str), MainDwsForm.LogLevel.Info);
				}
				catch (Exception exception1)
				{
					Exception exception = exception1;
					this._OutPut("Error creating restore point.", MainDwsForm.LogLevel.Info);
					this._OutPut(exception.Message, MainDwsForm.LogLevel.Debug);
				}
			}
			this.Progressbaradd(10);
			if (this.checkBoxKeyLoggerAndTelemetry.Checked)
			{
				this._OutPut("Disable telemetry...", MainDwsForm.LogLevel.Info);
				this.DigTrackFullRemove();
				this._OutPut("Delete keylogger...", MainDwsForm.LogLevel.Info);
				this.RunCmd("/c reg add \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows\\Windows Search\" /v \"AllowCortana\" /t REG_DWORD /d 0 /f ");
				this._OutPut("Cortana disable #1", MainDwsForm.LogLevel.Info);
				foreach (string str1 in new List<string>(new string[] { "DcpSvc", "diagnosticshub.standardcollector.service", "DiagTrack", "SensrSvc", "dmwappushservice", "lfsvc", "MapsBroker", "NetTcpPortSharing", "RemoteAccess", "SharedAccess", "TrkWks", "WbioSrvc", "WMPNetworkSvc", "XblAuthManager", "XblGameSave", "XboxNetApiSvc", "HomeGroupListener", "HomeGroupProvider", "bthserv", "wscsvc", "OneSyncSvc", "AeLookupSvc", "PcaSvc", "WinHttpAutoProxySvc", "UPNPHOST", "ERSVC", "WERSVC", "SSDPSRV", "CDPSvc", "DsSvc", "DcpSvc", "lfsvc" }))
				{
					this.DisableSpyServices(str1);
				}
			}
			this.Progressbaradd(15);
			if (this.checkBoxAddToHosts.Checked)
			{
				this.AddToHostsAndFirewall();
			}
			this.Progressbaradd(20);
			if (this.checkBoxDisablePrivateSettings.Checked)
			{
				string[] strArrays = new string[] { "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\{21157C1F-2651-4CC1-90CA-1F28B02263F6}", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\{2EEF81BE-33FA-4800-9670-1CD474972C3F}", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\{7D7E8402-7C54-4821-A34E-AEEFD62DED93}", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\{992AFA70-6F47-4148-B3E9-3003349C1548}", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\{9D9E0118-1807-4F2E-96E4-2CE57142E196}", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\{A8804298-2D5F-42E3-9531-9C8C39EB29CE}", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\{B19F89AF-E3EB-444B-8DEA-202575A71599}", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\{C1D23ACC-752B-43E5-8448-8D0E519CD6D6}", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\{D89823BA-7180-4B81-B50C-7E471E6121A3}", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\{E5323777-F976-4f5b-9B55-B94699C46E44}", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\{E6AD100E-5F4E-44CD-BE0F-2265D88D14F5}", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\{E83AF229-8640-4D18-A213-E22675EBB2C3}", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeviceAccess\\Global\\LooselyCoupled" };
				for (int i = 0; i < (int)strArrays.Length; i++)
				{
					this.SetRegValueHkcu(strArrays[i], "Value", "Deny", RegistryValueKind.String);
				}
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Search", "CortanaEnabled", "0", RegistryValueKind.DWord);
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\InputPersonalization", "RestrictImplicitInkCollection", "1", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows\\Windows Search", "DisableWebSearch", "1", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows\\Windows Search", "ConnectedSearchUseWeb", "0", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors", "DisableLocation", "1", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors", "DisableWindowsLocationProvider", "1", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors", "DisableLocationScripting", "1", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors", "DisableSensors", "1", RegistryValueKind.DWord);
				this.SetRegValueHklm("SYSTEM\\CurrentControlSet\\Services\\lfsvc\\Service\\Configuration", "Status", "0", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Sensor\\Overrides\\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}", "SensorPermissionState", "0", RegistryValueKind.DWord);
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\Siuf\\Rules", "NumberOfSIUFInPeriod", "0", RegistryValueKind.DWord);
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\Siuf\\Rules", "PeriodInNanoSeconds", "0", RegistryValueKind.DWord);
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Search", "BingSearchEnabled", "0", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows\\TabletPC", "PreventHandwritingDataSharing", "1", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows\\HandwritingErrorReports", "PreventHandwritingErrorReports", "1", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows\\AppCompat", "DisableInventory", "1", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows\\Personalization", "NoLockScreenCamera", "1", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\AdvertisingInfo", "Enabled", "0", RegistryValueKind.DWord);
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\AdvertisingInfo", "Enabled", "0", RegistryValueKind.DWord);
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\Input\\TIPC", "Enabled", "0", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Biometrics", "Enabled", "0", RegistryValueKind.DWord);
				this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows\\CredUI", "DisablePasswordReveal", "1", RegistryValueKind.DWord);
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\SettingSync", "SyncPolicy", "5", RegistryValueKind.DWord);
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\SettingSync\\Groups\\Personalization", "Enabled", "0", RegistryValueKind.DWord);
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\SettingSync\\Groups\\BrowserSettings", "Enabled", "0", RegistryValueKind.DWord);
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\SettingSync\\Groups\\Credentials", "Enabled", "0", RegistryValueKind.DWord);
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\SettingSync\\Groups\\Language", "Enabled", "0", RegistryValueKind.DWord);
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\SettingSync\\Groups\\Accessibility", "Enabled", "0", RegistryValueKind.DWord);
				this.SetRegValueHkcu("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\SettingSync\\Groups\\Windows", "Enabled", "0", RegistryValueKind.DWord);
				this._OutPut("Disable private settings", MainDwsForm.LogLevel.Info);
			}
			this.Progressbaradd(10);
			if (this.checkBoxDisableWindowsDefender.Checked)
			{
				try
				{
					this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows Defender", "DisableAntiSpyware", "1", RegistryValueKind.DWord);
					this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Spynet", "SpyNetReporting", "0", RegistryValueKind.DWord);
					this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Spynet", "SubmitSamplesConsent", "2", RegistryValueKind.DWord);
					this.SetRegValueHklm("SOFTWARE\\Policies\\Microsoft\\MRT", "DontReportInfectionInformation", "1", RegistryValueKind.DWord);
					this._OutPut("Disable Windows Defender.", MainDwsForm.LogLevel.Info);
					this.SetRegValueHklm("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer", "SmartScreenEnabled", "Off", RegistryValueKind.String);
					this._OutPut("Disable smart screen.", MainDwsForm.LogLevel.Info);
				}
				catch (Exception exception3)
				{
					Exception exception2 = exception3;
					this._OutPut("Error disable windows Defender or Smart Screen", MainDwsForm.LogLevel.Error);
					this._fatalErrors++;
					this._errorsList.Add(string.Format("Error disable Windows Defender or Smart Screen. Message: {0}", exception2.Message));
				}
			}
			this.Progressbaradd(5);
			if (this.checkBoxSetDefaultPhoto.Checked)
			{
				this.SetRegValueHkcu("Software\\Classes\\.ico", null, "PhotoViewer.FileAssoc.Tiff", RegistryValueKind.String);
				this.SetRegValueHkcu("Software\\Classes\\.tiff", null, "PhotoViewer.FileAssoc.Tiff", RegistryValueKind.String);
				this.SetRegValueHkcu("Software\\Classes\\.bmp", null, "PhotoViewer.FileAssoc.Tiff", RegistryValueKind.String);
				this.SetRegValueHkcu("Software\\Classes\\.png", null, "PhotoViewer.FileAssoc.Tiff", RegistryValueKind.String);
				this.SetRegValueHkcu("Software\\Classes\\.gif", null, "PhotoViewer.FileAssoc.Tiff", RegistryValueKind.String);
				this.SetRegValueHkcu("Software\\Classes\\.jpeg", null, "PhotoViewer.FileAssoc.Tiff", RegistryValueKind.String);
				this.SetRegValueHkcu("Software\\Classes\\.jpg", null, "PhotoViewer.FileAssoc.Tiff", RegistryValueKind.String);
				this._OutPut("Set Default PhotoViewer", MainDwsForm.LogLevel.Info);
			}
			this.Progressbaradd(10);
			if (this.checkBoxSPYTasks.Checked)
			{
				this.DisableSpyingTasks();
			}
			this.Progressbaradd(10);
			if (this.checkBoxDeleteWindows10Apps.Checked)
			{
				this.RemoveWindows10Apps();
			}
			this.Progressbaradd(20);
			this.EnableOrDisableTab(true);
			try
			{
				base.Invoke(new MethodInvoker(() => this.SetCompleteText(false)));
			}
			catch (Exception exception5)
			{
				try
				{
					this.SetCompleteText(false);
				}
				catch (Exception exception4)
				{
					this._OutPut(exception4.Message, MainDwsForm.LogLevel.Debug);
				}
			}
		}

		private void DigTrackFullRemove()
		{
			this.RunCmd("/c net stop DiagTrack ");
			this.RunCmd("/c net stop diagnosticshub.standardcollector.service ");
			this.RunCmd("/c net stop dmwappushservice ");
			this.RunCmd("/c net stop WMPNetworkSvc ");
			this.RunCmd("/c sc config DiagTrack start=disabled ");
			this.RunCmd("/c sc config diagnosticshub.standardcollector.service start=disabled ");
			this.RunCmd("/c sc config dmwappushservice start=disabled ");
			this.RunCmd("/c sc config WMPNetworkSvc start=disabled ");
			this.RunCmd("/c REG ADD HKLM\\SYSTEM\\ControlSet001\\Control\\WMI\\AutoLogger\\AutoLogger-Diagtrack-Listener /v Start /t REG_DWORD /d 0 /f");
			this.RunCmd("/c sc delete dmwappushsvc");
			this.RunCmd("/c sc delete \"Diagnostics Tracking Service\"");
			this.RunCmd("/c sc delete diagtrack");
			this.RunCmd("/c reg add \"HKLM\\SYSTEM\\CurrentControlSet\\Services\\SharedAccess\\Parameters\\FirewallPolicy\\FirewallRules\"  /v \"{60E6D465-398E-4850-BE86-7EF7620A2377}\" /t REG_SZ /d  \"v2.24|Action=Block|Active=TRUE|Dir=Out|App=C:\\windows\\system32\\svchost.exe|Svc=DiagTrack|Name=Windows  Telemetry|\" /f");
			this.RunCmd("/c reg add \"HKLM\\SYSTEM\\CurrentControlSet\\Services\\SharedAccess\\Parameters\\FirewallPolicy\\FirewallRules\"  /v \"{2765E0F4-2918-4A46-B9C9-43CDD8FCBA2B}\" /t REG_SZ /d  \"v2.24|Action=Block|Active=TRUE|Dir=Out|App=C:\\windows\\systemapps\\microsoft.windows.cortana_cw5n1h2txyewy\\searchui.exe|Name=Search  and Cortana  application|AppPkgId=S-1-15-2-1861897761-1695161497-2927542615-642690995-327840285-2659745135-2630312742|\"  /f");
			this.RunCmd("/c reg add \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Device Metadata\" /v \"PreventDeviceMetadataFromNetwork\" /t REG_DWORD /d 1 /f ");
			this.RunCmd("/c reg add \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection\" /v \"AllowTelemetry\" /t REG_DWORD /d 0 /f ");
			this.RunCmd("/c reg add \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\MRT\" /v \"DontOfferThroughWUAU\" /t REG_DWORD /d 1 /f ");
			this.RunCmd("/c reg add \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\SQMClient\\Windows\" /v \"CEIPEnable\" /t REG_DWORD /d 0 /f ");
			this.RunCmd("/c reg add \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppCompat\" /v \"AITEnable\" /t REG_DWORD /d 0 /f ");
			this.RunCmd("/c reg add \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppCompat\" /v \"DisableUAR\" /t REG_DWORD /d 1 /f ");
			this.RunCmd("/c reg add \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection\" /v \"AllowTelemetry\" /t REG_DWORD /d 0 /f ");
			this.RunCmd("/c reg add \"HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\WMI\\AutoLogger\\AutoLogger-Diagtrack-Listener\" /v \"Start\" /t REG_DWORD /d 0 /f ");
			this.RunCmd("/c reg add \"HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\WMI\\AutoLogger\\SQMLogger\" /v \"Start\" /t REG_DWORD /d 0 /f ");
			this.RunCmd("/c reg add \"HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Siuf\\Rules\" /v \"NumberOfSIUFInPeriod\" /t REG_DWORD /d 0 /f ");
			this.RunCmd("/c reg delete \"HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Siuf\\Rules\" /v \"PeriodInNanoSeconds\" /f ");
		}

		private void DisableSpyingTasks()
		{
			string[] strArrays = new string[] { "Microsoft\\Office\\Office 15 Subscription Heartbeat", "Microsoft\\Office\\Office ClickToRun Service Monitor", "Microsoft\\Office\\OfficeTelemetry\\AgentFallBack2016", "Microsoft\\Office\\OfficeTelemetry\\OfficeTelemetryAgentLogOn2016", "Microsoft\\Office\\OfficeTelemetryAgentFallBack", "Microsoft\\Office\\OfficeTelemetryAgentFallBack2016", "Microsoft\\Office\\OfficeTelemetryAgentLogOn", "Microsoft\\Office\\OfficeTelemetryAgentLogOn2016", "Microsoft\\Windows\\AppID\\SmartScreenSpecific", "Microsoft\\Windows\\Application Experience\\AitAgent", "Microsoft\\Windows\\Application Experience\\Microsoft Compatibility Appraiser", "Microsoft\\Windows\\Application Experience\\ProgramDataUpdater", "Microsoft\\Windows\\Application Experience\\StartupAppTask", "Microsoft\\Windows\\Autochk\\Proxy", "Microsoft\\Windows\\CloudExperienceHost\\CreateObjectTask", "Microsoft\\Windows\\Customer Experience Improvement Program\\BthSQM", "Microsoft\\Windows\\Customer Experience Improvement Program\\Consolidator", "Microsoft\\Windows\\Customer Experience Improvement Program\\KernelCeipTask", "Microsoft\\Windows\\Customer Experience Improvement Program\\Uploader", "Microsoft\\Windows\\Customer Experience Improvement Program\\UsbCeip", "Microsoft\\Windows\\DiskDiagnostic\\Microsoft-Windows-DiskDiagnosticDataCollector", "Microsoft\\Windows\\DiskFootprint\\Diagnostics", "Microsoft\\Windows\\FileHistory\\File History (maintenance mode)", "Microsoft\\Windows\\Maintenance\\WinSAT", "Microsoft\\Windows\\Media Center\\ActivateWindowsSearch", "Microsoft\\Windows\\Media Center\\ConfigureInternetTimeService", "Microsoft\\Windows\\Media Center\\DispatchRecoveryTasks", "Microsoft\\Windows\\Media Center\\ehDRMInit", "Microsoft\\Windows\\Media Center\\InstallPlayReady", "Microsoft\\Windows\\Media Center\\mcupdate", "Microsoft\\Windows\\Media Center\\MediaCenterRecoveryTask", "Microsoft\\Windows\\Media Center\\ObjectStoreRecoveryTask", "Microsoft\\Windows\\Media Center\\OCURActivate", "Microsoft\\Windows\\Media Center\\OCURDiscovery", "Microsoft\\Windows\\Media Center\\PBDADiscovery", "Microsoft\\Windows\\Media Center\\PBDADiscoveryW1", "Microsoft\\Windows\\Media Center\\PBDADiscoveryW2", "Microsoft\\Windows\\Media Center\\PvrRecoveryTask", "Microsoft\\Windows\\Media Center\\PvrScheduleTask", "Microsoft\\Windows\\Media Center\\RegisterSearch", "Microsoft\\Windows\\Media Center\\ReindexSearchRoot", "Microsoft\\Windows\\Media Center\\SqlLiteRecoveryTask", "Microsoft\\Windows\\Media Center\\UpdateRecordPath", "Microsoft\\Windows\\PI\\Sqm-Tasks", "Microsoft\\Windows\\Power Efficiency Diagnostics\\AnalyzeSystem", "Microsoft\\Windows\\Shell\\FamilySafetyMonitor", "Microsoft\\Windows\\Shell\\FamilySafetyRefresh", "Microsoft\\Windows\\Shell\\FamilySafetyUpload", "Microsoft\\Windows\\Windows Error Reporting\\QueueReporting" };
			for (int i = 0; i < (int)strArrays.Length; i++)
			{
				string str = strArrays[i];
				this.ProcStartargs("SCHTASKS", string.Format("/Change /TN \"{0}\" /disable", str));
				this._OutPut(string.Concat("Disabled task: ", str), MainDwsForm.LogLevel.Info);
			}
		}

		private void DisableSpyServices(string serviceName)
		{
			(new Thread(() => {
				this.RunCmd(string.Format("/c net stop {0}", serviceName));
				this.ProcStartargs("powershell", string.Format("-command \"Set-Service -Name {0} -StartupType Disabled\"", serviceName));
				this._OutPut(string.Format("Disable {0} service", serviceName), MainDwsForm.LogLevel.Info);
			})).Start();
		}

		protected override void Dispose(bool disposing)
		{
			if (disposing && this.components != null)
			{
				this.components.Dispose();
			}
			base.Dispose(disposing);
		}

		private void Dws78MainThread()
		{
			if (this.checkBoxAddToHosts78.Checked)
			{
				this.AddToHostsAndFirewall();
			}
			if (this.checkBoxSPYTasks78.Checked)
			{
				this.DisableSpyingTasks();
			}
			if (this.checkBoxDeleteWindows78Updates.Checked)
			{
				this.DeleteUpdatesWin78();
			}
			if (this.checkBoxDeleteGWX.Checked)
			{
				this.GwxDelete();
			}
			if (this.checkBoxDelKeyloggerTW78.Checked)
			{
				this.DigTrackFullRemove();
			}
			if (this._destroyFlag)
			{
				return;
			}
			base.Invoke(new MethodInvoker(() => {
				this.btnDestroyWindows78Spy.Enabled = true;
				this._CloseButton.Enabled = true;
				MessageBox.Show(this.GetTranslateText("Complete"), this.GetTranslateText("Info"), MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
			}));
		}

		private void EnableOrDisableTab(bool enableordisable)
		{
			try
			{
				base.Invoke(new MethodInvoker(() => {
					this.ControlBox = enableordisable;
					this._CloseButton.Enabled = enableordisable;
					this.btnDestroyWindowsSpying.Enabled = enableordisable;
					this.tabPageSettings.Enabled = enableordisable;
					this.tabPageUtilites.Enabled = enableordisable;
				}));
			}
			catch (Exception exception)
			{
				base.ControlBox = enableordisable;
				this.tabPageMain.Enabled = enableordisable;
				this.tabPageSettings.Enabled = enableordisable;
				this.tabPageUtilites.Enabled = enableordisable;
			}
		}

		private string GetTranslateText(string name)
		{
			string str;
			try
			{
				string str1 = this._rm.GetString(name);
				str = (str1 == null ? en_US.ResourceManager.GetString(name) : str1);
			}
			catch (Exception exception1)
			{
				Exception exception = exception1;
				this._OutPut(string.Format("Error get translate {0}. \nError: {1}", name, exception.Message), MainDwsForm.LogLevel.Debug);
				str = en_US.ResourceManager.GetString(name);
			}
			return str;
		}

		private static string GetWindowsBuildVersion()
		{
			return string.Format("\r\nWindows Version: {0}\r\nBuild: {1}", WindowsUtil.GetProductName(), WindowsUtil.GetSystemBuild());
		}

		private void GwxDelete()
		{
			try
			{
				WindowsIdentity current = WindowsIdentity.GetCurrent();
				string str = string.Concat(Environment.SystemDirectory, "\\GWX");
				string str1 = current.Name.Split(new char[] { '\\' })[1];
				if (!Directory.Exists(str))
				{
					this._OutPut("GWX NOT FOUND", MainDwsForm.LogLevel.Warning);
				}
				else
				{
					this.RunCmd("/c TASKKILL /F /IM gwx.exe");
					this.RunCmd(string.Format("/c takeown /f \"{0}\" /d y", str));
					this.RunCmd(string.Format("/c icacls \"{0}\" /grant {1}:F /q", str, str1));
					this.RunCmd(string.Format("/c rmdir /s /q {0}", str));
					this._OutPut("Delete GWX", MainDwsForm.LogLevel.Info);
				}
			}
			catch (Exception exception1)
			{
				Exception exception = exception1;
				this._fatalErrors++;
				this._OutPut(exception.Message, MainDwsForm.LogLevel.Error);
			}
		}

		private void InitializeComponent()
		{
			this.FormTabsControl = new TabControl();
			this.tabPageMain = new TabPage();
			this.btnDestroyWindows78Spy = new Button();
			this.LogOutputTextBox = new RichTextBox();
			this.StatusCommandsLable = new Label();
			this.ProgressBarStatus = new ProgressBar();
			this.btnDestroyWindowsSpying = new Button();
			this.tabPageSettings = new TabPage();
			this.Windows78Panel = new Panel();
			this.checkBoxDelKeyloggerTW78 = new CheckBox();
			this.labelUninstallUpdates = new Label();
			this.checkedListBoxUpdatesW78 = new CheckedListBox();
			this.checkBoxDeleteGWX = new CheckBox();
			this.checkBoxDeleteWindows78Updates = new CheckBox();
			this.checkBoxSPYTasks78 = new CheckBox();
			this.checkBoxAddToHosts78 = new CheckBox();
			this.Win10SettingsPanel = new Panel();
			this.checkBoxCreateSystemRestorePoint = new CheckBox();
			this.checkBoxKeyLoggerAndTelemetry = new CheckBox();
			this.checkBoxAddToHosts = new CheckBox();
			this.labelInfoDeleteMetroApps = new Label();
			this.checkBoxDeleteAppXBOX = new CheckBox();
			this.checkBoxDisablePrivateSettings = new CheckBox();
			this.checkBoxDeleteAppVoice = new CheckBox();
			this.checkBoxDisableWindowsDefender = new CheckBox();
			this.checkBoxDeleteAppSolit = new CheckBox();
			this.checkBoxSetDefaultPhoto = new CheckBox();
			this.checkBoxDeleteAppPhotos = new CheckBox();
			this.checkBoxSPYTasks = new CheckBox();
			this.checkBoxDeleteAppPhone = new CheckBox();
			this.checkBoxDeleteWindows10Apps = new CheckBox();
			this.checkBoxDeleteAppPeopleOneNote = new CheckBox();
			this.checkBoxDeleteApp3d = new CheckBox();
			this.checkBoxDeleteAppZune = new CheckBox();
			this.checkBoxDeleteAppCamera = new CheckBox();
			this.checkBoxDeleteAppBing = new CheckBox();
			this.checkBoxDeleteMailCalendarMaps = new CheckBox();
			this.btnProfessionalMode = new CheckBox();
			this.tabPageUtilites = new TabPage();
			this.btnFixRotateScreen = new Button();
			this.btnRemoveOldFirewallRules = new Button();
			this.btnDeleteOneDrive = new Button();
			this.btnDeleteMetroAppsInfo = new Button();
			this.groupBoxWindowsUpdate = new GroupBox();
			this.btnEnableWindowsUpdate = new Button();
			this.btnDisableWindowsUpdate = new Button();
			this.groupBoxUACEdit = new GroupBox();
			this.btnEnableUac = new Button();
			this.btnDisableUac = new Button();
			this.btnOpenAndEditHosts = new Button();
			this.btnRestoreSystem = new Button();
			this.btnDeleteAllWindows10Apps = new Button();
			this.btnDisableOfficeUpdate = new Button();
			this.tabPageAbout = new TabPage();
			this.label1 = new Label();
			this.textBox1 = new TextBox();
			this.linkLabelSourceCode = new LinkLabel();
			this.linkLabel1 = new LinkLabel();
			this.groupBoxLanguage = new GroupBox();
			this.comboBoxLanguageSelect = new ComboBox();
			this.labelMoonInfo = new Label();
			this.tabPageReadMe = new TabPage();
			this.ReadmeRichTextBox = new RichTextBox();
			this.CaptionWindow = new Label();
			this.BorderLeft = new PictureBox();
			this.BorderDown = new PictureBox();
			this.BorderR = new PictureBox();
			this.BorderUP = new PictureBox();
			this.MinimizeButton = new PictureBox();
			this._CloseButton = new PictureBox();
			this.FormTabsControl.SuspendLayout();
			this.tabPageMain.SuspendLayout();
			this.tabPageSettings.SuspendLayout();
			this.Windows78Panel.SuspendLayout();
			this.Win10SettingsPanel.SuspendLayout();
			this.tabPageUtilites.SuspendLayout();
			this.groupBoxWindowsUpdate.SuspendLayout();
			this.groupBoxUACEdit.SuspendLayout();
			this.tabPageAbout.SuspendLayout();
			this.groupBoxLanguage.SuspendLayout();
			this.tabPageReadMe.SuspendLayout();
			((ISupportInitialize)this.BorderLeft).BeginInit();
			((ISupportInitialize)this.BorderDown).BeginInit();
			((ISupportInitialize)this.BorderR).BeginInit();
			((ISupportInitialize)this.BorderUP).BeginInit();
			((ISupportInitialize)this.MinimizeButton).BeginInit();
			((ISupportInitialize)this._CloseButton).BeginInit();
			base.SuspendLayout();
			this.FormTabsControl.Controls.Add(this.tabPageMain);
			this.FormTabsControl.Controls.Add(this.tabPageSettings);
			this.FormTabsControl.Controls.Add(this.tabPageUtilites);
			this.FormTabsControl.Controls.Add(this.tabPageAbout);
			this.FormTabsControl.Controls.Add(this.tabPageReadMe);
			this.FormTabsControl.Location = new Point(0, 31);
			this.FormTabsControl.Name = "FormTabsControl";
			this.FormTabsControl.SelectedIndex = 0;
			this.FormTabsControl.Size = new System.Drawing.Size(453, 426);
			this.FormTabsControl.TabIndex = 0;
			this.tabPageMain.BackColor = Color.White;
			this.tabPageMain.BackgroundImageLayout = ImageLayout.Stretch;
			this.tabPageMain.Controls.Add(this.btnDestroyWindows78Spy);
			this.tabPageMain.Controls.Add(this.LogOutputTextBox);
			this.tabPageMain.Controls.Add(this.StatusCommandsLable);
			this.tabPageMain.Controls.Add(this.ProgressBarStatus);
			this.tabPageMain.Controls.Add(this.btnDestroyWindowsSpying);
			this.tabPageMain.Location = new Point(4, 22);
			this.tabPageMain.Name = "tabPageMain";
			this.tabPageMain.Padding = new System.Windows.Forms.Padding(3);
			this.tabPageMain.Size = new System.Drawing.Size(445, 400);
			this.tabPageMain.TabIndex = 0;
			this.tabPageMain.Text = "Main";
			this.btnDestroyWindows78Spy.BackColor = Color.White;
			this.btnDestroyWindows78Spy.Cursor = Cursors.Arrow;
			this.btnDestroyWindows78Spy.FlatStyle = FlatStyle.Flat;
			this.btnDestroyWindows78Spy.Font = new System.Drawing.Font("Tahoma", 11.25f, FontStyle.Regular, GraphicsUnit.Point, 204);
			this.btnDestroyWindows78Spy.Location = new Point(8, 6);
			this.btnDestroyWindows78Spy.Name = "btnDestroyWindows78Spy";
			this.btnDestroyWindows78Spy.Size = new System.Drawing.Size(429, 50);
			this.btnDestroyWindows78Spy.TabIndex = 4;
			this.btnDestroyWindows78Spy.Text = "Destroy Windows 7/8.1 Spying\r\nRemove updates, tasks, and other )";
			this.btnDestroyWindows78Spy.UseVisualStyleBackColor = false;
			this.btnDestroyWindows78Spy.Visible = false;
			this.btnDestroyWindows78Spy.Click += new EventHandler(this.btnDestroyWindows78Spy_Click);
			this.LogOutputTextBox.BackColor = Color.White;
			this.LogOutputTextBox.BorderStyle = BorderStyle.None;
			this.LogOutputTextBox.Font = new System.Drawing.Font("Consolas", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 204);
			this.LogOutputTextBox.ForeColor = Color.Navy;
			this.LogOutputTextBox.Location = new Point(8, 113);
			this.LogOutputTextBox.Name = "LogOutputTextBox";
			this.LogOutputTextBox.ReadOnly = true;
			this.LogOutputTextBox.Size = new System.Drawing.Size(429, 279);
			this.LogOutputTextBox.TabIndex = 3;
			this.LogOutputTextBox.Text = "https://twitter.com/nummerok\n>> https://t.me/DestroyWindowsSpying <<\n\nDonate:\nBTC: 1GvGof9C9HDwJKgTw4WJJiTirPc5qfPz5g\nETH: 0x8f9c91041cf42c61693d47d6a1c3977f23c80a30\n==========================\n\n";
			this.LogOutputTextBox.TextChanged += new EventHandler(this.LogOutputTextBox_TextChanged);
			this.StatusCommandsLable.BackColor = Color.Transparent;
			this.StatusCommandsLable.Font = new System.Drawing.Font("Tahoma", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 204);
			this.StatusCommandsLable.Location = new Point(8, 88);
			this.StatusCommandsLable.Name = "StatusCommandsLable";
			this.StatusCommandsLable.Size = new System.Drawing.Size(429, 22);
			this.StatusCommandsLable.TabIndex = 2;
			this.StatusCommandsLable.Text = "Destroy Windows 10 Spying";
			this.StatusCommandsLable.TextAlign = ContentAlignment.MiddleCenter;
			this.ProgressBarStatus.BackColor = SystemColors.Control;
			this.ProgressBarStatus.Location = new Point(8, 62);
			this.ProgressBarStatus.Name = "ProgressBarStatus";
			this.ProgressBarStatus.Size = new System.Drawing.Size(429, 23);
			this.ProgressBarStatus.TabIndex = 1;
			this.btnDestroyWindowsSpying.BackColor = Color.White;
			this.btnDestroyWindowsSpying.Cursor = Cursors.Arrow;
			this.btnDestroyWindowsSpying.FlatStyle = FlatStyle.Flat;
			this.btnDestroyWindowsSpying.Font = new System.Drawing.Font("Tahoma", 15.75f, FontStyle.Regular, GraphicsUnit.Point, 204);
			this.btnDestroyWindowsSpying.Location = new Point(8, 6);
			this.btnDestroyWindowsSpying.Name = "btnDestroyWindowsSpying";
			this.btnDestroyWindowsSpying.Size = new System.Drawing.Size(429, 50);
			this.btnDestroyWindowsSpying.TabIndex = 0;
			this.btnDestroyWindowsSpying.Text = "Destroy Windows 10 Spying";
			this.btnDestroyWindowsSpying.UseVisualStyleBackColor = false;
			this.btnDestroyWindowsSpying.Click += new EventHandler(this.btnDestroyWindowsSpying_Click);
			this.tabPageSettings.BackColor = Color.White;
			this.tabPageSettings.BackgroundImageLayout = ImageLayout.Stretch;
			this.tabPageSettings.Controls.Add(this.Windows78Panel);
			this.tabPageSettings.Controls.Add(this.Win10SettingsPanel);
			this.tabPageSettings.Controls.Add(this.btnProfessionalMode);
			this.tabPageSettings.Location = new Point(4, 22);
			this.tabPageSettings.Name = "tabPageSettings";
			this.tabPageSettings.Padding = new System.Windows.Forms.Padding(3);
			this.tabPageSettings.Size = new System.Drawing.Size(445, 400);
			this.tabPageSettings.TabIndex = 1;
			this.tabPageSettings.Text = "Settings";
			this.Windows78Panel.BackColor = Color.Transparent;
			this.Windows78Panel.Controls.Add(this.checkBoxDelKeyloggerTW78);
			this.Windows78Panel.Controls.Add(this.labelUninstallUpdates);
			this.Windows78Panel.Controls.Add(this.checkedListBoxUpdatesW78);
			this.Windows78Panel.Controls.Add(this.checkBoxDeleteGWX);
			this.Windows78Panel.Controls.Add(this.checkBoxDeleteWindows78Updates);
			this.Windows78Panel.Controls.Add(this.checkBoxSPYTasks78);
			this.Windows78Panel.Controls.Add(this.checkBoxAddToHosts78);
			this.Windows78Panel.Enabled = false;
			this.Windows78Panel.Location = new Point(6, 3);
			this.Windows78Panel.Margin = new System.Windows.Forms.Padding(0);
			this.Windows78Panel.Name = "Windows78Panel";
			this.Windows78Panel.Size = new System.Drawing.Size(434, 365);
			this.Windows78Panel.TabIndex = 23;
			this.Windows78Panel.Visible = false;
			this.checkBoxDelKeyloggerTW78.AutoSize = true;
			this.checkBoxDelKeyloggerTW78.BackColor = Color.Transparent;
			this.checkBoxDelKeyloggerTW78.Checked = true;
			this.checkBoxDelKeyloggerTW78.CheckState = CheckState.Checked;
			this.checkBoxDelKeyloggerTW78.Location = new Point(3, 71);
			this.checkBoxDelKeyloggerTW78.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDelKeyloggerTW78.Name = "checkBoxDelKeyloggerTW78";
			this.checkBoxDelKeyloggerTW78.Size = new System.Drawing.Size(177, 17);
			this.checkBoxDelKeyloggerTW78.TabIndex = 6;
			this.checkBoxDelKeyloggerTW78.Text = "Delete keylogger and telemetry";
			this.checkBoxDelKeyloggerTW78.UseVisualStyleBackColor = false;
			this.labelUninstallUpdates.AutoSize = true;
			this.labelUninstallUpdates.Location = new Point(7, 105);
			this.labelUninstallUpdates.Name = "labelUninstallUpdates";
			this.labelUninstallUpdates.Size = new System.Drawing.Size(93, 13);
			this.labelUninstallUpdates.TabIndex = 5;
			this.labelUninstallUpdates.Text = "Uninstall updates:";
			this.checkedListBoxUpdatesW78.BorderStyle = BorderStyle.FixedSingle;
			this.checkedListBoxUpdatesW78.Enabled = false;
			this.checkedListBoxUpdatesW78.FormattingEnabled = true;
			this.checkedListBoxUpdatesW78.Location = new Point(6, 121);
			this.checkedListBoxUpdatesW78.Name = "checkedListBoxUpdatesW78";
			this.checkedListBoxUpdatesW78.Size = new System.Drawing.Size(210, 162);
			this.checkedListBoxUpdatesW78.TabIndex = 4;
			this.checkBoxDeleteGWX.AutoSize = true;
			this.checkBoxDeleteGWX.Checked = true;
			this.checkBoxDeleteGWX.CheckState = CheckState.Checked;
			this.checkBoxDeleteGWX.Enabled = false;
			this.checkBoxDeleteGWX.Location = new Point(3, 54);
			this.checkBoxDeleteGWX.Name = "checkBoxDeleteGWX";
			this.checkBoxDeleteGWX.Size = new System.Drawing.Size(83, 17);
			this.checkBoxDeleteGWX.TabIndex = 3;
			this.checkBoxDeleteGWX.Text = "Delete GWX";
			this.checkBoxDeleteGWX.UseVisualStyleBackColor = true;
			this.checkBoxDeleteWindows78Updates.AutoSize = true;
			this.checkBoxDeleteWindows78Updates.Checked = true;
			this.checkBoxDeleteWindows78Updates.CheckState = CheckState.Checked;
			this.checkBoxDeleteWindows78Updates.Enabled = false;
			this.checkBoxDeleteWindows78Updates.Location = new Point(3, 37);
			this.checkBoxDeleteWindows78Updates.Name = "checkBoxDeleteWindows78Updates";
			this.checkBoxDeleteWindows78Updates.Size = new System.Drawing.Size(137, 17);
			this.checkBoxDeleteWindows78Updates.TabIndex = 2;
			this.checkBoxDeleteWindows78Updates.Text = "Delete spying updates.";
			this.checkBoxDeleteWindows78Updates.UseVisualStyleBackColor = true;
			this.checkBoxDeleteWindows78Updates.CheckedChanged += new EventHandler(this.checkBoxDeleteWindows78Updates_CheckedChanged);
			this.checkBoxSPYTasks78.AutoSize = true;
			this.checkBoxSPYTasks78.Checked = true;
			this.checkBoxSPYTasks78.CheckState = CheckState.Checked;
			this.checkBoxSPYTasks78.Enabled = false;
			this.checkBoxSPYTasks78.Location = new Point(3, 20);
			this.checkBoxSPYTasks78.Name = "checkBoxSPYTasks78";
			this.checkBoxSPYTasks78.Size = new System.Drawing.Size(109, 17);
			this.checkBoxSPYTasks78.TabIndex = 1;
			this.checkBoxSPYTasks78.Text = "Disable SPY tasks";
			this.checkBoxSPYTasks78.UseVisualStyleBackColor = true;
			this.checkBoxAddToHosts78.AutoSize = true;
			this.checkBoxAddToHosts78.Checked = true;
			this.checkBoxAddToHosts78.CheckState = CheckState.Checked;
			this.checkBoxAddToHosts78.Enabled = false;
			this.checkBoxAddToHosts78.Location = new Point(3, 3);
			this.checkBoxAddToHosts78.Name = "checkBoxAddToHosts78";
			this.checkBoxAddToHosts78.Size = new System.Drawing.Size(314, 17);
			this.checkBoxAddToHosts78.TabIndex = 0;
			this.checkBoxAddToHosts78.Text = "Add spy domains to hosts file, and block in Windows Firewall";
			this.checkBoxAddToHosts78.UseVisualStyleBackColor = true;
			this.Win10SettingsPanel.BackColor = Color.Transparent;
			this.Win10SettingsPanel.Controls.Add(this.checkBoxCreateSystemRestorePoint);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxKeyLoggerAndTelemetry);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxAddToHosts);
			this.Win10SettingsPanel.Controls.Add(this.labelInfoDeleteMetroApps);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDeleteAppXBOX);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDisablePrivateSettings);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDeleteAppVoice);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDisableWindowsDefender);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDeleteAppSolit);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxSetDefaultPhoto);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDeleteAppPhotos);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxSPYTasks);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDeleteAppPhone);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDeleteWindows10Apps);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDeleteAppPeopleOneNote);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDeleteApp3d);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDeleteAppZune);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDeleteAppCamera);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDeleteAppBing);
			this.Win10SettingsPanel.Controls.Add(this.checkBoxDeleteMailCalendarMaps);
			this.Win10SettingsPanel.Location = new Point(6, 3);
			this.Win10SettingsPanel.Margin = new System.Windows.Forms.Padding(0);
			this.Win10SettingsPanel.Name = "Win10SettingsPanel";
			this.Win10SettingsPanel.Size = new System.Drawing.Size(434, 365);
			this.Win10SettingsPanel.TabIndex = 22;
			this.checkBoxCreateSystemRestorePoint.AutoSize = true;
			this.checkBoxCreateSystemRestorePoint.BackColor = Color.Transparent;
			this.checkBoxCreateSystemRestorePoint.Checked = true;
			this.checkBoxCreateSystemRestorePoint.CheckState = CheckState.Checked;
			this.checkBoxCreateSystemRestorePoint.Location = new Point(3, 3);
			this.checkBoxCreateSystemRestorePoint.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxCreateSystemRestorePoint.Name = "checkBoxCreateSystemRestorePoint";
			this.checkBoxCreateSystemRestorePoint.Size = new System.Drawing.Size(161, 17);
			this.checkBoxCreateSystemRestorePoint.TabIndex = 0;
			this.checkBoxCreateSystemRestorePoint.Text = "Create system restore point";
			this.checkBoxCreateSystemRestorePoint.UseVisualStyleBackColor = false;
			this.checkBoxKeyLoggerAndTelemetry.AutoSize = true;
			this.checkBoxKeyLoggerAndTelemetry.BackColor = Color.Transparent;
			this.checkBoxKeyLoggerAndTelemetry.Checked = true;
			this.checkBoxKeyLoggerAndTelemetry.CheckState = CheckState.Checked;
			this.checkBoxKeyLoggerAndTelemetry.Location = new Point(3, 20);
			this.checkBoxKeyLoggerAndTelemetry.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxKeyLoggerAndTelemetry.Name = "checkBoxKeyLoggerAndTelemetry";
			this.checkBoxKeyLoggerAndTelemetry.Size = new System.Drawing.Size(177, 17);
			this.checkBoxKeyLoggerAndTelemetry.TabIndex = 1;
			this.checkBoxKeyLoggerAndTelemetry.Text = "Delete keylogger and telemetry";
			this.checkBoxKeyLoggerAndTelemetry.UseVisualStyleBackColor = false;
			this.checkBoxAddToHosts.AutoSize = true;
			this.checkBoxAddToHosts.BackColor = Color.Transparent;
			this.checkBoxAddToHosts.Checked = true;
			this.checkBoxAddToHosts.CheckState = CheckState.Checked;
			this.checkBoxAddToHosts.Location = new Point(3, 37);
			this.checkBoxAddToHosts.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxAddToHosts.Name = "checkBoxAddToHosts";
			this.checkBoxAddToHosts.Size = new System.Drawing.Size(314, 17);
			this.checkBoxAddToHosts.TabIndex = 2;
			this.checkBoxAddToHosts.Text = "Add spy domains to hosts file, and block in Windows Firewall\r\n";
			this.checkBoxAddToHosts.UseVisualStyleBackColor = false;
			this.labelInfoDeleteMetroApps.AutoSize = true;
			this.labelInfoDeleteMetroApps.BackColor = Color.Transparent;
			this.labelInfoDeleteMetroApps.ForeColor = Color.Red;
			this.labelInfoDeleteMetroApps.Location = new Point(3, 343);
			this.labelInfoDeleteMetroApps.Name = "labelInfoDeleteMetroApps";
			this.labelInfoDeleteMetroApps.Size = new System.Drawing.Size(396, 13);
			this.labelInfoDeleteMetroApps.TabIndex = 20;
			this.labelInfoDeleteMetroApps.Text = "METRO applications are deleted permanently, without the possibility of recovery.";
			this.checkBoxDeleteAppXBOX.AutoSize = true;
			this.checkBoxDeleteAppXBOX.BackColor = Color.Transparent;
			this.checkBoxDeleteAppXBOX.Checked = true;
			this.checkBoxDeleteAppXBOX.CheckState = CheckState.Checked;
			this.checkBoxDeleteAppXBOX.Enabled = false;
			this.checkBoxDeleteAppXBOX.Location = new Point(3, 309);
			this.checkBoxDeleteAppXBOX.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDeleteAppXBOX.Name = "checkBoxDeleteAppXBOX";
			this.checkBoxDeleteAppXBOX.Size = new System.Drawing.Size(84, 17);
			this.checkBoxDeleteAppXBOX.TabIndex = 18;
			this.checkBoxDeleteAppXBOX.Text = "Delete XBoX";
			this.checkBoxDeleteAppXBOX.UseVisualStyleBackColor = false;
			this.checkBoxDisablePrivateSettings.AutoSize = true;
			this.checkBoxDisablePrivateSettings.BackColor = Color.Transparent;
			this.checkBoxDisablePrivateSettings.Checked = true;
			this.checkBoxDisablePrivateSettings.CheckState = CheckState.Checked;
			this.checkBoxDisablePrivateSettings.Location = new Point(3, 54);
			this.checkBoxDisablePrivateSettings.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDisablePrivateSettings.Name = "checkBoxDisablePrivateSettings";
			this.checkBoxDisablePrivateSettings.Size = new System.Drawing.Size(138, 17);
			this.checkBoxDisablePrivateSettings.TabIndex = 3;
			this.checkBoxDisablePrivateSettings.Text = "Disable private settings";
			this.checkBoxDisablePrivateSettings.UseVisualStyleBackColor = false;
			this.checkBoxDeleteAppVoice.AutoSize = true;
			this.checkBoxDeleteAppVoice.BackColor = Color.Transparent;
			this.checkBoxDeleteAppVoice.Checked = true;
			this.checkBoxDeleteAppVoice.CheckState = CheckState.Checked;
			this.checkBoxDeleteAppVoice.Enabled = false;
			this.checkBoxDeleteAppVoice.Location = new Point(3, 292);
			this.checkBoxDeleteAppVoice.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDeleteAppVoice.Name = "checkBoxDeleteAppVoice";
			this.checkBoxDeleteAppVoice.Size = new System.Drawing.Size(132, 17);
			this.checkBoxDeleteAppVoice.TabIndex = 17;
			this.checkBoxDeleteAppVoice.Text = "Delete Voice Recorder";
			this.checkBoxDeleteAppVoice.UseVisualStyleBackColor = false;
			this.checkBoxDisableWindowsDefender.AutoSize = true;
			this.checkBoxDisableWindowsDefender.BackColor = Color.Transparent;
			this.checkBoxDisableWindowsDefender.Checked = true;
			this.checkBoxDisableWindowsDefender.CheckState = CheckState.Checked;
			this.checkBoxDisableWindowsDefender.Location = new Point(3, 71);
			this.checkBoxDisableWindowsDefender.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDisableWindowsDefender.Name = "checkBoxDisableWindowsDefender";
			this.checkBoxDisableWindowsDefender.Size = new System.Drawing.Size(151, 17);
			this.checkBoxDisableWindowsDefender.TabIndex = 4;
			this.checkBoxDisableWindowsDefender.Text = "Disable windows defender";
			this.checkBoxDisableWindowsDefender.UseVisualStyleBackColor = false;
			this.checkBoxDeleteAppSolit.AutoSize = true;
			this.checkBoxDeleteAppSolit.BackColor = Color.Transparent;
			this.checkBoxDeleteAppSolit.Checked = true;
			this.checkBoxDeleteAppSolit.CheckState = CheckState.Checked;
			this.checkBoxDeleteAppSolit.Enabled = false;
			this.checkBoxDeleteAppSolit.Location = new Point(3, 275);
			this.checkBoxDeleteAppSolit.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDeleteAppSolit.Name = "checkBoxDeleteAppSolit";
			this.checkBoxDeleteAppSolit.Size = new System.Drawing.Size(147, 17);
			this.checkBoxDeleteAppSolit.TabIndex = 16;
			this.checkBoxDeleteAppSolit.Text = "Delete Solitaire Collection";
			this.checkBoxDeleteAppSolit.UseVisualStyleBackColor = false;
			this.checkBoxSetDefaultPhoto.AutoSize = true;
			this.checkBoxSetDefaultPhoto.BackColor = Color.Transparent;
			this.checkBoxSetDefaultPhoto.Checked = true;
			this.checkBoxSetDefaultPhoto.CheckState = CheckState.Checked;
			this.checkBoxSetDefaultPhoto.Location = new Point(3, 88);
			this.checkBoxSetDefaultPhoto.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxSetDefaultPhoto.Name = "checkBoxSetDefaultPhoto";
			this.checkBoxSetDefaultPhoto.Size = new System.Drawing.Size(189, 17);
			this.checkBoxSetDefaultPhoto.TabIndex = 5;
			this.checkBoxSetDefaultPhoto.Text = "Set default windows photo viewer";
			this.checkBoxSetDefaultPhoto.UseVisualStyleBackColor = false;
			this.checkBoxDeleteAppPhotos.AutoSize = true;
			this.checkBoxDeleteAppPhotos.BackColor = Color.Transparent;
			this.checkBoxDeleteAppPhotos.Checked = true;
			this.checkBoxDeleteAppPhotos.CheckState = CheckState.Checked;
			this.checkBoxDeleteAppPhotos.Enabled = false;
			this.checkBoxDeleteAppPhotos.Location = new Point(3, 258);
			this.checkBoxDeleteAppPhotos.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDeleteAppPhotos.Name = "checkBoxDeleteAppPhotos";
			this.checkBoxDeleteAppPhotos.Size = new System.Drawing.Size(93, 17);
			this.checkBoxDeleteAppPhotos.TabIndex = 15;
			this.checkBoxDeleteAppPhotos.Text = "Delete Photos";
			this.checkBoxDeleteAppPhotos.UseVisualStyleBackColor = false;
			this.checkBoxSPYTasks.AutoSize = true;
			this.checkBoxSPYTasks.BackColor = Color.Transparent;
			this.checkBoxSPYTasks.Checked = true;
			this.checkBoxSPYTasks.CheckState = CheckState.Checked;
			this.checkBoxSPYTasks.Location = new Point(3, 105);
			this.checkBoxSPYTasks.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxSPYTasks.Name = "checkBoxSPYTasks";
			this.checkBoxSPYTasks.Size = new System.Drawing.Size(109, 17);
			this.checkBoxSPYTasks.TabIndex = 6;
			this.checkBoxSPYTasks.Text = "Disable SPY tasks";
			this.checkBoxSPYTasks.UseVisualStyleBackColor = false;
			this.checkBoxDeleteAppPhone.AutoSize = true;
			this.checkBoxDeleteAppPhone.BackColor = Color.Transparent;
			this.checkBoxDeleteAppPhone.Checked = true;
			this.checkBoxDeleteAppPhone.CheckState = CheckState.Checked;
			this.checkBoxDeleteAppPhone.Enabled = false;
			this.checkBoxDeleteAppPhone.Location = new Point(3, 241);
			this.checkBoxDeleteAppPhone.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDeleteAppPhone.Name = "checkBoxDeleteAppPhone";
			this.checkBoxDeleteAppPhone.Size = new System.Drawing.Size(146, 17);
			this.checkBoxDeleteAppPhone.TabIndex = 14;
			this.checkBoxDeleteAppPhone.Text = "Delete Phone Companion";
			this.checkBoxDeleteAppPhone.UseVisualStyleBackColor = false;
			this.checkBoxDeleteWindows10Apps.AutoSize = true;
			this.checkBoxDeleteWindows10Apps.BackColor = Color.Transparent;
			this.checkBoxDeleteWindows10Apps.Location = new Point(3, 122);
			this.checkBoxDeleteWindows10Apps.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDeleteWindows10Apps.Name = "checkBoxDeleteWindows10Apps";
			this.checkBoxDeleteWindows10Apps.Size = new System.Drawing.Size(173, 17);
			this.checkBoxDeleteWindows10Apps.TabIndex = 7;
			this.checkBoxDeleteWindows10Apps.Text = "Delete windows 10 metro apps";
			this.checkBoxDeleteWindows10Apps.UseVisualStyleBackColor = false;
			this.checkBoxDeleteWindows10Apps.CheckedChanged += new EventHandler(this.checkBoxDeleteWindows10Apps_CheckedChanged);
			this.checkBoxDeleteAppPeopleOneNote.AutoSize = true;
			this.checkBoxDeleteAppPeopleOneNote.BackColor = Color.Transparent;
			this.checkBoxDeleteAppPeopleOneNote.Checked = true;
			this.checkBoxDeleteAppPeopleOneNote.CheckState = CheckState.Checked;
			this.checkBoxDeleteAppPeopleOneNote.Enabled = false;
			this.checkBoxDeleteAppPeopleOneNote.Location = new Point(3, 224);
			this.checkBoxDeleteAppPeopleOneNote.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDeleteAppPeopleOneNote.Name = "checkBoxDeleteAppPeopleOneNote";
			this.checkBoxDeleteAppPeopleOneNote.Size = new System.Drawing.Size(159, 17);
			this.checkBoxDeleteAppPeopleOneNote.TabIndex = 13;
			this.checkBoxDeleteAppPeopleOneNote.Text = "Delete People and OneNote";
			this.checkBoxDeleteAppPeopleOneNote.UseVisualStyleBackColor = false;
			this.checkBoxDeleteApp3d.AutoSize = true;
			this.checkBoxDeleteApp3d.BackColor = Color.Transparent;
			this.checkBoxDeleteApp3d.Checked = true;
			this.checkBoxDeleteApp3d.CheckState = CheckState.Checked;
			this.checkBoxDeleteApp3d.Enabled = false;
			this.checkBoxDeleteApp3d.Location = new Point(3, 139);
			this.checkBoxDeleteApp3d.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDeleteApp3d.Name = "checkBoxDeleteApp3d";
			this.checkBoxDeleteApp3d.Size = new System.Drawing.Size(108, 17);
			this.checkBoxDeleteApp3d.TabIndex = 8;
			this.checkBoxDeleteApp3d.Text = "Delete Builder 3D";
			this.checkBoxDeleteApp3d.UseVisualStyleBackColor = false;
			this.checkBoxDeleteAppZune.AutoSize = true;
			this.checkBoxDeleteAppZune.BackColor = Color.Transparent;
			this.checkBoxDeleteAppZune.Checked = true;
			this.checkBoxDeleteAppZune.CheckState = CheckState.Checked;
			this.checkBoxDeleteAppZune.Enabled = false;
			this.checkBoxDeleteAppZune.Location = new Point(3, 207);
			this.checkBoxDeleteAppZune.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDeleteAppZune.Name = "checkBoxDeleteAppZune";
			this.checkBoxDeleteAppZune.Size = new System.Drawing.Size(184, 17);
			this.checkBoxDeleteAppZune.TabIndex = 12;
			this.checkBoxDeleteAppZune.Text = "Delete Groove Music and Film TV ";
			this.checkBoxDeleteAppZune.UseVisualStyleBackColor = false;
			this.checkBoxDeleteAppCamera.AutoSize = true;
			this.checkBoxDeleteAppCamera.BackColor = Color.Transparent;
			this.checkBoxDeleteAppCamera.Checked = true;
			this.checkBoxDeleteAppCamera.CheckState = CheckState.Checked;
			this.checkBoxDeleteAppCamera.Enabled = false;
			this.checkBoxDeleteAppCamera.Location = new Point(3, 156);
			this.checkBoxDeleteAppCamera.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDeleteAppCamera.Name = "checkBoxDeleteAppCamera";
			this.checkBoxDeleteAppCamera.Size = new System.Drawing.Size(97, 17);
			this.checkBoxDeleteAppCamera.TabIndex = 9;
			this.checkBoxDeleteAppCamera.Text = "Delete Camera";
			this.checkBoxDeleteAppCamera.UseVisualStyleBackColor = false;
			this.checkBoxDeleteAppBing.AutoSize = true;
			this.checkBoxDeleteAppBing.BackColor = Color.Transparent;
			this.checkBoxDeleteAppBing.Checked = true;
			this.checkBoxDeleteAppBing.CheckState = CheckState.Checked;
			this.checkBoxDeleteAppBing.Enabled = false;
			this.checkBoxDeleteAppBing.Location = new Point(3, 190);
			this.checkBoxDeleteAppBing.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDeleteAppBing.Name = "checkBoxDeleteAppBing";
			this.checkBoxDeleteAppBing.Size = new System.Drawing.Size(229, 17);
			this.checkBoxDeleteAppBing.TabIndex = 11;
			this.checkBoxDeleteAppBing.Text = "Delete Money, Sports, News and Weather";
			this.checkBoxDeleteAppBing.UseVisualStyleBackColor = false;
			this.checkBoxDeleteMailCalendarMaps.AutoSize = true;
			this.checkBoxDeleteMailCalendarMaps.BackColor = Color.Transparent;
			this.checkBoxDeleteMailCalendarMaps.Checked = true;
			this.checkBoxDeleteMailCalendarMaps.CheckState = CheckState.Checked;
			this.checkBoxDeleteMailCalendarMaps.Enabled = false;
			this.checkBoxDeleteMailCalendarMaps.Location = new Point(3, 173);
			this.checkBoxDeleteMailCalendarMaps.Margin = new System.Windows.Forms.Padding(0);
			this.checkBoxDeleteMailCalendarMaps.Name = "checkBoxDeleteMailCalendarMaps";
			this.checkBoxDeleteMailCalendarMaps.Size = new System.Drawing.Size(174, 17);
			this.checkBoxDeleteMailCalendarMaps.TabIndex = 10;
			this.checkBoxDeleteMailCalendarMaps.Text = "Delete Mail,Calendar and Maps";
			this.checkBoxDeleteMailCalendarMaps.UseVisualStyleBackColor = false;
			this.btnProfessionalMode.AutoSize = true;
			this.btnProfessionalMode.ForeColor = Color.Red;
			this.btnProfessionalMode.Location = new Point(6, 371);
			this.btnProfessionalMode.Name = "btnProfessionalMode";
			this.btnProfessionalMode.Size = new System.Drawing.Size(113, 17);
			this.btnProfessionalMode.TabIndex = 21;
			this.btnProfessionalMode.Text = "Professional mode";
			this.btnProfessionalMode.UseVisualStyleBackColor = true;
			this.btnProfessionalMode.CheckedChanged += new EventHandler(this.btnProfessionalMode_Click);
			this.tabPageUtilites.BackColor = Color.White;
			this.tabPageUtilites.BackgroundImageLayout = ImageLayout.Stretch;
			this.tabPageUtilites.Controls.Add(this.btnFixRotateScreen);
			this.tabPageUtilites.Controls.Add(this.btnRemoveOldFirewallRules);
			this.tabPageUtilites.Controls.Add(this.btnDeleteOneDrive);
			this.tabPageUtilites.Controls.Add(this.btnDeleteMetroAppsInfo);
			this.tabPageUtilites.Controls.Add(this.groupBoxWindowsUpdate);
			this.tabPageUtilites.Controls.Add(this.groupBoxUACEdit);
			this.tabPageUtilites.Controls.Add(this.btnOpenAndEditHosts);
			this.tabPageUtilites.Controls.Add(this.btnRestoreSystem);
			this.tabPageUtilites.Controls.Add(this.btnDeleteAllWindows10Apps);
			this.tabPageUtilites.Controls.Add(this.btnDisableOfficeUpdate);
			this.tabPageUtilites.Location = new Point(4, 22);
			this.tabPageUtilites.Name = "tabPageUtilites";
			this.tabPageUtilites.Size = new System.Drawing.Size(445, 400);
			this.tabPageUtilites.TabIndex = 2;
			this.tabPageUtilites.Text = "Utilites";
			this.btnFixRotateScreen.BackColor = Color.Transparent;
			this.btnFixRotateScreen.FlatStyle = FlatStyle.Flat;
			this.btnFixRotateScreen.Location = new Point(14, 176);
			this.btnFixRotateScreen.Name = "btnFixRotateScreen";
			this.btnFixRotateScreen.Size = new System.Drawing.Size(202, 23);
			this.btnFixRotateScreen.TabIndex = 11;
			this.btnFixRotateScreen.Text = "Fix screen rotate";
			this.btnFixRotateScreen.UseVisualStyleBackColor = false;
			this.btnFixRotateScreen.Click += new EventHandler(this.btnFixRotateScreen_Click);
			this.btnRemoveOldFirewallRules.BackColor = Color.Transparent;
			this.btnRemoveOldFirewallRules.FlatStyle = FlatStyle.Flat;
			this.btnRemoveOldFirewallRules.ForeColor = Color.Green;
			this.btnRemoveOldFirewallRules.Location = new Point(229, 147);
			this.btnRemoveOldFirewallRules.Name = "btnRemoveOldFirewallRules";
			this.btnRemoveOldFirewallRules.Size = new System.Drawing.Size(202, 23);
			this.btnRemoveOldFirewallRules.TabIndex = 6;
			this.btnRemoveOldFirewallRules.Text = "Remove all old DWS firewall rules";
			this.btnRemoveOldFirewallRules.UseVisualStyleBackColor = false;
			this.btnRemoveOldFirewallRules.Click += new EventHandler(this.btnRemoveOldFirewallRules_Click);
			this.btnDeleteOneDrive.BackColor = Color.Transparent;
			this.btnDeleteOneDrive.FlatStyle = FlatStyle.Flat;
			this.btnDeleteOneDrive.ForeColor = Color.Black;
			this.btnDeleteOneDrive.Location = new Point(223, 32);
			this.btnDeleteOneDrive.Name = "btnDeleteOneDrive";
			this.btnDeleteOneDrive.Size = new System.Drawing.Size(214, 23);
			this.btnDeleteOneDrive.TabIndex = 10;
			this.btnDeleteOneDrive.Text = "Delete One Drive";
			this.btnDeleteOneDrive.UseVisualStyleBackColor = false;
			this.btnDeleteOneDrive.Click += new EventHandler(this.btnDeleteOneDrive_Click);
			this.btnDeleteMetroAppsInfo.BackColor = Color.Transparent;
			this.btnDeleteMetroAppsInfo.FlatStyle = FlatStyle.Flat;
			this.btnDeleteMetroAppsInfo.ForeColor = Color.Black;
			this.btnDeleteMetroAppsInfo.Location = new Point(199, 32);
			this.btnDeleteMetroAppsInfo.Name = "btnDeleteMetroAppsInfo";
			this.btnDeleteMetroAppsInfo.Size = new System.Drawing.Size(23, 23);
			this.btnDeleteMetroAppsInfo.TabIndex = 9;
			this.btnDeleteMetroAppsInfo.Text = "?";
			this.btnDeleteMetroAppsInfo.UseVisualStyleBackColor = false;
			this.btnDeleteMetroAppsInfo.Click += new EventHandler(this.btnDeleteMetroAppsInfo_Click);
			this.groupBoxWindowsUpdate.BackColor = Color.Transparent;
			this.groupBoxWindowsUpdate.Controls.Add(this.btnEnableWindowsUpdate);
			this.groupBoxWindowsUpdate.Controls.Add(this.btnDisableWindowsUpdate);
			this.groupBoxWindowsUpdate.Location = new Point(223, 61);
			this.groupBoxWindowsUpdate.Name = "groupBoxWindowsUpdate";
			this.groupBoxWindowsUpdate.Size = new System.Drawing.Size(214, 80);
			this.groupBoxWindowsUpdate.TabIndex = 8;
			this.groupBoxWindowsUpdate.TabStop = false;
			this.groupBoxWindowsUpdate.Text = "Windows Update";
			this.btnEnableWindowsUpdate.BackColor = Color.Transparent;
			this.btnEnableWindowsUpdate.FlatStyle = FlatStyle.Flat;
			this.btnEnableWindowsUpdate.Location = new Point(6, 20);
			this.btnEnableWindowsUpdate.Name = "btnEnableWindowsUpdate";
			this.btnEnableWindowsUpdate.Size = new System.Drawing.Size(202, 23);
			this.btnEnableWindowsUpdate.TabIndex = 4;
			this.btnEnableWindowsUpdate.Text = "Enable Windows Update";
			this.btnEnableWindowsUpdate.UseVisualStyleBackColor = false;
			this.btnEnableWindowsUpdate.Click += new EventHandler(this.btnEnableWindowsUpdate_Click);
			this.btnDisableWindowsUpdate.BackColor = Color.Transparent;
			this.btnDisableWindowsUpdate.FlatStyle = FlatStyle.Flat;
			this.btnDisableWindowsUpdate.Location = new Point(6, 49);
			this.btnDisableWindowsUpdate.Name = "btnDisableWindowsUpdate";
			this.btnDisableWindowsUpdate.Size = new System.Drawing.Size(202, 23);
			this.btnDisableWindowsUpdate.TabIndex = 5;
			this.btnDisableWindowsUpdate.Text = "Disable Windows Update";
			this.btnDisableWindowsUpdate.UseVisualStyleBackColor = false;
			this.btnDisableWindowsUpdate.Click += new EventHandler(this.btnDisableWindowsUpdate_Click);
			this.groupBoxUACEdit.BackColor = Color.Transparent;
			this.groupBoxUACEdit.Controls.Add(this.btnEnableUac);
			this.groupBoxUACEdit.Controls.Add(this.btnDisableUac);
			this.groupBoxUACEdit.Location = new Point(8, 61);
			this.groupBoxUACEdit.Name = "groupBoxUACEdit";
			this.groupBoxUACEdit.Size = new System.Drawing.Size(214, 80);
			this.groupBoxUACEdit.TabIndex = 7;
			this.groupBoxUACEdit.TabStop = false;
			this.groupBoxUACEdit.Text = "UAC";
			this.btnEnableUac.BackColor = Color.Transparent;
			this.btnEnableUac.FlatStyle = FlatStyle.Flat;
			this.btnEnableUac.Location = new Point(6, 20);
			this.btnEnableUac.Name = "btnEnableUac";
			this.btnEnableUac.Size = new System.Drawing.Size(202, 23);
			this.btnEnableUac.TabIndex = 2;
			this.btnEnableUac.Text = "Enable UAC";
			this.btnEnableUac.UseVisualStyleBackColor = false;
			this.btnEnableUac.Click += new EventHandler(this.btnEnableUac_Click);
			this.btnDisableUac.BackColor = Color.Transparent;
			this.btnDisableUac.FlatStyle = FlatStyle.Flat;
			this.btnDisableUac.Location = new Point(6, 49);
			this.btnDisableUac.Name = "btnDisableUac";
			this.btnDisableUac.Size = new System.Drawing.Size(202, 23);
			this.btnDisableUac.TabIndex = 3;
			this.btnDisableUac.Text = "Disable UAC";
			this.btnDisableUac.UseVisualStyleBackColor = false;
			this.btnDisableUac.Click += new EventHandler(this.btnDisableUac_Click);
			this.btnOpenAndEditHosts.BackColor = Color.Transparent;
			this.btnOpenAndEditHosts.FlatStyle = FlatStyle.Flat;
			this.btnOpenAndEditHosts.Location = new Point(8, 3);
			this.btnOpenAndEditHosts.Name = "btnOpenAndEditHosts";
			this.btnOpenAndEditHosts.Size = new System.Drawing.Size(214, 23);
			this.btnOpenAndEditHosts.TabIndex = 6;
			this.btnOpenAndEditHosts.Text = "Open and edit HOSTS file";
			this.btnOpenAndEditHosts.UseVisualStyleBackColor = false;
			this.btnOpenAndEditHosts.Click += new EventHandler(this.btnOpenAndEditHosts_Click);
			this.btnRestoreSystem.BackColor = Color.Transparent;
			this.btnRestoreSystem.FlatStyle = FlatStyle.Flat;
			this.btnRestoreSystem.Location = new Point(223, 3);
			this.btnRestoreSystem.Name = "btnRestoreSystem";
			this.btnRestoreSystem.Size = new System.Drawing.Size(214, 23);
			this.btnRestoreSystem.TabIndex = 1;
			this.btnRestoreSystem.Text = "Restore System";
			this.btnRestoreSystem.UseVisualStyleBackColor = false;
			this.btnRestoreSystem.Click += new EventHandler(this.btnRestoreSystem_Click);
			this.btnDeleteAllWindows10Apps.BackColor = Color.Transparent;
			this.btnDeleteAllWindows10Apps.FlatStyle = FlatStyle.Flat;
			this.btnDeleteAllWindows10Apps.ForeColor = Color.Black;
			this.btnDeleteAllWindows10Apps.Location = new Point(8, 32);
			this.btnDeleteAllWindows10Apps.Name = "btnDeleteAllWindows10Apps";
			this.btnDeleteAllWindows10Apps.Size = new System.Drawing.Size(191, 23);
			this.btnDeleteAllWindows10Apps.TabIndex = 0;
			this.btnDeleteAllWindows10Apps.Text = "Delete all windows 10 metro apps";
			this.btnDeleteAllWindows10Apps.UseVisualStyleBackColor = false;
			this.btnDeleteAllWindows10Apps.Click += new EventHandler(this.btnDeleteAllWindows10Apps_Click);
			this.btnDisableOfficeUpdate.BackColor = Color.Transparent;
			this.btnDisableOfficeUpdate.BackgroundImage = Resources.warning;
			this.btnDisableOfficeUpdate.BackgroundImageLayout = ImageLayout.None;
			this.btnDisableOfficeUpdate.FlatStyle = FlatStyle.Flat;
			this.btnDisableOfficeUpdate.Location = new Point(14, 147);
			this.btnDisableOfficeUpdate.Name = "btnDisableOfficeUpdate";
			this.btnDisableOfficeUpdate.Size = new System.Drawing.Size(202, 23);
			this.btnDisableOfficeUpdate.TabIndex = 6;
			this.btnDisableOfficeUpdate.Text = "Disable Office 2016 Telemetry";
			this.btnDisableOfficeUpdate.UseVisualStyleBackColor = false;
			this.btnDisableOfficeUpdate.Click += new EventHandler(this.btnDisableOfficeUpdate_Click);
			this.tabPageAbout.BackColor = Color.White;
			this.tabPageAbout.BackgroundImageLayout = ImageLayout.Stretch;
			this.tabPageAbout.Controls.Add(this.label1);
			this.tabPageAbout.Controls.Add(this.textBox1);
			this.tabPageAbout.Controls.Add(this.linkLabelSourceCode);
			this.tabPageAbout.Controls.Add(this.linkLabel1);
			this.tabPageAbout.Controls.Add(this.groupBoxLanguage);
			this.tabPageAbout.Controls.Add(this.labelMoonInfo);
			this.tabPageAbout.Location = new Point(4, 22);
			this.tabPageAbout.Name = "tabPageAbout";
			this.tabPageAbout.Size = new System.Drawing.Size(445, 400);
			this.tabPageAbout.TabIndex = 3;
			this.tabPageAbout.Text = "About";
			this.label1.AutoSize = true;
			this.label1.Location = new Point(14, 78);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(64, 13);
			this.label1.TabIndex = 14;
			this.label1.Text = "Change Log";
			this.textBox1.Location = new Point(14, 97);
			this.textBox1.Multiline = true;
			this.textBox1.Name = "textBox1";
			this.textBox1.ReadOnly = true;
			this.textBox1.Size = new System.Drawing.Size(417, 258);
			this.textBox1.TabIndex = 13;
			this.textBox1.Text = "1.7.1 More fixes\r\n* fix WiFi work\r\n* fix code\r\n* fix DWS stopped working\r\n\r\n1.7 DWS support last win 10\r\n+ Fixes\r\n+ Support last Win 10 updates";
			this.linkLabelSourceCode.AutoSize = true;
			this.linkLabelSourceCode.BackColor = Color.Transparent;
			this.linkLabelSourceCode.LinkColor = Color.FromArgb(64, 64, 64);
			this.linkLabelSourceCode.Location = new Point(82, 380);
			this.linkLabelSourceCode.Name = "linkLabelSourceCode";
			this.linkLabelSourceCode.Size = new System.Drawing.Size(116, 13);
			this.linkLabelSourceCode.TabIndex = 8;
			this.linkLabelSourceCode.TabStop = true;
			this.linkLabelSourceCode.Text = "Source code on GitHub";
			this.linkLabelSourceCode.LinkClicked += new LinkLabelLinkClickedEventHandler(this.linkLabelSourceCode_LinkClicked);
			this.linkLabel1.AutoSize = true;
			this.linkLabel1.BackColor = Color.Transparent;
			this.linkLabel1.LinkColor = Color.FromArgb(64, 64, 64);
			this.linkLabel1.Location = new Point(11, 380);
			this.linkLabel1.Name = "linkLabel1";
			this.linkLabel1.Size = new System.Drawing.Size(66, 13);
			this.linkLabel1.TabIndex = 2;
			this.linkLabel1.TabStop = true;
			this.linkLabel1.Text = "@nummerok";
			this.linkLabel1.LinkClicked += new LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
			this.groupBoxLanguage.BackColor = Color.Transparent;
			this.groupBoxLanguage.Controls.Add(this.comboBoxLanguageSelect);
			this.groupBoxLanguage.Font = new System.Drawing.Font("Tahoma", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 204);
			this.groupBoxLanguage.ForeColor = Color.FromArgb(64, 64, 64);
			this.groupBoxLanguage.Location = new Point(8, 13);
			this.groupBoxLanguage.Name = "groupBoxLanguage";
			this.groupBoxLanguage.Size = new System.Drawing.Size(429, 54);
			this.groupBoxLanguage.TabIndex = 12;
			this.groupBoxLanguage.TabStop = false;
			this.groupBoxLanguage.Text = "Language\\Язык";
			this.comboBoxLanguageSelect.BackColor = Color.Gainsboro;
			this.comboBoxLanguageSelect.DropDownStyle = ComboBoxStyle.DropDownList;
			this.comboBoxLanguageSelect.FlatStyle = FlatStyle.Flat;
			this.comboBoxLanguageSelect.FormattingEnabled = true;
			this.comboBoxLanguageSelect.Items.AddRange(new object[] { "ar-LY | Arabic", "cs-CZ | Czech", "de-DE | German", "en-US | English", "es-ES | Spanish", "fa-IR | Persian", "fr-FR | French", "it-CH | Italian", "ja-JP | 日本語", "lt-LT | Lithuanian", "nl-NL | Dutch", "pl-PL | Polish", "pt-BR | Portuguese", "ru-RU | Русский", "tr-TR | Turkish", "uk-UA | Українська", "zh-CN | 中文(简体)" });
			this.comboBoxLanguageSelect.Location = new Point(6, 20);
			this.comboBoxLanguageSelect.Name = "comboBoxLanguageSelect";
			this.comboBoxLanguageSelect.Size = new System.Drawing.Size(417, 21);
			this.comboBoxLanguageSelect.TabIndex = 0;
			this.comboBoxLanguageSelect.SelectedIndexChanged += new EventHandler(this.comboBoxLanguageSelect_SelectedIndexChanged);
			this.labelMoonInfo.BackColor = Color.Transparent;
			this.labelMoonInfo.Font = new System.Drawing.Font("Tahoma", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 204);
			this.labelMoonInfo.ForeColor = Color.White;
			this.labelMoonInfo.Location = new Point(173, 0);
			this.labelMoonInfo.Name = "labelMoonInfo";
			this.labelMoonInfo.Size = new System.Drawing.Size(272, 33);
			this.labelMoonInfo.TabIndex = 6;
			this.labelMoonInfo.Text = "Сделано на другой стороне луны ®";
			this.labelMoonInfo.TextAlign = ContentAlignment.TopRight;
			this.tabPageReadMe.Controls.Add(this.ReadmeRichTextBox);
			this.tabPageReadMe.Location = new Point(4, 22);
			this.tabPageReadMe.Name = "tabPageReadMe";
			this.tabPageReadMe.Size = new System.Drawing.Size(445, 400);
			this.tabPageReadMe.TabIndex = 4;
			this.tabPageReadMe.Text = "ReadME";
			this.tabPageReadMe.UseVisualStyleBackColor = true;
			this.ReadmeRichTextBox.BackColor = Color.White;
			this.ReadmeRichTextBox.BorderStyle = BorderStyle.None;
			this.ReadmeRichTextBox.Dock = DockStyle.Fill;
			this.ReadmeRichTextBox.Location = new Point(0, 0);
			this.ReadmeRichTextBox.Name = "ReadmeRichTextBox";
			this.ReadmeRichTextBox.ReadOnly = true;
			this.ReadmeRichTextBox.Size = new System.Drawing.Size(445, 400);
			this.ReadmeRichTextBox.TabIndex = 0;
			this.ReadmeRichTextBox.Text = "";
			this.CaptionWindow.Cursor = Cursors.Arrow;
			this.CaptionWindow.Dock = DockStyle.Top;
			this.CaptionWindow.Font = new System.Drawing.Font("Tahoma", 12f, FontStyle.Regular, GraphicsUnit.Point, 204);
			this.CaptionWindow.ForeColor = Color.FromArgb(64, 64, 64);
			this.CaptionWindow.ImageAlign = ContentAlignment.MiddleLeft;
			this.CaptionWindow.Location = new Point(0, 0);
			this.CaptionWindow.Name = "CaptionWindow";
			this.CaptionWindow.Size = new System.Drawing.Size(453, 28);
			this.CaptionWindow.TabIndex = 1;
			this.CaptionWindow.Text = "DWS Title (include form title)";
			this.CaptionWindow.TextAlign = ContentAlignment.MiddleLeft;
			this.CaptionWindow.Click += new EventHandler(this.CaptionWindow_Click);
			this.CaptionWindow.Paint += new PaintEventHandler(this.CaptionWindow_Paint);
			this.CaptionWindow.MouseDown += new MouseEventHandler(this.CaptionWindow_MouseDown);
			this.BorderLeft.BackColor = Color.Cyan;
			this.BorderLeft.Location = new Point(0, -8);
			this.BorderLeft.Name = "BorderLeft";
			this.BorderLeft.Size = new System.Drawing.Size(1, 500);
			this.BorderLeft.TabIndex = 6;
			this.BorderLeft.TabStop = false;
			this.BorderDown.BackColor = Color.Cyan;
			this.BorderDown.Location = new Point(-14, 456);
			this.BorderDown.Name = "BorderDown";
			this.BorderDown.Size = new System.Drawing.Size(480, 1);
			this.BorderDown.TabIndex = 5;
			this.BorderDown.TabStop = false;
			this.BorderR.BackColor = Color.Cyan;
			this.BorderR.Location = new Point(452, -22);
			this.BorderR.Name = "BorderR";
			this.BorderR.Size = new System.Drawing.Size(1, 500);
			this.BorderR.TabIndex = 7;
			this.BorderR.TabStop = false;
			this.BorderUP.BackColor = Color.Cyan;
			this.BorderUP.Location = new Point(-7, 0);
			this.BorderUP.Name = "BorderUP";
			this.BorderUP.Size = new System.Drawing.Size(480, 1);
			this.BorderUP.TabIndex = 4;
			this.BorderUP.TabStop = false;
			this.MinimizeButton.BackgroundImageLayout = ImageLayout.None;
			this.MinimizeButton.Cursor = Cursors.Arrow;
			this.MinimizeButton.Location = new Point(395, 1);
			this.MinimizeButton.Name = "MinimizeButton";
			this.MinimizeButton.Size = new System.Drawing.Size(29, 29);
			this.MinimizeButton.TabIndex = 3;
			this.MinimizeButton.TabStop = false;
			this.MinimizeButton.Click += new EventHandler(this.MinimizeButton_Click);
			this.MinimizeButton.Paint += new PaintEventHandler(this.MinimizeButton_Paint);
			this.MinimizeButton.MouseDown += new MouseEventHandler(this.MinimizeButton_MouseDown);
			this.MinimizeButton.MouseEnter += new EventHandler(this.MinimizeButton_MouseEnter);
			this.MinimizeButton.MouseLeave += new EventHandler(this.MinimizeButton_MouseLeave);
			this._CloseButton.BackColor = Color.White;
			this._CloseButton.BackgroundImageLayout = ImageLayout.None;
			this._CloseButton.Cursor = Cursors.Arrow;
			this._CloseButton.Location = new Point(423, 1);
			this._CloseButton.Name = "_CloseButton";
			this._CloseButton.Size = new System.Drawing.Size(29, 29);
			this._CloseButton.TabIndex = 2;
			this._CloseButton.TabStop = false;
			this._CloseButton.Click += new EventHandler(this.CloseButton_Click);
			this._CloseButton.Paint += new PaintEventHandler(this.CloseButton_Paint);
			this._CloseButton.MouseDown += new MouseEventHandler(this.CloseButton_MouseDown);
			this._CloseButton.MouseEnter += new EventHandler(this.CloseButton_MouseEnter);
			this._CloseButton.MouseLeave += new EventHandler(this.CloseButton_MouseLeave);
			base.AutoScaleDimensions = new SizeF(6f, 13f);
			base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.BackColor = Color.White;
			base.ClientSize = new System.Drawing.Size(453, 457);
			base.Controls.Add(this.BorderLeft);
			base.Controls.Add(this.BorderDown);
			base.Controls.Add(this.BorderR);
			base.Controls.Add(this.BorderUP);
			base.Controls.Add(this.MinimizeButton);
			base.Controls.Add(this._CloseButton);
			base.Controls.Add(this.CaptionWindow);
			base.Controls.Add(this.FormTabsControl);
			this.DoubleBuffered = true;
			this.Font = new System.Drawing.Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 204);
			base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
			base.MaximizeBox = false;
			base.Name = "MainDwsForm";
			base.StartPosition = FormStartPosition.CenterScreen;
			this.Text = "       DWS ";
			base.TransparencyKey = Color.Magenta;
			base.Activated += new EventHandler(this.DestroyWindowsSpyingMainForm_Activated);
			base.Deactivate += new EventHandler(this.DestroyWindowsSpyingMainForm_Deactivate);
			base.FormClosing += new FormClosingEventHandler(this.DestroyWindowsSpyingMainForm_FormClosing);
			base.FormClosed += new FormClosedEventHandler(this.DestroyWindowsSpyingMainForm_FormClosed);
			this.FormTabsControl.ResumeLayout(false);
			this.tabPageMain.ResumeLayout(false);
			this.tabPageSettings.ResumeLayout(false);
			this.tabPageSettings.PerformLayout();
			this.Windows78Panel.ResumeLayout(false);
			this.Windows78Panel.PerformLayout();
			this.Win10SettingsPanel.ResumeLayout(false);
			this.Win10SettingsPanel.PerformLayout();
			this.tabPageUtilites.ResumeLayout(false);
			this.groupBoxWindowsUpdate.ResumeLayout(false);
			this.groupBoxUACEdit.ResumeLayout(false);
			this.tabPageAbout.ResumeLayout(false);
			this.tabPageAbout.PerformLayout();
			this.groupBoxLanguage.ResumeLayout(false);
			this.tabPageReadMe.ResumeLayout(false);
			((ISupportInitialize)this.BorderLeft).EndInit();
			((ISupportInitialize)this.BorderDown).EndInit();
			((ISupportInitialize)this.BorderR).EndInit();
			((ISupportInitialize)this.BorderUP).EndInit();
			((ISupportInitialize)this.MinimizeButton).EndInit();
			((ISupportInitialize)this._CloseButton).EndInit();
			base.ResumeLayout(false);
		}

		private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
		{
			Process.Start("https://goo.gl/EpFSzj");
		}

		private void linkLabelSourceCode_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
		{
			Process.Start("https://github.com/Nummer/Destroy-Windows-10-Spying");
		}

		private void LogOutputTextBox_TextChanged(object sender, EventArgs e)
		{
			this.LogOutputTextBox.SelectionStart = this.LogOutputTextBox.Text.Length;
			this.LogOutputTextBox.ScrollToCaret();
		}

		private void MinimizeButton_Click(object sender, EventArgs e)
		{
			base.WindowState = FormWindowState.Minimized;
		}

		private void MinimizeButton_MouseDown(object sender, MouseEventArgs e)
		{
			this._minimizeButtonState = 1;
			this.MinimizeButton.Refresh();
			this.MinimizeButton.BackColor = Color.CornflowerBlue;
		}

		private void MinimizeButton_MouseEnter(object sender, EventArgs e)
		{
			this._minimizeButtonState = 2;
			this.MinimizeButton.Refresh();
			this.MinimizeButton.BackColor = Color.Azure;
		}

		private void MinimizeButton_MouseLeave(object sender, EventArgs e)
		{
			this._minimizeButtonState = 0;
			this.MinimizeButton.Refresh();
			this.MinimizeButton.BackColor = Color.White;
		}

		private void MinimizeButton_Paint(object sender, PaintEventArgs e)
		{
			Bitmap bitmap;
			if (this._minimizeButtonState == 0)
			{
				bitmap = Resources.minimize;
			}
			else
			{
				bitmap = (this._minimizeButtonState == 1 ? Resources.minimize1 : Resources.minimize2);
			}
			Bitmap bitmap1 = bitmap;
			e.Graphics.DrawImage(bitmap1, this.MinimizeButton.Width - Resources.minimize.Width - 5, this.MinimizeButton.Height - Resources.minimize.Height - 7);
		}

		protected override void OnShown(EventArgs e)
		{
			base.OnShown(e);
			if (WindowsUtil.SystemRestore_Status() == 0)
			{
				this._OutPut("Windows Restore DISABLE", MainDwsForm.LogLevel.Warning);
			}
		}

		private void OutPutSplitInvoke()
		{
			string str = string.Format("=========================={0}", Environment.NewLine);
			File.WriteAllText("DWS.log", string.Concat(File.ReadAllText("DWS.log"), str));
			RichTextBox logOutputTextBox = this.LogOutputTextBox;
			logOutputTextBox.Text = string.Concat(logOutputTextBox.Text, str);
		}

		private void ProcStartargs(string name, string args)
		{
			try
			{
				Process process = new Process()
				{
					StartInfo = new ProcessStartInfo()
					{
						FileName = name,
						Arguments = args,
						UseShellExecute = false,
						RedirectStandardOutput = true,
						CreateNoWindow = true,
						StandardOutputEncoding = Encoding.GetEncoding(866)
					}
				};
				process.Start();
				string str = null;
				while (!process.StandardOutput.EndOfStream)
				{
					str = string.Concat(str, Environment.NewLine, process.StandardOutput.ReadLine());
				}
				process.WaitForExit();
				this._OutPut(string.Format("Start: {0} {1}{2}Output: {3}", new object[] { name, args, Environment.NewLine, str }), MainDwsForm.LogLevel.Debug);
			}
			catch (Exception exception1)
			{
				Exception exception = exception1;
				this._OutPut(string.Format("Error start prog {0} {1}", name, args), MainDwsForm.LogLevel.Error);
				this._OutPut(exception.Message, MainDwsForm.LogLevel.Debug);
				this._fatalErrors++;
				this._errorsList.Add(string.Format("Error start prog {0} {1}", name, args));
			}
		}

		private void ProfessionalModeSet(bool enableordisable)
		{
			this.checkBoxKeyLoggerAndTelemetry.Enabled = enableordisable;
			this.checkBoxAddToHosts.Enabled = enableordisable;
			this.checkBoxAddToHosts78.Enabled = enableordisable;
			this.checkBoxDisablePrivateSettings.Enabled = enableordisable;
			this.checkBoxDisableWindowsDefender.Enabled = enableordisable;
			this.checkBoxSetDefaultPhoto.Enabled = enableordisable;
			this.checkBoxSPYTasks.Enabled = enableordisable;
			this.checkBoxSPYTasks78.Enabled = enableordisable;
			this.checkBoxDeleteWindows78Updates.Enabled = enableordisable;
			this.checkBoxDeleteGWX.Enabled = enableordisable;
			this.btnDeleteAllWindows10Apps.Enabled = this._win10 & enableordisable;
			this.groupBoxUACEdit.Enabled = enableordisable;
			this.btnDeleteMetroAppsInfo.Enabled = enableordisable;
			this.btnDeleteOneDrive.Enabled = enableordisable;
			this.checkBoxDelKeyloggerTW78.Enabled = enableordisable;
			this.checkedListBoxUpdatesW78.Enabled = (!enableordisable ? false : this.checkBoxDeleteWindows78Updates.Checked);
			if (WindowsUtil.SystemRestore_Status() != 0)
			{
				this.checkBoxCreateSystemRestorePoint.Enabled = enableordisable;
				return;
			}
			this.checkBoxCreateSystemRestorePoint.Checked = false;
			this.checkBoxCreateSystemRestorePoint.Enabled = false;
		}

		private void Progressbaradd(int numberadd)
		{
			try
			{
				base.Invoke(new MethodInvoker(() => {
					try
					{
						ProgressBar progressBarStatus = this.ProgressBarStatus;
						progressBarStatus.Value = progressBarStatus.Value + numberadd;
					}
					catch (Exception exception)
					{
					}
				}));
			}
			catch (Exception exception2)
			{
				try
				{
					ProgressBar value = this.ProgressBarStatus;
					value.Value = value.Value + numberadd;
				}
				catch (Exception exception1)
				{
				}
			}
		}

		public static Color Rainbow(float progress)
		{
			float single = Math.Abs(progress % 1f) * 6f;
			int num = (int)(single % 1f * 255f);
			int num1 = 255 - num;
			switch ((int)single)
			{
				case 0:
				{
					return Color.FromArgb(255, 255, num, 0);
				}
				case 1:
				{
					return Color.FromArgb(255, num1, 255, 0);
				}
				case 2:
				{
					return Color.FromArgb(255, 0, 255, num);
				}
				case 3:
				{
					return Color.FromArgb(255, 0, num1, 255);
				}
				case 4:
				{
					return Color.FromArgb(255, num, 0, 255);
				}
			}
			return Color.FromArgb(255, 255, 0, num1);
		}

		public void RecreateLogFile(string logfilename)
		{
			try
			{
				if (File.Exists(logfilename))
				{
					File.Delete(logfilename);
					File.Create(logfilename).Close();
				}
				else
				{
					File.Create(logfilename).Close();
				}
			}
			catch (Exception exception)
			{
				this._OutPut(exception.Message, MainDwsForm.LogLevel.Debug);
			}
		}

		[DllImport("user32.dll", CharSet=CharSet.None, ExactSpelling=false)]
		public static extern bool ReleaseCapture();

		private void RemoveWindows10Apps()
		{
			if (this.checkBoxDeleteApp3d.Checked)
			{
				this.DeleteWindows10MetroApp("3d");
				this._OutPut("Delete builder 3D", MainDwsForm.LogLevel.Info);
			}
			if (this.checkBoxDeleteAppCamera.Checked)
			{
				this.DeleteWindows10MetroApp("camera");
				this._OutPut("Delete Camera", MainDwsForm.LogLevel.Info);
			}
			if (this.checkBoxDeleteMailCalendarMaps.Checked)
			{
				this.DeleteWindows10MetroApp("communi");
				this.DeleteWindows10MetroApp("maps");
				this._OutPut("Delete Mail, Calendar, Maps", MainDwsForm.LogLevel.Info);
			}
			if (this.checkBoxDeleteAppBing.Checked)
			{
				this.DeleteWindows10MetroApp("bing");
				this._OutPut("Delete Money, Sports, News and Weather", MainDwsForm.LogLevel.Info);
			}
			if (this.checkBoxDeleteAppZune.Checked)
			{
				this.DeleteWindows10MetroApp("zune");
				this._OutPut("Delete Groove Music and Film TV", MainDwsForm.LogLevel.Info);
			}
			if (this.checkBoxDeleteAppPeopleOneNote.Checked)
			{
				this.DeleteWindows10MetroApp("people");
				this.DeleteWindows10MetroApp("note");
				this._OutPut("Delete People and OneNote", MainDwsForm.LogLevel.Info);
			}
			if (this.checkBoxDeleteAppPhone.Checked)
			{
				this.DeleteWindows10MetroApp("phone");
				this._OutPut("Delete Phone Companion", MainDwsForm.LogLevel.Info);
			}
			if (this.checkBoxDeleteAppPhotos.Checked)
			{
				this.DeleteWindows10MetroApp("photo");
				this._OutPut("Delete Photos", MainDwsForm.LogLevel.Info);
			}
			if (this.checkBoxDeleteAppSolit.Checked)
			{
				this.DeleteWindows10MetroApp("solit");
				this._OutPut("Delete Solitaire Collection", MainDwsForm.LogLevel.Info);
			}
			if (this.checkBoxDeleteAppVoice.Checked)
			{
				this.DeleteWindows10MetroApp("soundrec");
				this._OutPut("Delete Voice Recorder", MainDwsForm.LogLevel.Info);
			}
			if (this.checkBoxDeleteAppXBOX.Checked)
			{
				this.DeleteWindows10MetroApp("xbox");
				this._OutPut("Delete XBOX", MainDwsForm.LogLevel.Info);
			}
		}

		public void RunCmd(string args)
		{
			this.ProcStartargs(Paths.ShellCmdLocation, args);
		}

		[DllImport("user32.dll", CharSet=CharSet.None, ExactSpelling=false)]
		public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);

		private void SetCompleteText(bool start = false)
		{
			if (this._destroyFlag)
			{
				return;
			}
			if (start)
			{
				this.StatusCommandsLable.Text = "Destroy Windows 10 Spying";
				this.StatusCommandsLable.ForeColor = Color.Black;
				return;
			}
			if (this._fatalErrors == 0)
			{
				this.StatusCommandsLable.Text = string.Format(Resources.MainDwsForm_SetCompleteText_Destroy_Windows_10_Spying____0__, this.GetTranslateText("Complete"));
				this.StatusCommandsLable.ForeColor = Color.DarkGreen;
				if (MessageBox.Show(this.GetTranslateText("CompleteMSG"), this.GetTranslateText("Info"), MessageBoxButtons.YesNo, MessageBoxIcon.Question) != System.Windows.Forms.DialogResult.Yes)
				{
					return;
				}
				Process.Start("shutdown.exe", "-r -t 0");
				Process.GetCurrentProcess().Kill();
				return;
			}
			this.StatusCommandsLable.Text = string.Format(Resources.MainDwsForm_SetCompleteText_Destroy_Windows_10_Spying___errors___0_, this._fatalErrors);
			this.StatusCommandsLable.ForeColor = Color.Red;
			try
			{
				string str = this._errorsList.Aggregate<string, string>(null, (string current, string errorMsg) => string.Concat(current, errorMsg, "\r\n"));
				string str1 = string.Concat(Path.GetTempPath(), "\\errors.log");
				File.Create(str1).Close();
				File.WriteAllText(str1, str);
				Process.Start(str1);
			}
			catch
			{
			}
			if (MessageBox.Show(string.Format(this.GetTranslateText("ErrorMSG"), this._fatalErrors), this.GetTranslateText("Info"), MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) != System.Windows.Forms.DialogResult.Yes)
			{
				return;
			}
			Process.Start("shutdown.exe", "-r -t 0");
			Process.GetCurrentProcess().Kill();
		}

		private void SetLanguage(string currentlang = null)
		{
			if (currentlang == null)
			{
				currentlang = CultureInfo.CurrentUICulture.Name.ToLower();
			}
			if (currentlang.IndexOf("ru", StringComparison.Ordinal) > -1)
			{
				this._rm = ru_RU.ResourceManager;
				this.comboBoxLanguageSelect.Text = "ru-RU | Русский";
				return;
			}
			if (currentlang.IndexOf("fa", StringComparison.Ordinal) > -1)
			{
				this._rm = fr_FR.ResourceManager;
				this.comboBoxLanguageSelect.Text = "fa-IR | Persian";
				return;
			}
			if (currentlang.IndexOf("fr", StringComparison.Ordinal) > -1)
			{
				this._rm = fr_FR.ResourceManager;
				this.comboBoxLanguageSelect.Text = "fr-FR | French";
				return;
			}
			if (currentlang.IndexOf("es", StringComparison.Ordinal) > -1)
			{
				this._rm = es_ES.ResourceManager;
				this.comboBoxLanguageSelect.Text = "es-ES | Spanish";
				return;
			}
			if (currentlang.IndexOf("pt", StringComparison.Ordinal) > -1)
			{
				this._rm = pt_BR.ResourceManager;
				this.comboBoxLanguageSelect.Text = "pt-BR | Portuguese";
				return;
			}
			if (currentlang.IndexOf("de", StringComparison.Ordinal) > -1)
			{
				this._rm = de_DE.ResourceManager;
				this.comboBoxLanguageSelect.Text = "de-DE | German";
				return;
			}
			if (currentlang.IndexOf("pl", StringComparison.Ordinal) > -1)
			{
				this._rm = pl_PL.ResourceManager;
				this.comboBoxLanguageSelect.Text = "pl-PL | Polish";
				return;
			}
			if (currentlang.IndexOf("it", StringComparison.Ordinal) > -1)
			{
				this._rm = it_IT.ResourceManager;
				this.comboBoxLanguageSelect.Text = "it-CH | Italian";
				return;
			}
			if (currentlang.IndexOf("cs", StringComparison.Ordinal) > -1)
			{
				this._rm = cs_CZ.ResourceManager;
				this.comboBoxLanguageSelect.Text = "cs-CZ | Czech";
				return;
			}
			if (currentlang.IndexOf("cn", StringComparison.Ordinal) > -1)
			{
				this._rm = zh_CN.ResourceManager;
				this.comboBoxLanguageSelect.Text = "zh-CN | 中文(简体)";
				return;
			}
			if (currentlang.IndexOf("tr", StringComparison.Ordinal) > -1)
			{
				this._rm = tr_TR.ResourceManager;
				this.comboBoxLanguageSelect.Text = "tr-TR | Turkish";
				return;
			}
			if (currentlang.IndexOf("ar", StringComparison.Ordinal) > -1)
			{
				this._rm = ar_LY.ResourceManager;
				this.comboBoxLanguageSelect.Text = "ar-LY | Arabic";
				return;
			}
			if (currentlang.IndexOf("nl", StringComparison.Ordinal) > -1)
			{
				this._rm = nl_NL.ResourceManager;
				this.comboBoxLanguageSelect.Text = "nl-NL | Dutch";
				return;
			}
			if (currentlang.IndexOf("UA", StringComparison.Ordinal) > -1)
			{
				this._rm = uk_UA.ResourceManager;
				this.comboBoxLanguageSelect.Text = "uk-UA | Українська";
				return;
			}
			if (currentlang.IndexOf("lt", StringComparison.Ordinal) > -1)
			{
				this._rm = lt_LT.ResourceManager;
				this.comboBoxLanguageSelect.Text = "lt-LT | Lithuanian";
				return;
			}
			if (currentlang.IndexOf("ja", StringComparison.Ordinal) > -1)
			{
				this._rm = ja_JP.ResourceManager;
				this.comboBoxLanguageSelect.Text = "ja-JP | 日本語";
				return;
			}
			this._rm = en_US.ResourceManager;
			this.comboBoxLanguageSelect.Text = "en-US | English";
		}

		private void SetRegValueHkcu(string regkeyfolder, string paramname, string paramvalue, RegistryValueKind keytype)
		{
			RegistryKey registryKey = Registry.CurrentUser.CreateSubKey(regkeyfolder);
			if (registryKey != null)
			{
				registryKey.Close();
			}
			else
			{
			}
			RegistryKey registryKey1 = Registry.CurrentUser.OpenSubKey(regkeyfolder, RegistryKeyPermissionCheck.ReadWriteSubTree, RegistryRights.FullControl);
			try
			{
				if (registryKey1 != null)
				{
					registryKey1.SetValue(paramname, paramvalue, keytype);
				}
			}
			catch (Exception exception1)
			{
				Exception exception = exception1;
				this._fatalErrors++;
				this._errorsList.Add(string.Format("Error SetRegValueHkcu. Message: {0}", exception.Message));
				this._OutPut(string.Format("{0}: {1}", this.GetTranslateText("Error"), exception.Message), MainDwsForm.LogLevel.Error);
			}
			if (registryKey1 != null)
			{
				registryKey1.Close();
			}
		}

		private void SetRegValueHklm(string regkeyfolder, string paramname, string paramvalue, RegistryValueKind keytype)
		{
			RegistryKey registryKey = Registry.LocalMachine.CreateSubKey(regkeyfolder);
			if (registryKey != null)
			{
				registryKey.Close();
			}
			else
			{
			}
			RegistryKey registryKey1 = Registry.LocalMachine.OpenSubKey(regkeyfolder, RegistryKeyPermissionCheck.ReadWriteSubTree, RegistryRights.FullControl);
			try
			{
				if (registryKey1 != null)
				{
					registryKey1.SetValue(paramname, paramvalue, keytype);
				}
			}
			catch (Exception exception1)
			{
				Exception exception = exception1;
				this._fatalErrors++;
				this._errorsList.Add(string.Format("Error SetRegValueHklm. Message: {0}", exception.Message));
				this._OutPut(string.Format("{0}: {1}", this.GetTranslateText("Error"), exception.Message), MainDwsForm.LogLevel.Error);
			}
			if (registryKey1 != null)
			{
				registryKey1.Close();
			}
		}

		private void StartDestroyWindowsSpying()
		{
			this._errorsList.Clear();
			this._fatalErrors = 0;
			this.EnableOrDisableTab(false);
			this.SetCompleteText(true);
			this._OutPut(string.Format("Starting: {0}.", DateTime.Now), MainDwsForm.LogLevel.Info);
			this._OutPut(MainDwsForm.GetWindowsBuildVersion(), MainDwsForm.LogLevel.Info);
			this._OutPutSplit();
			this.ProgressBarStatus.Value = 0;
			(new Thread(new ThreadStart(this.DestroyWindowsSpyingMainThread))).Start();
		}

		private void StealthMode(IEnumerable<string> args)
		{
			string[] strArrays = args as string[] ?? args.ToArray<string>();
			string[] strArrays1 = strArrays;
			for (int i = 0; i < (int)strArrays1.Length; i++)
			{
				string str = strArrays1[i];
				if (str.IndexOf("/deleteapp=", StringComparison.Ordinal) > -1)
				{
					this.DeleteWindows10MetroApp(str.Replace("/deleteapp=", null));
				}
				if (str.IndexOf("/destroy", StringComparison.Ordinal) > -1)
				{
					base.WindowState = FormWindowState.Minimized;
					base.ShowInTaskbar = false;
					this._destroyFlag = true;
					if (!this._win10)
					{
						this.Dws78MainThread();
					}
					else
					{
						this.DestroyWindowsSpyingMainThread();
					}
				}
				if (str.IndexOf("/deleteonedrive", StringComparison.Ordinal) > -1)
				{
					this.DeleteOneDrive();
				}
			}
			if (strArrays.Any<string>())
			{
				Process.GetCurrentProcess().Kill();
			}
		}

		public static byte[] StringToByteArray(string hex)
		{
			return (
				from x in Enumerable.Range(0, hex.Length)
				where x % 2 == 0
				select Convert.ToByte(hex.Substring(x, 2), 16)).ToArray<byte>();
		}

		private enum LogLevel
		{
			Info,
			Warning,
			Error,
			FatalError,
			Debug
		}
	}
}

 

 

  • Like 1

Share this post


Link to post
Share on other sites
53 минуты назад, испанский_летчик пишет:

Я специально для Вас DWS декомпильнул, т.к. репозиторий на гитхабе майки, завладев последним, прикрыли. Можете найти для себя много интересного.

Ориентируйтесь на SetRegValueHklm и RunCmd.

Дякую. Интересно. Но я порядок у себя в 10-ке уже навёл и разобрался с ней что к чему, для меня достаточно и устравает то что получилось в результате, а это чистый английский интерфейс, без антивиря, с минимумом телеметрии, ненужных процессов, автозагрузок, обновлялок и служб, под моим полным контролем и доступом, всё ставится и работает без проблем и как надо. Потому далее просто эксплатация её работы.

Edited by KAI31

Share this post


Link to post
Share on other sites

Не скажу, что винь 10 плохо работает, но некоторые проблемы все же были. Пару лет назад отваливалась лицензия например. По интерфейсу частенько затыки. Например пуск не открывается или если долго не перегружать анимация подтупливает(это уже в весенней редакции было). Ну и как-то некрасиво гибрид старых стандартных стандартных программ и новых(имею ввиду новых винь10 стайл и старх вин7стайл). Если в новой версии чего-то нет, лезешь в старую. Да, постепенно выкашывают, но блин, вышла в 2015, щас 1019.

Весь этот букет напрягает. В итоге, поскольку набор нужного мне софта существует на линь, перелез на него. И ничем он меня не задалбывает, простой как калькулятор.

Share this post


Link to post
Share on other sites

Ребята, подскажите, а может ли быть как-то между собой связан БИОС - Вин 10 - Prepar 3D v4, если система относительно старенькая?

Мама: ASUS P8Z77-M Pro

Проц: i-5 3570K (разгон до 4.3)

Видео: 1080Ti

Проблема в том, что с переходом на Вин 10, Препар не хочет работать. Закрывается, или при загрузке в порту, или при нескольких минутах полёта. При чём, лога об ошибки нет.

Из наворотов были только ОРВХы. Настройки средние. В семёрке всё работало стабильно.

На офсайте ASUS скачал и установил все дрова под 10-ку. Но было там и "Обновить БИОС". Но, по рекомендации друга: Если не знаешь как, то лучше этого не делать, я не рискнул переустановить.

Пришлось вернуться на семёрку....

Edited by Stromer

Share this post


Link to post
Share on other sites
В 29.09.2019 в 20:45, Romchique пишет:

Раньше был штат тестировщиков, сейчас штат расформировали, отлов багов частично переложили на телеметрийный метод.

Оптимизация. Видимо это общемировая тенденция, а не только у нас. Везде оптимизация и тотальное снижение качества всей продукции.

Share this post


Link to post
Share on other sites
10 минут назад, Stromer пишет:

Ребята, подскажите, а может ли быть как-то между собой связан БИОС - Вин 10 - Prepar 3D v4, если система относительно старенькая?

У меня аналогичная система.   Все тоже самое, только материнская плата не Pro (P8Z77V-LK, i5 3570K). Стоит 10-ка. Все отлично работает. И Препар и сама десятка, и все продукты.

Может Препар встал криво или ORBX?

Share this post


Link to post
Share on other sites
15 минут назад, Stromer пишет:

Ребята, подскажите, а может ли быть как-то между собой связан БИОС - Вин 10 - Prepar 3D v4, если система относительно старенькая?

Мама: ASUS P8Z77-M Pro

Проц: i-5 3570K (разгон до 4.3)

Видео: 1080Ti

Проблема в том, что с переходом на Вин 10, Препар не хочет работать. Закрывается, или при загрузке в порту, или при нескольких минутах полёта. При чём, лога об ошибки нет.

Из наворотов были только ОРВХы. Настройки средние. В семёрке всё работало стабильно.

На офсайте ASUS скачал и установил все дрова под 10-ку. Но было там и "Обновить БИОС". Но, по рекомендации друга: Если не знаешь как, то лучше этого не делать, я не рискнул переустановить.

Пришлось вернуться на семёрку....

Смотрите какую карту выбрал Р3Dдля эксплуатации, если интел, то в панели управления NV установить приоритет Nvidia адаптера в использовании приложением. 

Или криво встало что-то из дополнений. Посмотрите в ошибках виндовс логи ошибок и сбоев самостоятельно. 

Обновить биос не проблема самому или обратиться в сервис чтобы они произвели обновление и настройку. Я часто делал это через Тимвивер и дискорд давая чёткие инструкции по перепрошивке Биоса, темболее с с офсайта он идёт в экзешнике и это абсолютно не составляет проблемы..

Edited by KAI31
  • Upvote 1

Share this post


Link to post
Share on other sites
15 минут назад, KAI31 пишет:

Смотрите какую карту выбрал Р3Dдля эксплуатации, если интел, то в панели управления NV установить приоритет Nvidia адаптера в использовании приложением. 

Обновить биос не проблема самому или обратиться в сервис чтобы они произвели обновление и настройку. Я часто делал это через Тимвивер и дискорд давая чёткие инструкции по перепрошивке Биоса, темболее с с офсайта он идёт в экзешнике и это абсолютно не составляет проблемы..

Видео карту Препар выбрал 1080, если я правильно понял о чём речь.

В данную минуту, я уже установил 7-ку. Но вновь установить 10-ку, дело одного часа, а то и меньше. Целую неделю тренировался....   )

Скажи пожалуйста, если что, сможешь помочь?

Edited by Stromer

Share this post


Link to post
Share on other sites

А, и ещё, в 10-ке с одним из девайсов у меня начались небольшие проблемки.

Дело в том, что у меня штурвал - переделка от ВКБ. Там только три оси. Но Винда, причём только Десятая (а может и семёрка, только я не обращал внимание), нашла четвёртую ось, которая дергается как хрен знает что и не позволяет нормально настроить оси в СУПИКС. Приходится отключать девайс.

Edited by Stromer

Share this post


Link to post
Share on other sites
16 минут назад, Stromer пишет:

Видео карту Препар выбрал 1080, если я правильно понял.

В данную минуту, я уже установил 7-ку. Но вновь установить 10-ку, дело одного часа, а то и меньше. Целую неделю тренировался....   )

Скажи пожалуйста, если что, сможешь помочь?

Посмотрите в каком установщике запакован биос с офсайта и прочитайте инструкцию, возможно есть отдельно фирменная утилита его прошивки на офсайте и там же можно найти дрова и рекомендации по установке Вин-10 на вашу материнку. У самого АSUS z370 с десяткой нет никаких проблем. И ещё вопрос, сколько оперативки в системе?

Edited by KAI31
  • Upvote 1

Share this post


Link to post
Share on other sites
1 минуту назад, KAI31 пишет:

И ещё вопрос, сколько оперативки в системе?

16 гектар

Share this post


Link to post
Share on other sites
Только что, Stromer пишет:

16 гектар

Это хорошо. Скорей всего мне кажется что-то криво встало в препаре, или сам сим или дополнения или библиотеки. В логе виндовс должно было быть что-то, но это не выяснить сейчас, увы

Share this post


Link to post
Share on other sites
10 минут назад, KAI31 пишет:

возможно есть отдельно фирменная утилита его прошивки на офсайте

Есть утилита в комплекте, даже если не ошибаюсь она на диске с материнкой шла - AI Suite II. Там есть раздел - Обновления. И в нем есть кнопка "обновить БИОС". Через нее все отлично обновляется, никаких проблем. Нет ничего проще - поставил утилиту, нажал одну кнопку и все обновилось.

bios.jpg.2b5917c9ac7405a553c3f82fbce5fbf0.jpg

Edited by Kraftig
  • Like 2

Share this post


Link to post
Share on other sites
1 минуту назад, Kraftig пишет:

Есть утилита в комплекте, даже если не ошибаюсь она на диске с материнкой шла - AI Suite II. Там есть раздел - Обновления. И в нем есть кнопка "обновить БИОС". Через нее все отлично обновляется, никаких проблем. 

Тем более, ва-аще отлично. 

Share this post


Link to post
Share on other sites
1 минуту назад, KAI31 пишет:

Это хорошо. Скорей всего мне кажется что-то криво встало в препаре, или сам сим или дополнения или библиотеки. В логе виндовс должно было быть что-то, но это не выяснить сейчас, увы

Ну, если у нас системы практически одинаковые, то Да, что-то пошло не так.

Возможно и библиотеки. Хотя старался поставить по максиму. Visual C++ c 2008, Net Framework от 3.4 (если не путаю) и выше.

Share this post


Link to post
Share on other sites
4 минуты назад, Kraftig пишет:

Есть утилита в комплекте, даже если не ошибаюсь она на диске с материнкой шла - AI Suite II. Там есть раздел - Обновления. И в нем есть кнопка "обновить БИОС". Через нее все отлично обновляется, никаких проблем. Нет ничего проще - поставил утилиту, нажал одну кнопку и все обновилось.

bios.jpg.2b5917c9ac7405a553c3f82fbce5fbf0.jpg

Есть такое, и даже установлена...   )

 

Share this post


Link to post
Share on other sites
3 минуты назад, Stromer пишет:

Есть такое, и даже установлена...   )

Да, тогда отлично. Попробуйте через нее обновить. Я через нее обновлял Биос, никаких проблем вроде не возникло, все хорошо проходило. И безопаснее, как мне кажется, чем через инсталлеры.

  • Upvote 1

Share this post


Link to post
Share on other sites
10 минут назад, Stromer пишет:

Ну, если у нас системы практически одинаковые, то Да, что-то пошло не так.

Возможно и библиотеки. Хотя старался поставить по максиму. Visual C++ c 2008, Net Framework от 3.4 (если не путаю) и выше.

Visual C++ лучше ставить Hibrid, это сборка всех крайних версий в одном установщике. При этом часть неиспользуемых версий библиотек не удаляется, а просто переключается в фоновый режим и не висит в системе постоянно.

Net Framework от 3.5 желательно и он просто подключается в системе если в компонентах виндовс не включен. Так же должен работать Net Framework от 4.хх и обновлён до крайней версии.

Simconect не забыть тоже, из корня сима в папке redist все задействовать.

Edited by KAI31
  • Upvote 1

Share this post


Link to post
Share on other sites
9 минут назад, Kraftig пишет:

Да, тогда отлично. Попробуйте через нее обновить. Я через нее обновлял Биос, никаких проблем вроде не возникло, все хорошо проходило. И безопаснее, как мне кажется, чем через инсталлеры.

Тогда сейчас кое какие дела улажу, ну, и как говориться, будем посмотреть...    )

Share this post


Link to post
Share on other sites
1 минуту назад, Stromer пишет:

Тогда сейчас кое какие дела улажу, ну, и как говориться, будем посмотреть...    )

А Вы вручную проц разгоняли через Биос или автоматом? Если вручную, то при обновлении, Биоса разгон слетает вроде как. Точно не помню этот момент, сохраняются ли предыдущие настройки или нет.

Share this post


Link to post
Share on other sites
7 минут назад, Stromer пишет:

Тогда сейчас кое какие дела улажу, ну, и как говориться, будем посмотреть...    )

Вот ещё некоторые рекомендации по настройкам.

Но не всё надо выпиливать глобально. Тонкую настройку и чистку делаю Wise Care 365 Pro, на мой взгляд самое лучшее что есть в этом сегменте уже на протяжении пяти лет. И можно ещё VitSoft для более глобальной чистки реестра.

Edited by KAI31
  • Upvote 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...