Add files via upload
This commit is contained in:
parent
dfcccaae4b
commit
1eb2181873
84 changed files with 10439 additions and 0 deletions
25
src/Privatezilla/Privatezilla.sln
Normal file
25
src/Privatezilla/Privatezilla.sln
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.30011.22
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Privatezilla", "Privatezilla\Privatezilla.csproj", "{1CF5392E-0522-49D4-8343-B732BE762086}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{1CF5392E-0522-49D4-8343-B732BE762086}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{1CF5392E-0522-49D4-8343-B732BE762086}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{1CF5392E-0522-49D4-8343-B732BE762086}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{1CF5392E-0522-49D4-8343-B732BE762086}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {8E8CB191-75D5-4C79-A0FE-23D7D018C316}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
6
src/Privatezilla/Privatezilla/App.config
Normal file
6
src/Privatezilla/Privatezilla/App.config
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
BIN
src/Privatezilla/Privatezilla/AppIcon.ico
Normal file
BIN
src/Privatezilla/Privatezilla/AppIcon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 177 KiB |
BIN
src/Privatezilla/Privatezilla/GitHubIcon.png
Normal file
BIN
src/Privatezilla/Privatezilla/GitHubIcon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 828 B |
44
src/Privatezilla/Privatezilla/Helpers/RegistryHelper.cs
Normal file
44
src/Privatezilla/Privatezilla/Helpers/RegistryHelper.cs
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
using Privatezilla.Setting;
|
||||||
|
using System;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Privatezilla
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Check whether Registry values equal
|
||||||
|
/// </summary>
|
||||||
|
internal class RegistryHelper
|
||||||
|
{
|
||||||
|
public SettingBase Setting { get; }
|
||||||
|
|
||||||
|
public static bool IntEquals(string keyName, string valueName, int expectedValue)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var value = Registry.GetValue(keyName, valueName, null);
|
||||||
|
return (value != null && (int)value == expectedValue);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
|
||||||
|
{
|
||||||
|
MessageBox.Show(keyName, ex.Message, MessageBoxButtons.OK);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool StringEquals(string keyName, string valueName, string expectedValue)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var value = Registry.GetValue(keyName, valueName, null);
|
||||||
|
return (value != null && (string)value == expectedValue);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show(keyName, ex.Message, MessageBoxButtons.OK);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
19
src/Privatezilla/Privatezilla/Helpers/SettingsNode.cs
Normal file
19
src/Privatezilla/Privatezilla/Helpers/SettingsNode.cs
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
using Privatezilla.Setting;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Privatezilla
|
||||||
|
{
|
||||||
|
internal class SettingNode : TreeNode
|
||||||
|
{
|
||||||
|
public SettingBase Setting { get; }
|
||||||
|
|
||||||
|
public SettingNode(SettingBase setting)
|
||||||
|
{
|
||||||
|
Setting = setting;
|
||||||
|
Text = Setting.ID();
|
||||||
|
ToolTipText = Setting.Info();
|
||||||
|
//Checked = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
35
src/Privatezilla/Privatezilla/Helpers/SetttingsBase.cs
Normal file
35
src/Privatezilla/Privatezilla/Helpers/SetttingsBase.cs
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
namespace Privatezilla.Setting
|
||||||
|
{
|
||||||
|
public abstract class SettingBase
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Name of setting
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>The setting name</returns>
|
||||||
|
public abstract string ID();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Tooltip text of setting
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>The setting tooltip</returns>
|
||||||
|
public abstract string Info();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Checks whether the setting should be applied
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>Returns true if the setting should be applied, false otherwise.</returns>
|
||||||
|
public abstract bool CheckSetting();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Applies the setting
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>Returns true if the setting was successfull, false otherwise.</returns>
|
||||||
|
public abstract bool DoSetting();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Revert the setting
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>Returns true if the setting was successfull, false otherwise.</returns>
|
||||||
|
public abstract bool UndoSetting();
|
||||||
|
}
|
||||||
|
}
|
16
src/Privatezilla/Privatezilla/Helpers/WindowsHelper.cs
Normal file
16
src/Privatezilla/Privatezilla/Helpers/WindowsHelper.cs
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla
|
||||||
|
{
|
||||||
|
internal static class WindowsHelper
|
||||||
|
{
|
||||||
|
internal static string GetOS()
|
||||||
|
{
|
||||||
|
|
||||||
|
string releaseID = Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion", "ReleaseId", "").ToString();
|
||||||
|
return releaseID;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
40
src/Privatezilla/Privatezilla/Interfaces/IListView.cs
Normal file
40
src/Privatezilla/Privatezilla/Interfaces/IListView.cs
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Privatezilla
|
||||||
|
{
|
||||||
|
/* Modified ListView sort example from https://support.microsoft.com/en-us/kb/319401
|
||||||
|
which will not only sort ascending but both ways */
|
||||||
|
|
||||||
|
public class ListViewItemComparer : IComparer
|
||||||
|
{
|
||||||
|
private readonly int col;
|
||||||
|
private readonly bool bAsc = false;
|
||||||
|
|
||||||
|
public ListViewItemComparer()
|
||||||
|
{
|
||||||
|
col = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ListViewItemComparer(int column, bool b)
|
||||||
|
{
|
||||||
|
col = column;
|
||||||
|
bAsc = b;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int Compare(object x, object y)
|
||||||
|
{
|
||||||
|
if (bAsc)
|
||||||
|
{
|
||||||
|
return String.Compare(((ListViewItem)x).SubItems[col].Text, ((ListViewItem)y).SubItems[col].Text);
|
||||||
|
// bAsc = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return String.Compare(((ListViewItem)y).SubItems[col].Text, ((ListViewItem)x).SubItems[col].Text);
|
||||||
|
// bAsc = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
25
src/Privatezilla/Privatezilla/Interfaces/ITreeNode.cs
Normal file
25
src/Privatezilla/Privatezilla/Interfaces/ITreeNode.cs
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Privatezilla.ITreeNode
|
||||||
|
{
|
||||||
|
public static class ITreeNode
|
||||||
|
{
|
||||||
|
// Retrieving TreeView nodes as IEnumerable
|
||||||
|
public static IEnumerable<TreeNode> All(this TreeNodeCollection nodes)
|
||||||
|
{
|
||||||
|
if (nodes == null) throw new ArgumentNullException(nameof(nodes));
|
||||||
|
|
||||||
|
foreach (TreeNode n in nodes)
|
||||||
|
{
|
||||||
|
yield return n;
|
||||||
|
|
||||||
|
foreach (TreeNode child in n.Nodes.All())
|
||||||
|
{
|
||||||
|
yield return child;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
458
src/Privatezilla/Privatezilla/MainWindow.Designer.cs
generated
Normal file
458
src/Privatezilla/Privatezilla/MainWindow.Designer.cs
generated
Normal file
|
@ -0,0 +1,458 @@
|
||||||
|
namespace Privatezilla
|
||||||
|
{
|
||||||
|
partial class MainWindow
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Erforderliche Designervariable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Verwendete Ressourcen bereinigen.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Vom Windows Form-Designer generierter Code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Erforderliche Methode für die Designerunterstützung.
|
||||||
|
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.components = new System.ComponentModel.Container();
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
|
||||||
|
this.TvwSettings = new System.Windows.Forms.TreeView();
|
||||||
|
this.LblMainMenu = new System.Windows.Forms.Button();
|
||||||
|
this.MainMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||||
|
this.Help = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.CommunityPkg = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.CheckRelease = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.Info = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.PnlNav = new System.Windows.Forms.Panel();
|
||||||
|
this.LblPS = new System.Windows.Forms.LinkLabel();
|
||||||
|
this.LblSettings = new System.Windows.Forms.LinkLabel();
|
||||||
|
this.LstPS = new System.Windows.Forms.CheckedListBox();
|
||||||
|
this.PnlSettings = new System.Windows.Forms.Panel();
|
||||||
|
this.assetOpenGitHub = new System.Windows.Forms.PictureBox();
|
||||||
|
this.PBar = new System.Windows.Forms.ProgressBar();
|
||||||
|
this.LvwStatus = new System.Windows.Forms.ListView();
|
||||||
|
this.Setting = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
|
this.State = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
|
this.LblStatus = new System.Windows.Forms.Label();
|
||||||
|
this.BtnSettingsUndo = new System.Windows.Forms.Button();
|
||||||
|
this.BtnSettingsDo = new System.Windows.Forms.Button();
|
||||||
|
this.BtnSettingsAnalyze = new System.Windows.Forms.Button();
|
||||||
|
this.PnlPS = new System.Windows.Forms.Panel();
|
||||||
|
this.BtnMenuPS = new System.Windows.Forms.Button();
|
||||||
|
this.TxtPSInfo = new System.Windows.Forms.TextBox();
|
||||||
|
this.TxtOutputPS = new System.Windows.Forms.TextBox();
|
||||||
|
this.TxtConsolePS = new System.Windows.Forms.TextBox();
|
||||||
|
this.LblPSHeader = new System.Windows.Forms.Label();
|
||||||
|
this.PSMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||||
|
this.PSImport = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.PSSaveAs = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.PSMarketplace = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.ToolTip = new System.Windows.Forms.ToolTip(this.components);
|
||||||
|
this.PnlSettingsBottom = new System.Windows.Forms.Panel();
|
||||||
|
this.ChkCodePS = new System.Windows.Forms.CheckBox();
|
||||||
|
this.BtnDoPS = new System.Windows.Forms.Button();
|
||||||
|
this.MainMenu.SuspendLayout();
|
||||||
|
this.PnlNav.SuspendLayout();
|
||||||
|
this.PnlSettings.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.assetOpenGitHub)).BeginInit();
|
||||||
|
this.PnlPS.SuspendLayout();
|
||||||
|
this.PSMenu.SuspendLayout();
|
||||||
|
this.PnlSettingsBottom.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// TvwSettings
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.TvwSettings, "TvwSettings");
|
||||||
|
this.TvwSettings.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||||
|
this.TvwSettings.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
|
this.TvwSettings.CheckBoxes = true;
|
||||||
|
this.TvwSettings.LineColor = System.Drawing.Color.DarkOrchid;
|
||||||
|
this.TvwSettings.Name = "TvwSettings";
|
||||||
|
this.TvwSettings.ShowLines = false;
|
||||||
|
this.TvwSettings.ShowNodeToolTips = true;
|
||||||
|
this.TvwSettings.ShowPlusMinus = false;
|
||||||
|
this.TvwSettings.TabStop = false;
|
||||||
|
this.TvwSettings.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.TvwSetting_AfterCheck);
|
||||||
|
//
|
||||||
|
// LblMainMenu
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.LblMainMenu, "LblMainMenu");
|
||||||
|
this.LblMainMenu.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||||
|
this.LblMainMenu.FlatAppearance.BorderColor = System.Drawing.Color.WhiteSmoke;
|
||||||
|
this.LblMainMenu.FlatAppearance.BorderSize = 0;
|
||||||
|
this.LblMainMenu.FlatAppearance.MouseOverBackColor = System.Drawing.Color.HotPink;
|
||||||
|
this.LblMainMenu.ForeColor = System.Drawing.Color.Black;
|
||||||
|
this.LblMainMenu.Name = "LblMainMenu";
|
||||||
|
this.LblMainMenu.UseVisualStyleBackColor = false;
|
||||||
|
this.LblMainMenu.Click += new System.EventHandler(this.LblMainMenu_Click);
|
||||||
|
//
|
||||||
|
// MainMenu
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.MainMenu, "MainMenu");
|
||||||
|
this.MainMenu.ImageScalingSize = new System.Drawing.Size(18, 18);
|
||||||
|
this.MainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.Help,
|
||||||
|
this.CommunityPkg,
|
||||||
|
this.CheckRelease,
|
||||||
|
this.Info});
|
||||||
|
this.MainMenu.Name = "MainMenu";
|
||||||
|
this.MainMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
|
||||||
|
//
|
||||||
|
// Help
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.Help, "Help");
|
||||||
|
this.Help.Name = "Help";
|
||||||
|
this.Help.Click += new System.EventHandler(this.Help_Click);
|
||||||
|
//
|
||||||
|
// CommunityPkg
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.CommunityPkg, "CommunityPkg");
|
||||||
|
this.CommunityPkg.Name = "CommunityPkg";
|
||||||
|
this.CommunityPkg.Click += new System.EventHandler(this.CommunityPkg_Click);
|
||||||
|
//
|
||||||
|
// CheckRelease
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.CheckRelease, "CheckRelease");
|
||||||
|
this.CheckRelease.Name = "CheckRelease";
|
||||||
|
this.CheckRelease.Click += new System.EventHandler(this.CheckRelease_Click);
|
||||||
|
//
|
||||||
|
// Info
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.Info, "Info");
|
||||||
|
this.Info.Name = "Info";
|
||||||
|
this.Info.Click += new System.EventHandler(this.Info_Click);
|
||||||
|
//
|
||||||
|
// PnlNav
|
||||||
|
//
|
||||||
|
this.PnlNav.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||||
|
this.PnlNav.Controls.Add(this.TvwSettings);
|
||||||
|
this.PnlNav.Controls.Add(this.LblPS);
|
||||||
|
this.PnlNav.Controls.Add(this.LblSettings);
|
||||||
|
this.PnlNav.Controls.Add(this.LblMainMenu);
|
||||||
|
this.PnlNav.Controls.Add(this.LstPS);
|
||||||
|
resources.ApplyResources(this.PnlNav, "PnlNav");
|
||||||
|
this.PnlNav.Name = "PnlNav";
|
||||||
|
//
|
||||||
|
// LblPS
|
||||||
|
//
|
||||||
|
this.LblPS.ActiveLinkColor = System.Drawing.Color.DeepPink;
|
||||||
|
this.LblPS.AutoEllipsis = true;
|
||||||
|
resources.ApplyResources(this.LblPS, "LblPS");
|
||||||
|
this.LblPS.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
|
||||||
|
this.LblPS.LinkColor = System.Drawing.Color.Black;
|
||||||
|
this.LblPS.Name = "LblPS";
|
||||||
|
this.LblPS.TabStop = true;
|
||||||
|
this.LblPS.VisitedLinkColor = System.Drawing.Color.DimGray;
|
||||||
|
this.LblPS.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LblPS_LinkClicked);
|
||||||
|
//
|
||||||
|
// LblSettings
|
||||||
|
//
|
||||||
|
this.LblSettings.ActiveLinkColor = System.Drawing.Color.DeepPink;
|
||||||
|
this.LblSettings.AutoEllipsis = true;
|
||||||
|
resources.ApplyResources(this.LblSettings, "LblSettings");
|
||||||
|
this.LblSettings.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
|
||||||
|
this.LblSettings.LinkColor = System.Drawing.Color.Black;
|
||||||
|
this.LblSettings.Name = "LblSettings";
|
||||||
|
this.LblSettings.TabStop = true;
|
||||||
|
this.LblSettings.VisitedLinkColor = System.Drawing.Color.DimGray;
|
||||||
|
this.LblSettings.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LblSettings_LinkClicked);
|
||||||
|
//
|
||||||
|
// LstPS
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.LstPS, "LstPS");
|
||||||
|
this.LstPS.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||||
|
this.LstPS.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
|
this.LstPS.ForeColor = System.Drawing.Color.Black;
|
||||||
|
this.LstPS.FormattingEnabled = true;
|
||||||
|
this.LstPS.Name = "LstPS";
|
||||||
|
this.LstPS.Sorted = true;
|
||||||
|
this.LstPS.ThreeDCheckBoxes = true;
|
||||||
|
this.LstPS.SelectedIndexChanged += new System.EventHandler(this.LstPS_SelectedIndexChanged);
|
||||||
|
//
|
||||||
|
// PnlSettings
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.PnlSettings, "PnlSettings");
|
||||||
|
this.PnlSettings.Controls.Add(this.assetOpenGitHub);
|
||||||
|
this.PnlSettings.Controls.Add(this.PBar);
|
||||||
|
this.PnlSettings.Controls.Add(this.LvwStatus);
|
||||||
|
this.PnlSettings.Controls.Add(this.LblStatus);
|
||||||
|
this.PnlSettings.Name = "PnlSettings";
|
||||||
|
//
|
||||||
|
// assetOpenGitHub
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.assetOpenGitHub, "assetOpenGitHub");
|
||||||
|
this.assetOpenGitHub.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
|
this.assetOpenGitHub.Name = "assetOpenGitHub";
|
||||||
|
this.assetOpenGitHub.TabStop = false;
|
||||||
|
this.ToolTip.SetToolTip(this.assetOpenGitHub, resources.GetString("assetOpenGitHub.ToolTip"));
|
||||||
|
this.assetOpenGitHub.Click += new System.EventHandler(this.assetOpenGitHubPage_Click);
|
||||||
|
//
|
||||||
|
// PBar
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.PBar, "PBar");
|
||||||
|
this.PBar.Name = "PBar";
|
||||||
|
//
|
||||||
|
// LvwStatus
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.LvwStatus, "LvwStatus");
|
||||||
|
this.LvwStatus.BackColor = System.Drawing.Color.White;
|
||||||
|
this.LvwStatus.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
|
this.LvwStatus.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||||
|
this.Setting,
|
||||||
|
this.State});
|
||||||
|
this.LvwStatus.FullRowSelect = true;
|
||||||
|
this.LvwStatus.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
||||||
|
this.LvwStatus.HideSelection = false;
|
||||||
|
this.LvwStatus.Name = "LvwStatus";
|
||||||
|
this.LvwStatus.TileSize = new System.Drawing.Size(1, 1);
|
||||||
|
this.LvwStatus.UseCompatibleStateImageBehavior = false;
|
||||||
|
this.LvwStatus.View = System.Windows.Forms.View.Details;
|
||||||
|
this.LvwStatus.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.LvwStatus_ColumnClick);
|
||||||
|
//
|
||||||
|
// Setting
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.Setting, "Setting");
|
||||||
|
//
|
||||||
|
// State
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.State, "State");
|
||||||
|
//
|
||||||
|
// LblStatus
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.LblStatus, "LblStatus");
|
||||||
|
this.LblStatus.AutoEllipsis = true;
|
||||||
|
this.LblStatus.BackColor = System.Drawing.Color.White;
|
||||||
|
this.LblStatus.Name = "LblStatus";
|
||||||
|
//
|
||||||
|
// BtnSettingsUndo
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.BtnSettingsUndo, "BtnSettingsUndo");
|
||||||
|
this.BtnSettingsUndo.BackColor = System.Drawing.Color.Gainsboro;
|
||||||
|
this.BtnSettingsUndo.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro;
|
||||||
|
this.BtnSettingsUndo.FlatAppearance.BorderSize = 0;
|
||||||
|
this.BtnSettingsUndo.Name = "BtnSettingsUndo";
|
||||||
|
this.BtnSettingsUndo.UseVisualStyleBackColor = false;
|
||||||
|
this.BtnSettingsUndo.Click += new System.EventHandler(this.BtnSettingsUndo_Click);
|
||||||
|
//
|
||||||
|
// BtnSettingsDo
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.BtnSettingsDo, "BtnSettingsDo");
|
||||||
|
this.BtnSettingsDo.BackColor = System.Drawing.Color.Gainsboro;
|
||||||
|
this.BtnSettingsDo.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro;
|
||||||
|
this.BtnSettingsDo.FlatAppearance.BorderSize = 0;
|
||||||
|
this.BtnSettingsDo.Name = "BtnSettingsDo";
|
||||||
|
this.BtnSettingsDo.UseVisualStyleBackColor = false;
|
||||||
|
this.BtnSettingsDo.Click += new System.EventHandler(this.BtnSettingsDo_Click);
|
||||||
|
//
|
||||||
|
// BtnSettingsAnalyze
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.BtnSettingsAnalyze, "BtnSettingsAnalyze");
|
||||||
|
this.BtnSettingsAnalyze.BackColor = System.Drawing.Color.Gainsboro;
|
||||||
|
this.BtnSettingsAnalyze.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro;
|
||||||
|
this.BtnSettingsAnalyze.FlatAppearance.BorderSize = 0;
|
||||||
|
this.BtnSettingsAnalyze.Name = "BtnSettingsAnalyze";
|
||||||
|
this.BtnSettingsAnalyze.UseVisualStyleBackColor = false;
|
||||||
|
this.BtnSettingsAnalyze.Click += new System.EventHandler(this.BtnSettingsAnalyze_Click);
|
||||||
|
//
|
||||||
|
// PnlPS
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.PnlPS, "PnlPS");
|
||||||
|
this.PnlPS.BackColor = System.Drawing.Color.White;
|
||||||
|
this.PnlPS.Controls.Add(this.BtnMenuPS);
|
||||||
|
this.PnlPS.Controls.Add(this.TxtPSInfo);
|
||||||
|
this.PnlPS.Controls.Add(this.TxtOutputPS);
|
||||||
|
this.PnlPS.Controls.Add(this.TxtConsolePS);
|
||||||
|
this.PnlPS.Controls.Add(this.LblPSHeader);
|
||||||
|
this.PnlPS.Name = "PnlPS";
|
||||||
|
//
|
||||||
|
// BtnMenuPS
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.BtnMenuPS, "BtnMenuPS");
|
||||||
|
this.BtnMenuPS.BackColor = System.Drawing.Color.Gainsboro;
|
||||||
|
this.BtnMenuPS.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro;
|
||||||
|
this.BtnMenuPS.FlatAppearance.BorderSize = 0;
|
||||||
|
this.BtnMenuPS.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver;
|
||||||
|
this.BtnMenuPS.ForeColor = System.Drawing.Color.Black;
|
||||||
|
this.BtnMenuPS.Name = "BtnMenuPS";
|
||||||
|
this.BtnMenuPS.UseVisualStyleBackColor = false;
|
||||||
|
this.BtnMenuPS.Click += new System.EventHandler(this.BtnMenuPS_Click);
|
||||||
|
//
|
||||||
|
// TxtPSInfo
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.TxtPSInfo, "TxtPSInfo");
|
||||||
|
this.TxtPSInfo.BackColor = System.Drawing.Color.White;
|
||||||
|
this.TxtPSInfo.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
|
this.TxtPSInfo.ForeColor = System.Drawing.Color.Black;
|
||||||
|
this.TxtPSInfo.Name = "TxtPSInfo";
|
||||||
|
this.TxtPSInfo.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// TxtOutputPS
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.TxtOutputPS, "TxtOutputPS");
|
||||||
|
this.TxtOutputPS.BackColor = System.Drawing.Color.White;
|
||||||
|
this.TxtOutputPS.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
|
this.TxtOutputPS.ForeColor = System.Drawing.Color.Black;
|
||||||
|
this.TxtOutputPS.Name = "TxtOutputPS";
|
||||||
|
//
|
||||||
|
// TxtConsolePS
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.TxtConsolePS, "TxtConsolePS");
|
||||||
|
this.TxtConsolePS.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
|
||||||
|
this.TxtConsolePS.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.FileSystem;
|
||||||
|
this.TxtConsolePS.BackColor = System.Drawing.Color.PaleTurquoise;
|
||||||
|
this.TxtConsolePS.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
|
this.TxtConsolePS.ForeColor = System.Drawing.Color.Black;
|
||||||
|
this.TxtConsolePS.Name = "TxtConsolePS";
|
||||||
|
//
|
||||||
|
// LblPSHeader
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.LblPSHeader, "LblPSHeader");
|
||||||
|
this.LblPSHeader.BackColor = System.Drawing.Color.Gainsboro;
|
||||||
|
this.LblPSHeader.Name = "LblPSHeader";
|
||||||
|
//
|
||||||
|
// PSMenu
|
||||||
|
//
|
||||||
|
this.PSMenu.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||||
|
resources.ApplyResources(this.PSMenu, "PSMenu");
|
||||||
|
this.PSMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.PSImport,
|
||||||
|
this.PSSaveAs,
|
||||||
|
this.PSMarketplace});
|
||||||
|
this.PSMenu.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Table;
|
||||||
|
this.PSMenu.Name = "contextHostsMenu";
|
||||||
|
this.PSMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
|
||||||
|
//
|
||||||
|
// PSImport
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.PSImport, "PSImport");
|
||||||
|
this.PSImport.Name = "PSImport";
|
||||||
|
this.PSImport.Click += new System.EventHandler(this.PSImport_Click);
|
||||||
|
//
|
||||||
|
// PSSaveAs
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.PSSaveAs, "PSSaveAs");
|
||||||
|
this.PSSaveAs.Name = "PSSaveAs";
|
||||||
|
this.PSSaveAs.Click += new System.EventHandler(this.PSSaveAs_Click);
|
||||||
|
//
|
||||||
|
// PSMarketplace
|
||||||
|
//
|
||||||
|
this.PSMarketplace.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.PSMarketplace, "PSMarketplace");
|
||||||
|
this.PSMarketplace.ForeColor = System.Drawing.Color.Black;
|
||||||
|
this.PSMarketplace.Name = "PSMarketplace";
|
||||||
|
this.PSMarketplace.Click += new System.EventHandler(this.PSMarketplace_Click);
|
||||||
|
//
|
||||||
|
// ToolTip
|
||||||
|
//
|
||||||
|
this.ToolTip.AutomaticDelay = 0;
|
||||||
|
this.ToolTip.UseAnimation = false;
|
||||||
|
this.ToolTip.UseFading = false;
|
||||||
|
//
|
||||||
|
// PnlSettingsBottom
|
||||||
|
//
|
||||||
|
this.PnlSettingsBottom.Controls.Add(this.BtnSettingsAnalyze);
|
||||||
|
this.PnlSettingsBottom.Controls.Add(this.BtnSettingsUndo);
|
||||||
|
this.PnlSettingsBottom.Controls.Add(this.BtnSettingsDo);
|
||||||
|
this.PnlSettingsBottom.Controls.Add(this.ChkCodePS);
|
||||||
|
this.PnlSettingsBottom.Controls.Add(this.BtnDoPS);
|
||||||
|
resources.ApplyResources(this.PnlSettingsBottom, "PnlSettingsBottom");
|
||||||
|
this.PnlSettingsBottom.Name = "PnlSettingsBottom";
|
||||||
|
//
|
||||||
|
// ChkCodePS
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.ChkCodePS, "ChkCodePS");
|
||||||
|
this.ChkCodePS.BackColor = System.Drawing.Color.Gainsboro;
|
||||||
|
this.ChkCodePS.FlatAppearance.BorderColor = System.Drawing.Color.Black;
|
||||||
|
this.ChkCodePS.FlatAppearance.BorderSize = 0;
|
||||||
|
this.ChkCodePS.ForeColor = System.Drawing.Color.Black;
|
||||||
|
this.ChkCodePS.Name = "ChkCodePS";
|
||||||
|
this.ChkCodePS.UseVisualStyleBackColor = false;
|
||||||
|
this.ChkCodePS.CheckedChanged += new System.EventHandler(this.ChkCodePS_CheckedChanged);
|
||||||
|
//
|
||||||
|
// BtnDoPS
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.BtnDoPS, "BtnDoPS");
|
||||||
|
this.BtnDoPS.BackColor = System.Drawing.Color.Gainsboro;
|
||||||
|
this.BtnDoPS.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro;
|
||||||
|
this.BtnDoPS.FlatAppearance.BorderSize = 0;
|
||||||
|
this.BtnDoPS.Name = "BtnDoPS";
|
||||||
|
this.BtnDoPS.UseVisualStyleBackColor = false;
|
||||||
|
this.BtnDoPS.Click += new System.EventHandler(this.BtnDoPS_Click);
|
||||||
|
//
|
||||||
|
// MainWindow
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this, "$this");
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||||
|
this.BackColor = System.Drawing.Color.White;
|
||||||
|
this.Controls.Add(this.PnlSettingsBottom);
|
||||||
|
this.Controls.Add(this.PnlNav);
|
||||||
|
this.Controls.Add(this.PnlSettings);
|
||||||
|
this.Controls.Add(this.PnlPS);
|
||||||
|
this.Name = "MainWindow";
|
||||||
|
this.ShowIcon = false;
|
||||||
|
this.MainMenu.ResumeLayout(false);
|
||||||
|
this.PnlNav.ResumeLayout(false);
|
||||||
|
this.PnlNav.PerformLayout();
|
||||||
|
this.PnlSettings.ResumeLayout(false);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.assetOpenGitHub)).EndInit();
|
||||||
|
this.PnlPS.ResumeLayout(false);
|
||||||
|
this.PnlPS.PerformLayout();
|
||||||
|
this.PSMenu.ResumeLayout(false);
|
||||||
|
this.PnlSettingsBottom.ResumeLayout(false);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
private System.Windows.Forms.TreeView TvwSettings;
|
||||||
|
private System.Windows.Forms.Button LblMainMenu;
|
||||||
|
private System.Windows.Forms.ContextMenuStrip MainMenu;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem Info;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem CheckRelease;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem Help;
|
||||||
|
private System.Windows.Forms.Panel PnlNav;
|
||||||
|
private System.Windows.Forms.LinkLabel LblSettings;
|
||||||
|
private System.Windows.Forms.LinkLabel LblPS;
|
||||||
|
private System.Windows.Forms.CheckedListBox LstPS;
|
||||||
|
private System.Windows.Forms.Panel PnlSettings;
|
||||||
|
private System.Windows.Forms.ListView LvwStatus;
|
||||||
|
private System.Windows.Forms.ColumnHeader Setting;
|
||||||
|
private System.Windows.Forms.ColumnHeader State;
|
||||||
|
private System.Windows.Forms.Button BtnSettingsUndo;
|
||||||
|
private System.Windows.Forms.ProgressBar PBar;
|
||||||
|
private System.Windows.Forms.Label LblStatus;
|
||||||
|
private System.Windows.Forms.Button BtnSettingsDo;
|
||||||
|
private System.Windows.Forms.Button BtnSettingsAnalyze;
|
||||||
|
private System.Windows.Forms.Panel PnlPS;
|
||||||
|
private System.Windows.Forms.TextBox TxtPSInfo;
|
||||||
|
private System.Windows.Forms.TextBox TxtOutputPS;
|
||||||
|
private System.Windows.Forms.TextBox TxtConsolePS;
|
||||||
|
private System.Windows.Forms.ContextMenuStrip PSMenu;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem PSImport;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem PSSaveAs;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem PSMarketplace;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem CommunityPkg;
|
||||||
|
private System.Windows.Forms.ToolTip ToolTip;
|
||||||
|
private System.Windows.Forms.Button BtnMenuPS;
|
||||||
|
private System.Windows.Forms.Label LblPSHeader;
|
||||||
|
private System.Windows.Forms.PictureBox assetOpenGitHub;
|
||||||
|
private System.Windows.Forms.Panel PnlSettingsBottom;
|
||||||
|
private System.Windows.Forms.Button BtnDoPS;
|
||||||
|
private System.Windows.Forms.CheckBox ChkCodePS;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
758
src/Privatezilla/Privatezilla/MainWindow.cs
Normal file
758
src/Privatezilla/Privatezilla/MainWindow.cs
Normal file
|
@ -0,0 +1,758 @@
|
||||||
|
using Privatezilla.ITreeNode;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Globalization; // Localization
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Management.Automation;
|
||||||
|
using System.Net;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading; // Localization
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Privatezilla
|
||||||
|
{
|
||||||
|
public partial class MainWindow : Form
|
||||||
|
{
|
||||||
|
// Setting progress
|
||||||
|
private int _progress = 0;
|
||||||
|
|
||||||
|
private int _progressIncrement = 0;
|
||||||
|
|
||||||
|
// Update
|
||||||
|
private readonly string _releaseURL = "https://raw.githubusercontent.com/builtbybel/privatezilla/master/latest.txt";
|
||||||
|
|
||||||
|
public Version CurrentVersion = new Version(Application.ProductVersion);
|
||||||
|
public Version LatestVersion;
|
||||||
|
|
||||||
|
private void CheckRelease_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
WebRequest hreq = WebRequest.Create(_releaseURL);
|
||||||
|
hreq.Timeout = 10000;
|
||||||
|
hreq.Headers.Set("Cache-Control", "no-cache, no-store, must-revalidate");
|
||||||
|
|
||||||
|
WebResponse hres = hreq.GetResponse();
|
||||||
|
StreamReader sr = new StreamReader(hres.GetResponseStream());
|
||||||
|
|
||||||
|
LatestVersion = new Version(sr.ReadToEnd().Trim());
|
||||||
|
|
||||||
|
// Done and dispose!
|
||||||
|
sr.Dispose();
|
||||||
|
hres.Dispose();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show(ex.Message, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Error); // Update check failed!
|
||||||
|
}
|
||||||
|
|
||||||
|
var equals = LatestVersion.CompareTo(CurrentVersion);
|
||||||
|
|
||||||
|
if (equals == 0)
|
||||||
|
{
|
||||||
|
MessageBox.Show(Properties.Resources.releaseUpToDate, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Information); // Up-to-date
|
||||||
|
}
|
||||||
|
else if (equals < 0)
|
||||||
|
{
|
||||||
|
MessageBox.Show(Properties.Resources.releaseUnofficial, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning); // Unofficial
|
||||||
|
}
|
||||||
|
else // New release available!
|
||||||
|
{
|
||||||
|
if (MessageBox.Show(Properties.Resources.releaseUpdateAvailable + LatestVersion + Properties.Resources.releaseUpdateYourVersion.Replace("\\r\\n", "\r\n") + CurrentVersion + Properties.Resources.releaseUpdateAvailableURL.Replace("\\r\\n", "\r\n\n"), this.Text, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) // New release available!
|
||||||
|
{
|
||||||
|
Process.Start("https://github.com/builtbybel/privatezilla/releases/tag/" + LatestVersion);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Globalization()
|
||||||
|
{
|
||||||
|
BtnDoPS.Text = Properties.Resources.BtnDoPS;
|
||||||
|
BtnSettingsAnalyze.Text = Properties.Resources.BtnSettingsAnalyze;
|
||||||
|
BtnSettingsDo.Text = Properties.Resources.BtnSettingsDo;
|
||||||
|
BtnSettingsUndo.Text = Properties.Resources.BtnSettingsUndo;
|
||||||
|
ChkCodePS.Text = Properties.Resources.ChkCodePS;
|
||||||
|
LblPS.Text = Properties.Resources.LblPS;
|
||||||
|
LblPSHeader.Text = Properties.Resources.LblPSHeader;
|
||||||
|
LblSettings.Text = Properties.Resources.LblSettings;
|
||||||
|
LblStatus.Text = Properties.Resources.LblStatus;
|
||||||
|
TxtPSInfo.Text = Properties.Resources.TxtPSInfo;
|
||||||
|
CheckRelease.Text = Properties.Resources.CheckRelease;
|
||||||
|
CommunityPkg.Text = Properties.Resources.CommunityPkg;
|
||||||
|
Help.Text = Properties.Resources.Help;
|
||||||
|
Info.Text = Properties.Resources.Info;
|
||||||
|
PSImport.Text = Properties.Resources.PSImport;
|
||||||
|
PSMarketplace.Text = Properties.Resources.PSMarketplace;
|
||||||
|
PSSaveAs.Text = Properties.Resources.PSSaveAs;
|
||||||
|
Setting.Text = Properties.Resources.columnSetting; // Status column
|
||||||
|
State.Text = Properties.Resources.columnState; // State column
|
||||||
|
}
|
||||||
|
|
||||||
|
public MainWindow()
|
||||||
|
{
|
||||||
|
// Uncomment lower line and add lang code to run localization test
|
||||||
|
// Thread.CurrentThread.CurrentUICulture = new CultureInfo("de");
|
||||||
|
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
// Initilize settings
|
||||||
|
InitializeSettings();
|
||||||
|
|
||||||
|
// Check if community package is installed
|
||||||
|
CommunityPackageAvailable();
|
||||||
|
|
||||||
|
// GUI options
|
||||||
|
LblMainMenu.Text = "\ue700"; // Hamburger menu
|
||||||
|
|
||||||
|
// GUI localization
|
||||||
|
Globalization();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void InitializeSettings()
|
||||||
|
{
|
||||||
|
TvwSettings.Nodes.Clear();
|
||||||
|
|
||||||
|
// Root node
|
||||||
|
TreeNode root = new TreeNode("Windows 10 (" + WindowsHelper.GetOS() + ")")
|
||||||
|
{
|
||||||
|
Checked = false
|
||||||
|
};
|
||||||
|
|
||||||
|
// Settings > Privacy
|
||||||
|
TreeNode privacy = new TreeNode(Properties.Resources.rootSettingsPrivacy, new TreeNode[] {
|
||||||
|
new SettingNode(new Setting.Privacy.DisableTelemetry()),
|
||||||
|
new SettingNode(new Setting.Privacy.DisableCompTelemetry()),
|
||||||
|
new SettingNode(new Setting.Privacy.DisableAds()),
|
||||||
|
new SettingNode(new Setting.Privacy.DisableWiFi()),
|
||||||
|
new SettingNode(new Setting.Privacy.DiagnosticData()),
|
||||||
|
new SettingNode(new Setting.Privacy.HandwritingData()),
|
||||||
|
new SettingNode(new Setting.Privacy.DisableBiometrics()),
|
||||||
|
new SettingNode(new Setting.Privacy.DisableTimeline()),
|
||||||
|
new SettingNode(new Setting.Privacy.DisableLocation()),
|
||||||
|
new SettingNode(new Setting.Privacy.DisableFeedback()),
|
||||||
|
new SettingNode(new Setting.Privacy.DisableTips()),
|
||||||
|
new SettingNode(new Setting.Privacy.DisableTipsLockScreen()),
|
||||||
|
new SettingNode(new Setting.Privacy.InstalledApps()),
|
||||||
|
new SettingNode(new Setting.Privacy.SuggestedApps()),
|
||||||
|
new SettingNode(new Setting.Privacy.SuggestedContent()),
|
||||||
|
new SettingNode(new Setting.Privacy.DisableCEIP()),
|
||||||
|
new SettingNode(new Setting.Privacy.DisableHEIP()),
|
||||||
|
new SettingNode(new Setting.Privacy.DisableMSExperiments()),
|
||||||
|
new SettingNode(new Setting.Privacy.InventoryCollector()),
|
||||||
|
new SettingNode(new Setting.Privacy.GetMoreOutOfWindows()),
|
||||||
|
})
|
||||||
|
{
|
||||||
|
//Checked = true,
|
||||||
|
//ToolTipText = "Privacy settings"
|
||||||
|
};
|
||||||
|
|
||||||
|
// Policies > Cortana
|
||||||
|
TreeNode cortana = new TreeNode(Properties.Resources.rootSettingsCortana, new TreeNode[] {
|
||||||
|
new SettingNode(new Setting.Cortana.DisableCortana()),
|
||||||
|
new SettingNode(new Setting.Cortana.DisableBing()),
|
||||||
|
new SettingNode(new Setting.Cortana.UninstallCortana()),
|
||||||
|
});
|
||||||
|
|
||||||
|
// Settings > Bloatware
|
||||||
|
TreeNode bloatware = new TreeNode(Properties.Resources.rootSettingsBloatware, new TreeNode[] {
|
||||||
|
new SettingNode(new Setting.Bloatware.RemoveUWPAll()),
|
||||||
|
new SettingNode(new Setting.Bloatware.RemoveUWPDefaults()),
|
||||||
|
})
|
||||||
|
{
|
||||||
|
ToolTipText = Properties.Resources.rootSettingsBloatwareInfo
|
||||||
|
};
|
||||||
|
|
||||||
|
// Settings > App permissions
|
||||||
|
TreeNode apps = new TreeNode(Properties.Resources.rootSettingsApps, new TreeNode[] {
|
||||||
|
new SettingNode(new Setting.Apps.AppNotifications()),
|
||||||
|
new SettingNode(new Setting.Apps.Camera()),
|
||||||
|
new SettingNode(new Setting.Apps.Microphone()),
|
||||||
|
new SettingNode(new Setting.Apps.Call()),
|
||||||
|
new SettingNode(new Setting.Apps.Notifications()),
|
||||||
|
new SettingNode(new Setting.Apps.AccountInfo()),
|
||||||
|
new SettingNode(new Setting.Apps.Contacts()),
|
||||||
|
new SettingNode(new Setting.Apps.Calendar()),
|
||||||
|
new SettingNode(new Setting.Apps.CallHistory()),
|
||||||
|
new SettingNode(new Setting.Apps.Email()),
|
||||||
|
new SettingNode(new Setting.Apps.Tasks()),
|
||||||
|
new SettingNode(new Setting.Apps.Messaging()),
|
||||||
|
new SettingNode(new Setting.Apps.Motion()),
|
||||||
|
new SettingNode(new Setting.Apps.OtherDevices()),
|
||||||
|
new SettingNode(new Setting.Apps.BackgroundApps()),
|
||||||
|
new SettingNode(new Setting.Apps.TrackingApps()),
|
||||||
|
new SettingNode(new Setting.Apps.DiagnosticInformation()),
|
||||||
|
new SettingNode(new Setting.Apps.Documents()),
|
||||||
|
new SettingNode(new Setting.Apps.Pictures()),
|
||||||
|
new SettingNode(new Setting.Apps.Videos()),
|
||||||
|
new SettingNode(new Setting.Apps.Radios()),
|
||||||
|
new SettingNode(new Setting.Apps.FileSystem()),
|
||||||
|
new SettingNode(new Setting.Apps.EyeGaze()),
|
||||||
|
new SettingNode(new Setting.Apps.CellularData()),
|
||||||
|
});
|
||||||
|
|
||||||
|
// Settings > Updates
|
||||||
|
TreeNode updates = new TreeNode(Properties.Resources.rootSettingsUpdates, new TreeNode[] {
|
||||||
|
new SettingNode(new Setting.Updates.DisableUpdates()),
|
||||||
|
new SettingNode(new Setting.Updates.DisableUpdatesSharing()),
|
||||||
|
new SettingNode(new Setting.Updates.BlockMajorUpdates()),
|
||||||
|
});
|
||||||
|
|
||||||
|
// Settings > Gaming
|
||||||
|
TreeNode gaming = new TreeNode(Properties.Resources.rootSettingsGaming, new TreeNode[] {
|
||||||
|
new SettingNode(new Setting.Gaming.DisableGameBar()),
|
||||||
|
});
|
||||||
|
|
||||||
|
// Settings > Windows Defender
|
||||||
|
TreeNode defender = new TreeNode(Properties.Resources.rootSettingsDefender, new TreeNode[] {
|
||||||
|
new SettingNode(new Setting.Defender.DisableSmartScreenStore()),
|
||||||
|
});
|
||||||
|
|
||||||
|
// Settings > Microsoft Edge
|
||||||
|
TreeNode edge = new TreeNode(Properties.Resources.rootSettingsEdge, new TreeNode[] {
|
||||||
|
new SettingNode(new Setting.Edge.DisableAutoFillCredits()),
|
||||||
|
new SettingNode(new Setting.Edge.EdgeBackground()),
|
||||||
|
new SettingNode(new Setting.Edge.DisableSync()),
|
||||||
|
new SettingNode(new Setting.Edge.BlockEdgeRollout()),
|
||||||
|
});
|
||||||
|
|
||||||
|
// Settings > Security
|
||||||
|
TreeNode security = new TreeNode(Properties.Resources.rootSettingsSecurity, new TreeNode[] {
|
||||||
|
new SettingNode(new Setting.Security.DisablePassword()),
|
||||||
|
new SettingNode(new Setting.Security.WindowsDRM()),
|
||||||
|
});
|
||||||
|
|
||||||
|
// Add root nodes
|
||||||
|
root.Nodes.AddRange(new TreeNode[]
|
||||||
|
{
|
||||||
|
privacy,
|
||||||
|
cortana,
|
||||||
|
bloatware,
|
||||||
|
apps,
|
||||||
|
updates,
|
||||||
|
gaming,
|
||||||
|
defender,
|
||||||
|
edge,
|
||||||
|
security,
|
||||||
|
});
|
||||||
|
|
||||||
|
TvwSettings.Nodes.Add(root);
|
||||||
|
TvwSettings.ExpandAll();
|
||||||
|
|
||||||
|
// Preselect nodes
|
||||||
|
CheckNodes(privacy);
|
||||||
|
|
||||||
|
// Set up ToolTip text for TvwSettings
|
||||||
|
ToolTip tooltip = new ToolTip();
|
||||||
|
tooltip.AutoPopDelay = 15000;
|
||||||
|
tooltip.IsBalloon = true;
|
||||||
|
tooltip.SetToolTip(this.TvwSettings, Properties.Resources.LblSettings);
|
||||||
|
}
|
||||||
|
|
||||||
|
private List<SettingNode> CollectSettingNodes()
|
||||||
|
{
|
||||||
|
List<SettingNode> selectedSettings = new List<SettingNode>();
|
||||||
|
|
||||||
|
foreach (TreeNode treeNode in TvwSettings.Nodes.All())
|
||||||
|
{
|
||||||
|
if (treeNode.Checked && treeNode.GetType() == typeof(SettingNode))
|
||||||
|
{
|
||||||
|
selectedSettings.Add((SettingNode)treeNode);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
_progressIncrement = (int)Math.Floor(100.0f / selectedSettings.Count);
|
||||||
|
|
||||||
|
return selectedSettings;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Reset()
|
||||||
|
{
|
||||||
|
_progress = 0;
|
||||||
|
_progressIncrement = 0;
|
||||||
|
|
||||||
|
PBar.Visible = true;
|
||||||
|
PBar.Value = 0;
|
||||||
|
LvwStatus.HeaderStyle = ColumnHeaderStyle.Clickable; // Add Header to ListView
|
||||||
|
LvwStatus.Items.Clear();
|
||||||
|
LvwStatus.Refresh();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void IncrementProgress()
|
||||||
|
{
|
||||||
|
_progress += _progressIncrement;
|
||||||
|
PBar.Value = _progress;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DoProgress(int value)
|
||||||
|
{
|
||||||
|
_progress = value;
|
||||||
|
PBar.Value = _progress;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check favored parent node including all child nodes
|
||||||
|
public void CheckNodes(TreeNode startNode)
|
||||||
|
{
|
||||||
|
startNode.Checked = true;
|
||||||
|
|
||||||
|
foreach (TreeNode node in startNode.Nodes)
|
||||||
|
|
||||||
|
CheckNodes(node);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Auto check child nodes when parent node is checked
|
||||||
|
/// </summary>
|
||||||
|
private void TvwSetting_AfterCheck(object sender, TreeViewEventArgs e)
|
||||||
|
{
|
||||||
|
TvwSettings.BeginUpdate();
|
||||||
|
|
||||||
|
foreach (TreeNode child in e.Node.Nodes)
|
||||||
|
{
|
||||||
|
child.Checked = e.Node.Checked;
|
||||||
|
}
|
||||||
|
|
||||||
|
TvwSettings.EndUpdate();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Method to auto. resize column and set the width to the width of the last item in ListView
|
||||||
|
/// </summary>
|
||||||
|
private void ResizeListViewColumns(ListView lv)
|
||||||
|
{
|
||||||
|
foreach (ColumnHeader column in lv.Columns)
|
||||||
|
{
|
||||||
|
column.Width = -2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Check system for configured settings
|
||||||
|
/// </summary>
|
||||||
|
private async void BtnSettingsAnalyze_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Reset();
|
||||||
|
LblStatus.Text = Properties.Resources.statusDoWait;
|
||||||
|
BtnSettingsAnalyze.Enabled = false;
|
||||||
|
|
||||||
|
LvwStatus.BeginUpdate();
|
||||||
|
|
||||||
|
List<SettingNode> selectedSettings = CollectSettingNodes();
|
||||||
|
|
||||||
|
foreach (SettingNode node in selectedSettings)
|
||||||
|
{
|
||||||
|
var setting = node.Setting;
|
||||||
|
ListViewItem state = new ListViewItem(node.Parent.Text + ": " + setting.ID());
|
||||||
|
ConfiguredTaskAwaitable<bool> analyzeTask = Task<bool>.Factory.StartNew(() => setting.CheckSetting()).ConfigureAwait(true);
|
||||||
|
|
||||||
|
bool shouldPerform = await analyzeTask;
|
||||||
|
|
||||||
|
if (shouldPerform)
|
||||||
|
{
|
||||||
|
state.SubItems.Add(Properties.Resources.statusFailedConfigure); // Not configured
|
||||||
|
state.BackColor = Color.LavenderBlush;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
state.SubItems.Add(Properties.Resources.statusSuccessConfigure); // Configured
|
||||||
|
state.BackColor = Color.Honeydew;
|
||||||
|
}
|
||||||
|
|
||||||
|
state.Tag = setting;
|
||||||
|
LvwStatus.Items.Add(state);
|
||||||
|
IncrementProgress();
|
||||||
|
}
|
||||||
|
|
||||||
|
DoProgress(100);
|
||||||
|
|
||||||
|
// Summary
|
||||||
|
LblStatus.Text = Properties.Resources.statusFinishAnalyze;
|
||||||
|
BtnSettingsAnalyze.Enabled = true;
|
||||||
|
LvwStatus.EndUpdate();
|
||||||
|
|
||||||
|
ResizeListViewColumns(LvwStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Apply selected settings
|
||||||
|
/// </summary>
|
||||||
|
///
|
||||||
|
private async void ApplySettings(List<SettingNode> treeNodes)
|
||||||
|
{
|
||||||
|
BtnSettingsDo.Enabled = false;
|
||||||
|
LvwStatus.BeginUpdate();
|
||||||
|
|
||||||
|
foreach (SettingNode node in treeNodes)
|
||||||
|
{
|
||||||
|
// Add status info
|
||||||
|
LblStatus.Text = Properties.Resources.statusDoWait + " (" + node.Text + ")";
|
||||||
|
|
||||||
|
var setting = node.Setting;
|
||||||
|
ConfiguredTaskAwaitable<bool> performTask = Task<bool>.Factory.StartNew(() => setting.DoSetting()).ConfigureAwait(true);
|
||||||
|
|
||||||
|
var result = await performTask;
|
||||||
|
|
||||||
|
var listItem = new ListViewItem(setting.ID());
|
||||||
|
if (result)
|
||||||
|
{
|
||||||
|
listItem.SubItems.Add(Properties.Resources.statusSuccessApply); // Applied
|
||||||
|
listItem.BackColor = Color.Honeydew;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
listItem.SubItems.Add(Properties.Resources.statusFailedApply); // Not applied
|
||||||
|
listItem.BackColor = Color.LavenderBlush;
|
||||||
|
}
|
||||||
|
|
||||||
|
LvwStatus.Items.Add(listItem);
|
||||||
|
IncrementProgress();
|
||||||
|
}
|
||||||
|
|
||||||
|
DoProgress(100);
|
||||||
|
|
||||||
|
LblStatus.Text = Properties.Resources.statusFinishApply;
|
||||||
|
BtnSettingsDo.Enabled = true;
|
||||||
|
LvwStatus.EndUpdate();
|
||||||
|
|
||||||
|
ResizeListViewColumns(LvwStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Revert selected settings
|
||||||
|
/// </summary>
|
||||||
|
private async void UndoSettings(List<SettingNode> treeNodes)
|
||||||
|
{
|
||||||
|
LblStatus.Text = Properties.Resources.statusDoWait;
|
||||||
|
BtnSettingsUndo.Enabled = false;
|
||||||
|
LvwStatus.BeginUpdate();
|
||||||
|
|
||||||
|
foreach (SettingNode node in treeNodes)
|
||||||
|
{
|
||||||
|
var setting = node.Setting;
|
||||||
|
ConfiguredTaskAwaitable<bool> performTask = Task<bool>.Factory.StartNew(() => setting.UndoSetting()).ConfigureAwait(true);
|
||||||
|
|
||||||
|
var result = await performTask;
|
||||||
|
|
||||||
|
var listItem = new ListViewItem(setting.ID());
|
||||||
|
if (result)
|
||||||
|
{
|
||||||
|
listItem.SubItems.Add(Properties.Resources.statusSuccessApply); // Applied
|
||||||
|
listItem.BackColor = Color.Honeydew;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
listItem.SubItems.Add(Properties.Resources.statusFailedApply); // Not applied
|
||||||
|
listItem.BackColor = Color.LavenderBlush;
|
||||||
|
}
|
||||||
|
|
||||||
|
LvwStatus.Items.Add(listItem);
|
||||||
|
IncrementProgress();
|
||||||
|
}
|
||||||
|
|
||||||
|
DoProgress(100);
|
||||||
|
|
||||||
|
LblStatus.Text = Properties.Resources.statusFinishUndo;
|
||||||
|
BtnSettingsUndo.Enabled = true;
|
||||||
|
LvwStatus.EndUpdate();
|
||||||
|
|
||||||
|
ResizeListViewColumns(LvwStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void BtnSettingsDo_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Reset();
|
||||||
|
|
||||||
|
List<SettingNode> performNodes = CollectSettingNodes();
|
||||||
|
ApplySettings(performNodes);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void BtnSettingsUndo_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (MessageBox.Show(Properties.Resources.statusUndoSettings, this.Text, MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button2) == DialogResult.Yes)
|
||||||
|
{
|
||||||
|
Reset();
|
||||||
|
|
||||||
|
List<SettingNode> performNodes = CollectSettingNodes();
|
||||||
|
UndoSettings(performNodes);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Info_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Privatezilla" + "\nVersion " + Program.GetCurrentVersionTostring() + " (Phoenix)\r\n" +
|
||||||
|
Properties.Resources.infoApp.Replace("\\t", "\t"), "Info", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void LblMainMenu_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.MainMenu.Show(Cursor.Position.X, Cursor.Position.Y);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Help_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
MessageBox.Show(Properties.Resources.helpApp.Replace("\\r\\n", "\r\n"), Help.Text, MessageBoxButtons.OK, MessageBoxIcon.Question);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Populate Setting files to Navigation > settings > LstPopulatePS
|
||||||
|
/// </summary>
|
||||||
|
private void PopulatePS()
|
||||||
|
{
|
||||||
|
// Switch to More
|
||||||
|
PnlPS.Visible = true;
|
||||||
|
BtnDoPS.Visible = true;
|
||||||
|
ChkCodePS.Visible = true;
|
||||||
|
LstPS.Visible = true;
|
||||||
|
|
||||||
|
PnlSettings.Visible = false;
|
||||||
|
BtnSettingsAnalyze.Visible = false;
|
||||||
|
BtnSettingsUndo.Visible = false;
|
||||||
|
BtnSettingsDo.Visible = false;
|
||||||
|
TvwSettings.Visible = false;
|
||||||
|
|
||||||
|
// Clear list
|
||||||
|
LstPS.Items.Clear();
|
||||||
|
|
||||||
|
DirectoryInfo dirs = new DirectoryInfo(@"scripts");
|
||||||
|
FileInfo[] listSettings = dirs.GetFiles("*.ps1");
|
||||||
|
foreach (FileInfo fi in listSettings)
|
||||||
|
{
|
||||||
|
LstPS.Items.Add(Path.GetFileNameWithoutExtension(fi.Name));
|
||||||
|
LstPS.Enabled = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void LblPS_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||||
|
{
|
||||||
|
// Show Info about feature
|
||||||
|
try
|
||||||
|
{
|
||||||
|
StreamReader OpenFile = new StreamReader(@"scripts\" + "readme.txt");
|
||||||
|
MessageBox.Show(OpenFile.ReadToEnd(), "Info about this feature", MessageBoxButtons.OK);
|
||||||
|
OpenFile.Close();
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
// Refresh
|
||||||
|
PopulatePS();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void LblSettings_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||||
|
{
|
||||||
|
// Switch to Setting
|
||||||
|
PnlSettings.Visible = true;
|
||||||
|
BtnSettingsAnalyze.Visible = true;
|
||||||
|
BtnSettingsUndo.Visible = true;
|
||||||
|
BtnSettingsDo.Visible = true;
|
||||||
|
TvwSettings.Visible = true;
|
||||||
|
|
||||||
|
PnlPS.Visible = false;
|
||||||
|
BtnDoPS.Visible = false;
|
||||||
|
ChkCodePS.Visible = false;
|
||||||
|
LstPS.Visible = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void LstPS_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string psdir = @"scripts\" + LstPS.Text + ".ps1";
|
||||||
|
|
||||||
|
//Read PS content line by line
|
||||||
|
try
|
||||||
|
{
|
||||||
|
using (StreamReader sr = new StreamReader(@"scripts\" + LstPS.Text + ".ps1", Encoding.Default))
|
||||||
|
{
|
||||||
|
StringBuilder content = new StringBuilder();
|
||||||
|
|
||||||
|
// writes line by line to the StringBuilder until the end of the file is reached
|
||||||
|
while (!sr.EndOfStream)
|
||||||
|
content.AppendLine(sr.ReadLine());
|
||||||
|
|
||||||
|
// View Code
|
||||||
|
TxtConsolePS.Text = content.ToString();
|
||||||
|
|
||||||
|
// View Info
|
||||||
|
TxtPSInfo.Text = Properties.Resources.PSInfo.Replace("\\r\\n", "\r\n") + string.Join(Environment.NewLine, System.IO.File.ReadAllLines(psdir).Where(s => s.StartsWith("###")).Select(s => s.Substring(3).Replace("###", "\r\n\n")));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Run custom PowerShell scripts
|
||||||
|
/// </summary>
|
||||||
|
private void BtnDoPS_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (LstPS.CheckedItems.Count == 0)
|
||||||
|
{
|
||||||
|
MessageBox.Show(Properties.Resources.msgPSSelect, BtnDoPS.Text, MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int i = 0; i < LstPS.Items.Count; i++)
|
||||||
|
{
|
||||||
|
if (LstPS.GetItemChecked(i))
|
||||||
|
{
|
||||||
|
LstPS.SelectedIndex = i;
|
||||||
|
BtnDoPS.Text = Properties.Resources.statusDoPSProcessing;
|
||||||
|
PnlPS.Enabled = false;
|
||||||
|
|
||||||
|
//TxtOutputPS.Clear();
|
||||||
|
using (PowerShell powerShell = PowerShell.Create())
|
||||||
|
{
|
||||||
|
powerShell.AddScript(TxtConsolePS.Text);
|
||||||
|
powerShell.AddCommand("Out-String");
|
||||||
|
Collection<PSObject> PSOutput = powerShell.Invoke();
|
||||||
|
StringBuilder stringBuilder = new StringBuilder();
|
||||||
|
foreach (PSObject pSObject in PSOutput)
|
||||||
|
stringBuilder.AppendLine(pSObject.ToString());
|
||||||
|
|
||||||
|
TxtOutputPS.Text = stringBuilder.ToString();
|
||||||
|
|
||||||
|
BtnDoPS.Text = Properties.Resources.statusDoPSApply;
|
||||||
|
PnlPS.Enabled = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Done!
|
||||||
|
MessageBox.Show("Script " + "\"" + LstPS.Text + "\" " + Properties.Resources.msgPSSuccess, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Open PowerShell code view
|
||||||
|
/// </summary>
|
||||||
|
private void ChkCodePS_CheckedChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (ChkCodePS.Checked == true)
|
||||||
|
{
|
||||||
|
ChkCodePS.Text = Properties.Resources.PSBack;
|
||||||
|
TxtConsolePS.Visible = true;
|
||||||
|
TxtOutputPS.Visible = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ChkCodePS.Text = Properties.Resources.PSViewCode;
|
||||||
|
TxtOutputPS.Visible = true;
|
||||||
|
TxtConsolePS.Visible = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Import PowerShell script files
|
||||||
|
/// </summary>
|
||||||
|
private void PSImport_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
OpenFileDialog ofd = new OpenFileDialog();
|
||||||
|
|
||||||
|
ofd.Filter = "*.txt|*.txt|*.ps1|*.ps1";
|
||||||
|
ofd.DefaultExt = ".ps1";
|
||||||
|
ofd.RestoreDirectory = true;
|
||||||
|
ofd.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
|
||||||
|
ofd.FilterIndex = 2;
|
||||||
|
|
||||||
|
string strDestPath = Application.StartupPath + @"\scripts";
|
||||||
|
ofd.Multiselect = true;
|
||||||
|
if (ofd.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
foreach (string fileName in ofd.FileNames)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
File.Copy(fileName, strDestPath + @"\" + Path.GetFileName(fileName));
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{ MessageBox.Show(ex.Message, this.Text); }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Refresh
|
||||||
|
PopulatePS();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Save PowerShell script files as new preset script files
|
||||||
|
/// </summary>
|
||||||
|
|
||||||
|
private void PSSaveAs_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (ChkCodePS.Checked == false)
|
||||||
|
{
|
||||||
|
MessageBox.Show(Properties.Resources.msgPSSave, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SaveFileDialog dlg = new SaveFileDialog();
|
||||||
|
dlg.Filter = "*.txt|*.txt|*.ps1|*.ps1";
|
||||||
|
dlg.DefaultExt = ".ps1";
|
||||||
|
dlg.RestoreDirectory = true;
|
||||||
|
dlg.InitialDirectory = Application.StartupPath + @"\scripts";
|
||||||
|
dlg.FilterIndex = 2;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (dlg.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
File.WriteAllText(dlg.FileName, TxtConsolePS.Text, Encoding.UTF8);
|
||||||
|
//Refresh
|
||||||
|
PopulatePS();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show(ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void PSMarketplace_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Process.Start("http://www.builtbybel.com/marketplace");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CommunityPkg_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Process.Start("https://github.com/builtbybel/privatezilla#community-package");
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if community package installed
|
||||||
|
private void CommunityPackageAvailable()
|
||||||
|
{
|
||||||
|
string path = @"scripts";
|
||||||
|
if (Directory.Exists(path))
|
||||||
|
{
|
||||||
|
LblPS.Visible = true;
|
||||||
|
CommunityPkg.Visible = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private bool sortAscending = false;
|
||||||
|
|
||||||
|
private void LvwStatus_ColumnClick(object sender, ColumnClickEventArgs e)
|
||||||
|
{
|
||||||
|
if (!sortAscending)
|
||||||
|
{
|
||||||
|
sortAscending = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
sortAscending = false;
|
||||||
|
}
|
||||||
|
this.LvwStatus.ListViewItemSorter = new ListViewItemComparer(e.Column, sortAscending);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void BtnMenuPS_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.PSMenu.Show(Cursor.Position.X, Cursor.Position.Y);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void assetOpenGitHubPage_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Process.Start("https://github.com/builtbybel/privatezilla");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1097
src/Privatezilla/Privatezilla/MainWindow.resx
Normal file
1097
src/Privatezilla/Privatezilla/MainWindow.resx
Normal file
File diff suppressed because it is too large
Load diff
186
src/Privatezilla/Privatezilla/Privatezilla.csproj
Normal file
186
src/Privatezilla/Privatezilla/Privatezilla.csproj
Normal file
|
@ -0,0 +1,186 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{1CF5392E-0522-49D4-8343-B732BE762086}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<RootNamespace>Privatezilla</RootNamespace>
|
||||||
|
<AssemblyName>Privatezilla</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationIcon>AppIcon.ico</ApplicationIcon>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'x64|AnyCPU'">
|
||||||
|
<OutputPath>bin\x64\</OutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<OutputPath>bin\x64\Release\</OutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'x64|x64'">
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<OutputPath>bin\x64\x64\</OutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Configuration" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.ServiceModel" />
|
||||||
|
<Reference Include="System.Transactions" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Helpers\WindowsHelper.cs" />
|
||||||
|
<Compile Include="Interfaces\IListView.cs" />
|
||||||
|
<Compile Include="Settings\Apps\AccountInfo.cs" />
|
||||||
|
<Compile Include="Settings\Apps\AppNotifications.cs" />
|
||||||
|
<Compile Include="Settings\Apps\BackgroundApps.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Calendar.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Call.cs" />
|
||||||
|
<Compile Include="Settings\Apps\CallHistory.cs" />
|
||||||
|
<Compile Include="Settings\Apps\CellularData.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Contacts.cs" />
|
||||||
|
<Compile Include="Settings\Apps\DiagnosticInformation.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Documents.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Email.cs" />
|
||||||
|
<Compile Include="Settings\Apps\FileSystem.cs" />
|
||||||
|
<Compile Include="Settings\Apps\EyeGaze.cs" />
|
||||||
|
<Compile Include="Settings\Bloatware\RemoveUWPDefaults.cs" />
|
||||||
|
<Compile Include="Settings\Defender\DisableSmartScreenStore.cs" />
|
||||||
|
<Compile Include="Settings\Edge\BlockEdgeRollout.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DisableCEIP.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\GetMoreOutOfWindows.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DisableHEIP.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DisableMSExperiments.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DisableTipsLockScreen.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\InstalledApps.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Messaging.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Microphone.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Motion.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Notifications.cs" />
|
||||||
|
<Compile Include="Settings\Apps\OtherDevices.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Pictures.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Radios.cs" />
|
||||||
|
<Compile Include="Settings\Cortana\UninstallCortana.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\InventoryCollector.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\SuggestedContent.cs" />
|
||||||
|
<Compile Include="Settings\Bloatware\RemoveUWPAll.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\SuggestedApps.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Tasks.cs" />
|
||||||
|
<Compile Include="Settings\Apps\TrackingApps.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Videos.cs" />
|
||||||
|
<Compile Include="Settings\Apps\Camera.cs" />
|
||||||
|
<Compile Include="Settings\Edge\AutoFillCredits.cs" />
|
||||||
|
<Compile Include="Settings\Edge\DisableSync.cs" />
|
||||||
|
<Compile Include="Settings\Edge\EdgeBackground.cs" />
|
||||||
|
<Compile Include="Settings\Gaming\GameBar.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DiagnosticData.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DisableAds.cs" />
|
||||||
|
<Compile Include="Settings\Cortana\DisableBing.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DisableBiometrics.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DisableCompTelemetry.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DisableFeedback.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DisableLocation.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DisableTimeline.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DisableTips.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DisableWiFi.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\HandwritingData.cs" />
|
||||||
|
<Compile Include="Helpers\RegistryHelper.cs" />
|
||||||
|
<Compile Include="Interfaces\ITreeNode.cs" />
|
||||||
|
<Compile Include="MainWindow.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="MainWindow.Designer.cs">
|
||||||
|
<DependentUpon>MainWindow.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Settings\Security\DisablePassword.cs" />
|
||||||
|
<Compile Include="Settings\Security\WindowsDRM.cs" />
|
||||||
|
<Compile Include="Settings\Updates\BlockMajorUpdates.cs" />
|
||||||
|
<Compile Include="Settings\Updates\DisableUpdates.cs" />
|
||||||
|
<Compile Include="Settings\Updates\UpdatesSharing.cs" />
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="Helpers\SettingsNode.cs" />
|
||||||
|
<Compile Include="Settings\Cortana\DisableCortana.cs" />
|
||||||
|
<Compile Include="Helpers\SetttingsBase.cs" />
|
||||||
|
<Compile Include="Settings\Privacy\DisableTelemetry.cs" />
|
||||||
|
<EmbeddedResource Include="MainWindow.resx">
|
||||||
|
<DependentUpon>MainWindow.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.es.resx" />
|
||||||
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
</Compile>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.ru.resx" />
|
||||||
|
<EmbeddedResource Include="Properties\Resources.zh.resx" />
|
||||||
|
<None Include="app.manifest" />
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="AppIcon.ico" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
31
src/Privatezilla/Privatezilla/Program.cs
Normal file
31
src/Privatezilla/Privatezilla/Program.cs
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Privatezilla
|
||||||
|
{
|
||||||
|
static class Program
|
||||||
|
{
|
||||||
|
|
||||||
|
internal static string GetCurrentVersionTostring() => new Version(Application.ProductVersion).ToString(3);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The main entry point for the application.
|
||||||
|
/// </summary>
|
||||||
|
[STAThread]
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
Application.EnableVisualStyles();
|
||||||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
|
|
||||||
|
if (Environment.OSVersion.Version.Build < 9200)
|
||||||
|
|
||||||
|
MessageBox.Show(Properties.Resources.msgAppCompatibility, "Privatezilla", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
else
|
||||||
|
Application.Run(new MainWindow());
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
36
src/Privatezilla/Privatezilla/Properties/AssemblyInfo.cs
Normal file
36
src/Privatezilla/Privatezilla/Properties/AssemblyInfo.cs
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||||
|
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||||
|
// die einer Assembly zugeordnet sind.
|
||||||
|
[assembly: AssemblyTitle("Privatezilla")]
|
||||||
|
[assembly: AssemblyDescription("The alternate Windows 10 privacy settings app")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("Builtbybel")]
|
||||||
|
[assembly: AssemblyProduct("Privatezilla")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2020")]
|
||||||
|
[assembly: AssemblyTrademark("Privatezilla")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
|
||||||
|
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
|
||||||
|
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
|
||||||
|
[assembly: Guid("1cf5392e-0522-49d4-8343-b732be762086")]
|
||||||
|
|
||||||
|
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||||
|
//
|
||||||
|
// Hauptversion
|
||||||
|
// Nebenversion
|
||||||
|
// Buildnummer
|
||||||
|
// Revision
|
||||||
|
//
|
||||||
|
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||||
|
// indem Sie "*" wie unten gezeigt eingeben:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("0.40.2")]
|
||||||
|
[assembly: AssemblyFileVersion("0.40.2")]
|
1497
src/Privatezilla/Privatezilla/Properties/Resources.Designer.cs
generated
Normal file
1497
src/Privatezilla/Privatezilla/Properties/Resources.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
635
src/Privatezilla/Privatezilla/Properties/Resources.es.resx
Normal file
635
src/Privatezilla/Privatezilla/Properties/Resources.es.resx
Normal file
|
@ -0,0 +1,635 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string"/>
|
||||||
|
<xsd:attribute name="type" type="xsd:string"/>
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string"/>
|
||||||
|
<xsd:attribute ref="xml:space"/>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string"/>
|
||||||
|
<xsd:attribute name="name" type="xsd:string"/>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1"/>
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"/>
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"/>
|
||||||
|
<xsd:attribute ref="xml:space"/>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="BtnDoPS" xml:space="preserve">
|
||||||
|
<value>Aplicar seleccionados</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="BtnSettingsAnalyze" xml:space="preserve">
|
||||||
|
<value>Analizar</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="BtnSettingsDo" xml:space="preserve">
|
||||||
|
<value>Aplicar seleccionados</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="BtnSettingsUndo" xml:space="preserve">
|
||||||
|
<value>Revertir seleccionados</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="CheckRelease" xml:space="preserve">
|
||||||
|
<value>Buscar actualizaciones</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="ChkCodePS" xml:space="preserve">
|
||||||
|
<value>Ver código</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="columnSetting" xml:space="preserve">
|
||||||
|
<value>Ajustes</value>
|
||||||
|
</data>
|
||||||
|
<data name="columnState" xml:space="preserve">
|
||||||
|
<value>Estado</value>
|
||||||
|
</data>
|
||||||
|
<data name="CommunityPkg" xml:space="preserve">
|
||||||
|
<value>Obtener paquete de la comunidad</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Help" xml:space="preserve">
|
||||||
|
<value>Guía corta</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="helpApp" xml:space="preserve">
|
||||||
|
<value>Información sobre la configuración: \r\nMueva el cursor sobre un ajuste para ver una breve explicación.
|
||||||
|
\r\nAnalizar (botón): determina qué ajustes están habilitados y configurados en su sistema o no. ¡Los cambios en el sistema no se han hecho todavía!
|
||||||
|
\r\nAplicar seleccionados (botón): esto habilitará todos los ajustes seleccionados.
|
||||||
|
\r\nRevertir seleccionados (botón): esto restaurará la configuración predeterminada de Windows 10.
|
||||||
|
\r\nConfigurado (estado): esto indica que su privacidad está protegida.
|
||||||
|
\r\nNo configurado (estado): esto indica que la configuración de Windows 10 sigue en su lugar.</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Info" xml:space="preserve">
|
||||||
|
<value>Información</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="infoApp" xml:space="preserve">
|
||||||
|
<value>La aplicación de código abierto para la configuración de la privacidad en Windows 10.
|
||||||
|
|
||||||
|
Esto no está relacionado de ninguna manera con Microsoft y es un proyecto completamente independiente.
|
||||||
|
|
||||||
|
Toda la información y los créditos sobre este proyecto están en
|
||||||
|
\tgithub.com/builtbybel/privatezilla
|
||||||
|
|
||||||
|
También puedes seguirme en
|
||||||
|
\ttwitter.com/builtbybel
|
||||||
|
|
||||||
|
☆━━━━━━━━━━━━━━━☆
|
||||||
|
Créditos de traducción a: Peter A. Cuevas H. (petercuevas.6@gmail.com)
|
||||||
|
☆━━━━━━━━━━━━━━━☆
|
||||||
|
|
||||||
|
(C#) 2020, Builtbybel</value>
|
||||||
|
<comment>infoApp</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblPS" xml:space="preserve">
|
||||||
|
<value>Scripts</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblPSHeader" xml:space="preserve">
|
||||||
|
<value>Aplicar el script de PowerShell</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblSettings" xml:space="preserve">
|
||||||
|
<value>Configuraciones</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblStatus" xml:space="preserve">
|
||||||
|
<value>Presione Analizar para comprobar los ajustes configurados.</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="msgAppCompatibility" xml:space="preserve">
|
||||||
|
<value>Estás ejecutando Privatezilla en un sistema más antiguo que Windows 10. Privatezilla está limitado a Windows 10 SOLAMENTE.</value>
|
||||||
|
</data>
|
||||||
|
<data name="msgPSSave" xml:space="preserve">
|
||||||
|
<value>Por favor, cambie a la vista de código.</value>
|
||||||
|
</data>
|
||||||
|
<data name="msgPSSelect" xml:space="preserve">
|
||||||
|
<value>Por favor, seleccione un script.</value>
|
||||||
|
</data>
|
||||||
|
<data name="msgPSSuccess" xml:space="preserve">
|
||||||
|
<value>se ha ejecutado con éxito</value>
|
||||||
|
</data>
|
||||||
|
<data name="PSBack" xml:space="preserve">
|
||||||
|
<value>Atrás</value>
|
||||||
|
</data>
|
||||||
|
<data name="PSImport" xml:space="preserve">
|
||||||
|
<value>Importar script</value>
|
||||||
|
<comment>Scripting menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSInfo" xml:space="preserve">
|
||||||
|
<value>¿Qué hace esta plantilla/script?\r\n</value>
|
||||||
|
</data>
|
||||||
|
<data name="PSMarketplace" xml:space="preserve">
|
||||||
|
<value>Visitar el Mercado</value>
|
||||||
|
<comment>Scripting menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSSaveAs" xml:space="preserve">
|
||||||
|
<value>Guardar el script actual como un nuevo script predefinido</value>
|
||||||
|
<comment>Scripting menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSViewCode" xml:space="preserve">
|
||||||
|
<value>Ver código</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUnofficial" xml:space="preserve">
|
||||||
|
<value>Estás usando una versión no oficial de Privatezilla.</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpdateAvailable" xml:space="preserve">
|
||||||
|
<value>Hay una nueva versión disponible #</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpdateAvailableURL" xml:space="preserve">
|
||||||
|
<value>\r\n¿Quieres abrir la página de @github/releases?</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpdateYourVersion" xml:space="preserve">
|
||||||
|
<value>\r\nEstás usando la versión #</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpToDate" xml:space="preserve">
|
||||||
|
<value>Actualmente no hay actualizaciones disponibles.</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsApps" xml:space="preserve">
|
||||||
|
<value>Permisos de las aplicaciones</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsBloatware" xml:space="preserve">
|
||||||
|
<value>Software innecesario</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsBloatwareInfo" xml:space="preserve">
|
||||||
|
<value>Desinflar Windows 10</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsCortana" xml:space="preserve">
|
||||||
|
<value>Cortana</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsDefender" xml:space="preserve">
|
||||||
|
<value>Windows Defender</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsEdge" xml:space="preserve">
|
||||||
|
<value>Microsoft Edge</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsGaming" xml:space="preserve">
|
||||||
|
<value>Gaming</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsPrivacy" xml:space="preserve">
|
||||||
|
<value>Privacidad</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsSecurity" xml:space="preserve">
|
||||||
|
<value>Seguridad</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsUpdates" xml:space="preserve">
|
||||||
|
<value>Actualizaciones</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsAccountInfo" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a la información de la cuenta</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsAppNotifications" xml:space="preserve">
|
||||||
|
<value>Deshabilitar las notificaciones de las aplicaciones</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsAppNotificationsInfo" xml:space="preserve">
|
||||||
|
<value>El Centro de Acción en Windows 10 recopila y muestra notificaciones y alertas de las aplicaciones tradicionales de Windows y notificaciones del sistema, junto con las generadas por las aplicaciones modernas.\nLas notificaciones se agrupan en el Centro de actividades por aplicación y hora.\nEsta configuración deshabilitará todas las notificaciones de las aplicaciones y otros remitentes en la configuración.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsBackgroundApps" xml:space="preserve">
|
||||||
|
<value>Deshabilitar las aplicaciones que se ejecutan en segundo plano</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsBackgroundAppsInfo" xml:space="preserve">
|
||||||
|
<value>Las aplicaciones de Windows 10 ya no tienen permiso para ejecutarse en segundo plano, por lo que no pueden actualizar sus mosaicos en vivo, buscar nuevos datos y recibir notificaciones.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCalendar" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones al calendario</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCall" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a llamar</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCallHistory" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones al historial de llamadas</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCamera" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a la cámara</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCellularData" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a los datos celulares</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCellularDataInfo" xml:space="preserve">
|
||||||
|
<value>Algunos dispositivos de Windows 10 tienen una tarjeta SIM y/o eSIM que le permite conectarse a una red de datos celular (también conocida como LTE o Banda Ancha), para que pueda conectarse en línea en más lugares utilizando una señal celular.\nSi no quieres que ninguna aplicación pueda usar datos celulares, puedes deshabilitarla con esta configuración.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsContacts" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a los contactos</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsDiagnosticInformation" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a los diagnósticos</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsDocuments" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a los documentos</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsEmail" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones al correo electrónico</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsEyeGaze" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones al seguimiento de los ojos</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsEyeGazeInfo" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a la interacción basada en la observación de los ojos</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsFileSystem" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones al sistema de archivos</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsFileSystemInfo" xml:space="preserve">
|
||||||
|
<value>Esta configuración deshabilitará el acceso de la aplicación al sistema de archivos. Es posible que algunas aplicaciones tengan limitadas sus funciones o que ya no funcionen.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsMessaging" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a los mensajes</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsMicrophone" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones al micrófono</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsMotion" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones al movimiento</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsNotification" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a las notificaciones</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsOtherDevices" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a otros dispositivos</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsPictures" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a las imágenes</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsRadios" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a los radios</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsTasks" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a las tareas</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsTrackingApps" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el seguimiento de los comienzos de las aplicaciones</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsTrackingAppsInfo" xml:space="preserve">
|
||||||
|
<value>Esto te permite acceder rápidamente a tu lista de aplicaciones más usadas tanto en el menú de inicio como cuando buscas en tu dispositivo.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsVideos" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el acceso de las aplicaciones a los videos</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPAll" xml:space="preserve">
|
||||||
|
<value>Eliminar todas las aplicaciones integradas</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPAllInfo" xml:space="preserve">
|
||||||
|
<value>Esto eliminará todas las aplicaciones integradas excepto Microsoft Store.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPDefaults" xml:space="preserve">
|
||||||
|
<value>Eliminar todas las aplicaciones integradas excepto las predeterminadas</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPDefaultsInfo" xml:space="preserve">
|
||||||
|
<value>Esto eliminará todas las aplicaciones incorporadas, excepto las siguientes:\nMicrosoft Store\nInstalador de aplicaciones\nCalendario\nCorreo\nCalculadora\nCámara\nSkype\nGroove Music\nMapas\nPaint 3D\nTu teléfono\nFotos\nSticky Notes\nWeather\nXbox</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableBing" xml:space="preserve">
|
||||||
|
<value>Deshabilitar Bing en la búsqueda de Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableBingInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10, por defecto, envía todo lo que buscas en el menú de inicio a sus servidores para darte resultados de las búsquedas en Bing.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableCortana" xml:space="preserve">
|
||||||
|
<value>Deshabilitar Cortana</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableCortanaInfo" xml:space="preserve">
|
||||||
|
<value>Cortana es el asistente virtual de Microsoft que viene integrado en Windows 10.\nEsta configuración deshabilitará a Cortana permanentemente e impedirá que registre y almacene sus hábitos de búsqueda y su historial.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaUninstallCortana" xml:space="preserve">
|
||||||
|
<value>Desinstalar Cortana</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaUninstallCortanaInfo" xml:space="preserve">
|
||||||
|
<value>Esto desinstalará la nueva aplicación de Cortana en Windows 10, versión 2004.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsDefenderDisableSmartScreenStore" xml:space="preserve">
|
||||||
|
<value>Deshabilitar SmartScreen para las aplicaciones de la Tienda</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsDefenderDisableSmartScreenStoreInfo" xml:space="preserve">
|
||||||
|
<value>El filtro SmartScreen de Windows Defender ayuda a proteger tu dispositivo comprobando el contenido web (URL) que utilizan las aplicaciones de Microsoft Store.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdeAutoFillCredit" xml:space="preserve">
|
||||||
|
<value>Deshabilitar la función de autocompletar para las tarjetas de crédito</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdeAutoFillCreditInfo" xml:space="preserve">
|
||||||
|
<value>La función de autocompletar de Microsoft Edge permite a los usuarios completar automáticamente la información de la tarjeta de crédito en formularios web utilizando la información almacenada previamente.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBackground" xml:space="preserve">
|
||||||
|
<value>Evita que Edge se ejecute en segundo plano</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBackgroundInfo" xml:space="preserve">
|
||||||
|
<value>En la nueva versión Chromium de Microsoft Edge, las extensiones y otros servicios pueden mantener el navegador funcionando en segundo plano incluso después de haberlo cerrado.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBlockEdgeRollout" xml:space="preserve">
|
||||||
|
<value>Bloquear la instalación del nuevo Microsoft Edge</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBlockEdgeRolloutInfo" xml:space="preserve">
|
||||||
|
<value>Esto bloqueará la instalación forzosa de la actualización de Windows 10 del nuevo navegador web Microsoft Edge basado en Chromium si no está ya instalado en el dispositivo.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeDisableSync" xml:space="preserve">
|
||||||
|
<value>Deshabilitar la sincronización de datos</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeDisableSyncInfo" xml:space="preserve">
|
||||||
|
<value>Esta configuración deshabilitará la sincronización de los datos mediante los servicios de sincronización de Microsoft.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsGamingGameBar" xml:space="preserve">
|
||||||
|
<value>Deshabilitar las funciones de la barra del juego</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsGamingGameBarInfo" xml:space="preserve">
|
||||||
|
<value>Esta configuración deshabilitará la grabación y la transmisión de los juegos en Windows.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsGamingGameBarInfoInfo" xml:space="preserve">
|
||||||
|
<value>Esto apagará las experiencias a medida con consejos y recomendaciones relevantes usando sus datos de diagnóstico. Mucha gente llamaría a esto telemetría, o incluso espionaje.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyBlockSuggestedApps" xml:space="preserve">
|
||||||
|
<value>Bloquear las aplicaciones sugeridas en el Inicio</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyBlockSuggestedAppsInfo" xml:space="preserve">
|
||||||
|
<value>Esto bloqueará las aplicaciones sugeridas que aparecen ocasionalmente en el Menú de Inicio.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDiagnosticData" xml:space="preserve">
|
||||||
|
<value>Evitar el uso de datos de diagnóstico</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDiagnosticDataInfo" xml:space="preserve">
|
||||||
|
<value>Esto apagará las experiencias a medida con consejos y recomendaciones relevantes usando sus datos de diagnóstico. Mucha gente llamaría a esto telemetría, o incluso espionaje.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableAds" xml:space="preserve">
|
||||||
|
<value>Deshabilitar la identificación de la publicidad para los anuncios relevantes</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableAdsInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 viene integrado con la publicidad. Microsoft asigna un identificador único para rastrear tu actividad en la Microsoft Store y en las aplicaciones de UWP para dirigirte con anuncios relevantes.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableBiometrics" xml:space="preserve">
|
||||||
|
<value>Deshabilitar la biometría de Windows Hello</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableBiometricsInfo" xml:space="preserve">
|
||||||
|
<value>La función biométrica de Windows Hello le permite iniciar sesión en sus dispositivos, aplicaciones, servicios en línea y redes usando su cara, iris o huella digital.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCEIP" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el Programa de Experiencia del Cliente</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCEIPInfo" xml:space="preserve">
|
||||||
|
<value>El Programa de Mejora de la Experiencia del Cliente (CEIP) es una característica que viene activada de forma predeterminada en Windows 10, que recopila y envía secretamente información de uso de hardware y software a Microsoft.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCompTelemetry" xml:space="preserve">
|
||||||
|
<value>Deshabilitar la compatibilidad de telemetría</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCompTelemetryInfo" xml:space="preserve">
|
||||||
|
<value>Este proceso consiste en recopilar periódicamente una variedad de datos técnicos sobre su computadora y su rendimiento, y enviarlos a Microsoft para su Programa de Mejora de la Experiencia del Cliente de Windows.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableFeedback" xml:space="preserve">
|
||||||
|
<value>No mostrar notificaciones de retroalimentación</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableFeedbackInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 puede también aparecer de vez en cuando y pedir una retroalimentación.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableHEIP" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el Programa de Experiencia de Ayuda</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableHEIPInfo" xml:space="preserve">
|
||||||
|
<value>El Programa para la Mejora de la Experiencia de Ayuda (HEIP) recopila y envía a Microsoft información sobre cómo utilizar la Ayuda de Windows. Esto puede revelar los problemas que tiene con su equipo.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableLocation" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el seguimiento de la ubicación</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableLocationInfo" xml:space="preserve">
|
||||||
|
<value>Dondequiera que vayas, Windows 10 sabe que estás ahí. Cuando el Rastreo de ubicación está activado, Windows y sus aplicaciones pueden detectar la ubicación actual de su computadora o dispositivo.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableMSExperiments" xml:space="preserve">
|
||||||
|
<value>Deshabilitar la configuración experimental</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableMSExperimentsInfo" xml:space="preserve">
|
||||||
|
<value>En ciertas versiones de Windows 10, los usuarios podían dejar que Microsoft experimentara con el sistema para estudiar las preferencias de los usuarios o el comportamiento de los dispositivos. Esto permite a Microsoft "realizar experimentos" con la configuración de su PC y debería ser deshabilitado con esta configuración.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTelemetry" xml:space="preserve">
|
||||||
|
<value>Deshabilitar la telemetría</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTelemetryInfo" xml:space="preserve">
|
||||||
|
<value>Esto evitará que Windows recopile información de uso y establezca los datos de diagnóstico en Básico, que es el nivel más bajo disponible para todas las versiones de consumo de Windows 10.\nLos servicios diagtrack y dmwappushservice también serán deshabilitados.\nNota: ¡los datos de diagnóstico deben ser configurados como Completos para obtener una vista previa del Programa Interno de Windows!</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTimeline" xml:space="preserve">
|
||||||
|
<value>Deshabilitar la función de Línea de tiempo</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTimelineInfo" xml:space="preserve">
|
||||||
|
<value>Esto recopila el historial de las actividades que ha realizado, incluyendo los archivos que ha abierto y las páginas web que ha visto en Edge.\nSi no le interesa usar la Línea de tiempo, o simplemente no quiere que Windows 10 recopile sus actividades e información confidencial, puede deshabilitar completamente la Línea de tiempo con esta configuración.\nNota: se requiere un reinicio del sistema para que los cambios surtan efecto.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTips" xml:space="preserve">
|
||||||
|
<value>Deshabilitar los consejos de Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTipsInfo" xml:space="preserve">
|
||||||
|
<value>Ya no verás los consejos de Windows, por ejemplo, Spotlight y Características del Consumidor, Notificaciones de Retroalimentación, etc.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTipsLockScreen" xml:space="preserve">
|
||||||
|
<value>Deshabilitar los anuncios y enlaces en la pantalla de bloqueo</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTipsLockScreenInfo" xml:space="preserve">
|
||||||
|
<value>Esta configuración configurará las opciones de fondo de la pantalla de bloqueo en una imagen y deshabilitará los consejos, datos curiosos y trucos de Microsoft.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableWiFi" xml:space="preserve">
|
||||||
|
<value>Deshabilitar Wi-Fi Sense</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableWiFiInfo" xml:space="preserve">
|
||||||
|
<value>Debería al menos impedir que su PC envíe su contraseña de Wi-Fi.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyGetMoreOutOfWindows" xml:space="preserve">
|
||||||
|
<value>Deshabilitar Obtener aún más de Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyGetMoreOutOfWindowsInfo" xml:space="preserve">
|
||||||
|
<value>Las versiones recientes de Windows 10 muestran ocasionalmente una fastidiosa ventana con la leyenda "Obtenga aún más de Windows" cuando inicia sesión en su cuenta de usuario. Si le resulta molesto, puede desactivarlo con esta configuración.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyHandwritingData" xml:space="preserve">
|
||||||
|
<value>Evitar el uso de datos de escritura</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyHandwritingDataInfo" xml:space="preserve">
|
||||||
|
<value>Si no quieres que Windows conozca y registre todas las palabras exclusivas que usas, como nombres y jerga profesional, sólo tienes que activar este ajuste.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInstalledApps" xml:space="preserve">
|
||||||
|
<value>Bloquear la instalación automática de aplicaciones</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInstalledAppsInfo" xml:space="preserve">
|
||||||
|
<value>Cuando inicie sesión en un nuevo perfil o dispositivo de Windows 10 por primera vez, es posible que note varias aplicaciones y juegos de terceros que aparecen de forma destacada en el menú Inicio.\nEsta configuración impedirá la instalación automática de las aplicaciones sugeridas de Windows 10.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInventoryCollector" xml:space="preserve">
|
||||||
|
<value>Desactivar el Recolector de inventario</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInventoryCollectorInfo" xml:space="preserve">
|
||||||
|
<value>El Recolector de inventario hace un inventario de las aplicaciones, almacena los dispositivos y los controladores en el sistema y envía la información a Microsoft. Esta información se utiliza para ayudar a diagnosticar problemas de compatibilidad.\nNota: esta configuración no tiene efecto si el Programa de mejora de la experiencia del cliente está desactivado. El Recolector de inventarios estará apagado.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacySuggestedContent" xml:space="preserve">
|
||||||
|
<value>Bloquear el contenido sugerido en la aplicación de Ajustes</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacySuggestedContentInfo" xml:space="preserve">
|
||||||
|
<value>Para ayudar a los nuevos usuarios de Windows 10 a aprender las nuevas características de Windows 10, Microsoft ha comenzado a mostrar el contenido sugerido a través de un enorme banner en la aplicación de Configuración de Windows 10.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityDisablePassword" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el botón de revelar la contraseña</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityDisablePasswordInfo" xml:space="preserve">
|
||||||
|
<value>El botón de revelación de contraseña puede utilizarse para mostrar una contraseña introducida y debería deshabilitarse con este ajuste.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityWindowsDRM" xml:space="preserve">
|
||||||
|
<value>Deshabilitar DRM en el Reproductor Multimedia de Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityWindowsDRMInfo" xml:space="preserve">
|
||||||
|
<value>Si la Administración de Derechos Digitales de Windows Media no puede acceder a Internet (o a la intranet) para la adquisición de licencias y actualizaciones de seguridad, puede impedirlo con esta configuración.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesBlockMajorUpdates" xml:space="preserve">
|
||||||
|
<value>Bloquear las principales actualizaciones de Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesBlockMajorUpdatesInfo" xml:space="preserve">
|
||||||
|
<value>Este ajuste llamado "TargetReleaseVersionInfo" evita que se instalen las actualizaciones de las características de Windows 10 hasta que la versión especificada llegue al final del soporte.\nSe especificará la versión de Windows 10 actualmente utilizada como la versión de lanzamiento de destino de Windows 10 en la que desea que esté el sistema (sólo admite las versiones Pro y Enterprise).</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesDisableUpdates" xml:space="preserve">
|
||||||
|
<value>Deshabilitar las actualizaciones forzadas de Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesDisableUpdatesInfo" xml:space="preserve">
|
||||||
|
<value>Esto notificará cuando las actualizaciones estén disponibles, y tú decidirás cuándo instalarlas.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesUpdateSharing" xml:space="preserve">
|
||||||
|
<value>Deshabilitar el uso compartido de actualizaciones de Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesUpdateSharingInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 permite descargar actualizaciones de varias fuentes para acelerar el proceso de actualización del sistema operativo. Esto deshabilitará el compartir tus archivos por otros y exponer tu dirección IP a computadoras al azar.</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoPSApply" xml:space="preserve">
|
||||||
|
<value>Aplicar</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoPSProcessing" xml:space="preserve">
|
||||||
|
<value>Procesando</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoSettings" xml:space="preserve">
|
||||||
|
<value>¿Realmente quieres revertir todos los ajustes seleccionados al estado por defecto de Windows 10?</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoWait" xml:space="preserve">
|
||||||
|
<value>Por favor, espere...</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFailedApply" xml:space="preserve">
|
||||||
|
<value>No aplicado</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFailedConfigure" xml:space="preserve">
|
||||||
|
<value>No configurado</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFinishAnalyze" xml:space="preserve">
|
||||||
|
<value>Análisis terminado.</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFinishApply" xml:space="preserve">
|
||||||
|
<value>Aplicación completada.</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFinishUndo" xml:space="preserve">
|
||||||
|
<value>Reversión completada.</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusSuccessApply" xml:space="preserve">
|
||||||
|
<value>Aplicado</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusSuccessConfigure" xml:space="preserve">
|
||||||
|
<value>Configurado</value>
|
||||||
|
</data>
|
||||||
|
<data name="TxtPSInfo" xml:space="preserve">
|
||||||
|
<value>Bienvenido al Editor de políticas modernas, que le permite aplicar políticas de grupo y configuraciones personalizadas en forma de scripts y plantillas de PowerShell (scripts empaquetados).
|
||||||
|
|
||||||
|
Seleccione un script para ver su descripción.
|
||||||
|
|
||||||
|
Para comprobar el código en busca de vulnerabilidades, haga clic en "Ver código".
|
||||||
|
|
||||||
|
Para obtener nuevos objetos (plantillas, scripts, etc.) visite el Mercado en el menú superior derecho. Privatezilla utiliza el Mercado de la aplicación "SharpApp". Dado que esta aplicación es del mismo desarrollador y los scripts se basan en Powershell, también son compatibles entre sí.</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
</root>
|
743
src/Privatezilla/Privatezilla/Properties/Resources.resx
Normal file
743
src/Privatezilla/Privatezilla/Properties/Resources.resx
Normal file
|
@ -0,0 +1,743 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="BtnDoPS" xml:space="preserve">
|
||||||
|
<value>Apply selected</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="BtnSettingsAnalyze" xml:space="preserve">
|
||||||
|
<value>Analyze</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="BtnSettingsDo" xml:space="preserve">
|
||||||
|
<value>Apply selected</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="BtnSettingsUndo" xml:space="preserve">
|
||||||
|
<value>Revert selected</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="CheckRelease" xml:space="preserve">
|
||||||
|
<value>Check for updates</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="ChkCodePS" xml:space="preserve">
|
||||||
|
<value>View Code</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="columnSetting" xml:space="preserve">
|
||||||
|
<value>Setting</value>
|
||||||
|
<comment>TreeView</comment>
|
||||||
|
</data>
|
||||||
|
<data name="columnState" xml:space="preserve">
|
||||||
|
<value>State</value>
|
||||||
|
<comment>TreeView</comment>
|
||||||
|
</data>
|
||||||
|
<data name="CommunityPkg" xml:space="preserve">
|
||||||
|
<value>Get community package</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Help" xml:space="preserve">
|
||||||
|
<value>Short Guide</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="helpApp" xml:space="preserve">
|
||||||
|
<value>Info about a setting: \r\nMove the cursor over a setting to view a brief explanation
|
||||||
|
\r\nAnalyze (Button): Determines which settings are enabled and configured on your system or not. NO system changes are done yet!
|
||||||
|
\r\nApply selected (Button): This will enable all selected settings.
|
||||||
|
\r\nRevert selected (Button): This will restore the default Windows 10 settings.
|
||||||
|
\r\nConfigured (State): This indicates your privacy is protected.
|
||||||
|
\r\nNot Configured (State): This indicates that the Windows 10 settings are in place.</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Info" xml:space="preserve">
|
||||||
|
<value>Info</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="infoApp" xml:space="preserve">
|
||||||
|
<value>
|
||||||
|
The open source Windows 10 privacy settings app.
|
||||||
|
|
||||||
|
This is in no way related to Microsoft and a completely independent project.
|
||||||
|
|
||||||
|
All infos and credits about this project on
|
||||||
|
\tgithub.com/builtbybel/privatezilla
|
||||||
|
|
||||||
|
You can also follow me on
|
||||||
|
\ttwitter.com/builtbybel
|
||||||
|
|
||||||
|
(C#) 2020, Builtbybel</value>
|
||||||
|
<comment>About the app
|
||||||
|
Add translation credits here!</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblPS" xml:space="preserve">
|
||||||
|
<value>Scripts</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblPSHeader" xml:space="preserve">
|
||||||
|
<value>Apply PowerShell Script</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblSettings" xml:space="preserve">
|
||||||
|
<value>Settings</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblStatus" xml:space="preserve">
|
||||||
|
<value>Press Analyze to check for configured settings.</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="msgAppCompatibility" xml:space="preserve">
|
||||||
|
<value>You are running Privatezilla on a system older than Windows 10. Privatezilla is limited to Windows 10 ONLY.</value>
|
||||||
|
</data>
|
||||||
|
<data name="msgPSSave" xml:space="preserve">
|
||||||
|
<value>Please switch to code view.</value>
|
||||||
|
<comment>Scripts (optional)</comment>
|
||||||
|
</data>
|
||||||
|
<data name="msgPSSelect" xml:space="preserve">
|
||||||
|
<value>Please select a script.</value>
|
||||||
|
<comment>Scripts (optional)</comment>
|
||||||
|
</data>
|
||||||
|
<data name="msgPSSuccess" xml:space="preserve">
|
||||||
|
<value>has been successfully executed</value>
|
||||||
|
<comment>Scripts (optional)</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSBack" xml:space="preserve">
|
||||||
|
<value>Back</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSImport" xml:space="preserve">
|
||||||
|
<value>Import script</value>
|
||||||
|
<comment>Scripting menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSInfo" xml:space="preserve">
|
||||||
|
<value>What does this template/script do?\r\n</value>
|
||||||
|
<comment>Scripting menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSMarketplace" xml:space="preserve">
|
||||||
|
<value>Visit Marketplace</value>
|
||||||
|
<comment>Scripting menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSSaveAs" xml:space="preserve">
|
||||||
|
<value>Save current script as new preset script</value>
|
||||||
|
<comment>Scripting menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSViewCode" xml:space="preserve">
|
||||||
|
<value>View code</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUnofficial" xml:space="preserve">
|
||||||
|
<value>You are using an unoffical version of Privatezilla.</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpdateAvailable" xml:space="preserve">
|
||||||
|
<value>There is a new version available #</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpdateAvailableURL" xml:space="preserve">
|
||||||
|
<value>\r\nDo you want to open the @github/releases page?</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpdateYourVersion" xml:space="preserve">
|
||||||
|
<value>\r\nYour are using version #</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpToDate" xml:space="preserve">
|
||||||
|
<value>There are currently no updates available.</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsApps" xml:space="preserve">
|
||||||
|
<value>App permissions</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsBloatware" xml:space="preserve">
|
||||||
|
<value>Bloatware</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsBloatwareInfo" xml:space="preserve">
|
||||||
|
<value>Debloat Windows 10</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsCortana" xml:space="preserve">
|
||||||
|
<value>Cortana</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsDefender" xml:space="preserve">
|
||||||
|
<value>Windows Defender</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsEdge" xml:space="preserve">
|
||||||
|
<value>Microsoft Edge</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsGaming" xml:space="preserve">
|
||||||
|
<value>Gaming</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsPrivacy" xml:space="preserve">
|
||||||
|
<value>Privacy</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsSecurity" xml:space="preserve">
|
||||||
|
<value>Security</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsUpdates" xml:space="preserve">
|
||||||
|
<value>Updates</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsAccountInfo" xml:space="preserve">
|
||||||
|
<value>Disable app access to account info</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsAppNotifications" xml:space="preserve">
|
||||||
|
<value>Disable app notifications</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsAppNotificationsInfo" xml:space="preserve">
|
||||||
|
<value>The Action Center in Windows 10 collects and shows notifications and alerts from traditional Windows applications and system notifications, alongside those generated from modern apps.\nNotifications are then grouped in the Action Center by app and time.\nThis setting will disable all notifications from apps and other senders in settings.</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsBackgroundApps" xml:space="preserve">
|
||||||
|
<value>Disable apps running in background</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsBackgroundAppsInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 apps have no more permission to run in the background so they can't update their live tiles, fetch new data, and receive notifications.</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCalendar" xml:space="preserve">
|
||||||
|
<value>Disable app access to calendar</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCall" xml:space="preserve">
|
||||||
|
<value>Disable app access to call</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCallHistory" xml:space="preserve">
|
||||||
|
<value>Disable app access to call history</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCamera" xml:space="preserve">
|
||||||
|
<value>Disable app access to camera</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCellularData" xml:space="preserve">
|
||||||
|
<value>Disable app access to cellular data</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCellularDataInfo" xml:space="preserve">
|
||||||
|
<value>Some Windows 10 devices have a SIM card and/or eSIM in them that lets you connect to a cellular data network (aka: LTE or Broadband), so you can get online in more places by using a cellular signal.\nIf you do not want any apps to be allowed to use cellular data, you can disable it with this setting.</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsContacts" xml:space="preserve">
|
||||||
|
<value>Disable app access to contacts</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsDiagnosticInformation" xml:space="preserve">
|
||||||
|
<value>Disable app access to diagnostics</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsDocuments" xml:space="preserve">
|
||||||
|
<value>Disable app access to documents</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsEmail" xml:space="preserve">
|
||||||
|
<value>Disable app access to email</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsEyeGaze" xml:space="preserve">
|
||||||
|
<value>Disable app access to eye tracking</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsEyeGazeInfo" xml:space="preserve">
|
||||||
|
<value>Disable app access to eye-gaze-based interaction</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsFileSystem" xml:space="preserve">
|
||||||
|
<value>Disable app access to file system</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsFileSystemInfo" xml:space="preserve">
|
||||||
|
<value>This setting will disable app access to file system. Some apps may be restricted in their function or may no longer work at all.</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsMessaging" xml:space="preserve">
|
||||||
|
<value>Disable app access to messaging</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsMicrophone" xml:space="preserve">
|
||||||
|
<value>Disable app access to microphone</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsMotion" xml:space="preserve">
|
||||||
|
<value>Disable app access to motion</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsNotification" xml:space="preserve">
|
||||||
|
<value>Disable app access to notifications</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsOtherDevices" xml:space="preserve">
|
||||||
|
<value>Disable app access to other devices</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsPictures" xml:space="preserve">
|
||||||
|
<value>Disable app access to pictures</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsRadios" xml:space="preserve">
|
||||||
|
<value>Disable app access to radios</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsTasks" xml:space="preserve">
|
||||||
|
<value>Disable app access to tasks</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsTrackingApps" xml:space="preserve">
|
||||||
|
<value>Disable tracking of app starts</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsTrackingAppsInfo" xml:space="preserve">
|
||||||
|
<value>This allows you to quickly have access to your list of Most used apps both in the Start menu and when you search your device."</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsVideos" xml:space="preserve">
|
||||||
|
<value>Disable app access to videos</value>
|
||||||
|
<comment>Settings > Apps</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPAll" xml:space="preserve">
|
||||||
|
<value>Remove all built-in apps</value>
|
||||||
|
<comment>Settings > Bloatware</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPAllInfo" xml:space="preserve">
|
||||||
|
<value>This will remove all built-in apps except Microsoft Store.</value>
|
||||||
|
<comment>Settings > Bloatware</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPDefaults" xml:space="preserve">
|
||||||
|
<value>Remove all built-in apps except defaults</value>
|
||||||
|
<comment>Settings > Bloatware</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPDefaultsInfo" xml:space="preserve">
|
||||||
|
<value>This will remove all built-in apps except the following:\nMicrosoft Store\nApp Installer\nCalendar\nMail\nCalculator\nCamera\nSkype\nGroove Music\nMaps\nPaint 3D\nYour Phone\nPhotos\nSticky Notes\nWeather\nXbox</value>
|
||||||
|
<comment>Settings > Bloatware</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableBing" xml:space="preserve">
|
||||||
|
<value>Disable Bing in Windows Search</value>
|
||||||
|
<comment>Settings > Cortana</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableBingInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10, by default, sends everything you search for in the Start Menu to their servers to give you results from Bing search.</value>
|
||||||
|
<comment>Settings > Cortana</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableCortana" xml:space="preserve">
|
||||||
|
<value>Disable Cortana</value>
|
||||||
|
<comment>Settings > Cortana</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableCortanaInfo" xml:space="preserve">
|
||||||
|
<value>Cortana is Microsoft's virtual assistant that comes integrated into Windows 10.\nThis setting will disable Cortana permanently and prevent it from recording and storing your search habits and history.</value>
|
||||||
|
<comment>Settings > Cortana</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaUninstallCortana" xml:space="preserve">
|
||||||
|
<value>Uninstall Cortana</value>
|
||||||
|
<comment>Settings > Cortana</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaUninstallCortanaInfo" xml:space="preserve">
|
||||||
|
<value>This will uninstall the new Cortana app on Windows 10, version 2004.</value>
|
||||||
|
<comment>Settings > Cortana</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsDefenderDisableSmartScreenStore" xml:space="preserve">
|
||||||
|
<value>Disable SmartScreen for Store Apps</value>
|
||||||
|
<comment>Settings > Defender</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsDefenderDisableSmartScreenStoreInfo" xml:space="preserve">
|
||||||
|
<value>Windows Defender SmartScreen Filter helps protect your device by checking web content (URLs) that Microsoft Store apps use.</value>
|
||||||
|
<comment>Settings > Defender</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdeAutoFillCredit" xml:space="preserve">
|
||||||
|
<value>Disable AutoFill for credit cards</value>
|
||||||
|
<comment>Settings > Edge</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdeAutoFillCreditInfo" xml:space="preserve">
|
||||||
|
<value>Microsoft Edge's AutoFill feature lets users auto complete credit card information in web forms using previously stored information.</value>
|
||||||
|
<comment>Settings > Edge</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBackground" xml:space="preserve">
|
||||||
|
<value>Prevent Edge running in background</value>
|
||||||
|
<comment>Settings > Edge</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBackgroundInfo" xml:space="preserve">
|
||||||
|
<value>On the new Chromium version of Microsoft Edge, extensions and other services can keep the browser running in the background even after it's closed.</value>
|
||||||
|
<comment>Settings > Edge</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBlockEdgeRollout" xml:space="preserve">
|
||||||
|
<value>Block Installation of New Microsoft Edge</value>
|
||||||
|
<comment>Settings > Edge</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBlockEdgeRolloutInfo" xml:space="preserve">
|
||||||
|
<value>This will block Windows 10 Update Force Installing of the new Chromium-based Microsoft Edge web browser if it's not installed already on the device.</value>
|
||||||
|
<comment>Settings > Edge</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeDisableSync" xml:space="preserve">
|
||||||
|
<value>Disable synchronization of data</value>
|
||||||
|
<comment>Settings > Edge</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeDisableSyncInfo" xml:space="preserve">
|
||||||
|
<value>This setting will disable synchronization of data using Microsoft sync services.</value>
|
||||||
|
<comment>Settings > Edge</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsGamingGameBar" xml:space="preserve">
|
||||||
|
<value>Disable Game Bar features</value>
|
||||||
|
<comment>Settings > Gaming</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsGamingGameBarInfo" xml:space="preserve">
|
||||||
|
<value>This setting will disable the Windows Game Recording and Broadcasting.</value>
|
||||||
|
<comment>Settings > Gaming</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsGamingGameBarInfoInfo" xml:space="preserve">
|
||||||
|
<value>This will turn off tailored experiences with relevant tips and recommendations by using your diagnostics data. Many people would call this telemetry, or even spying.</value>
|
||||||
|
<comment>Settings > Gaming</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyBlockSuggestedApps" xml:space="preserve">
|
||||||
|
<value>Block suggested apps in Start</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyBlockSuggestedAppsInfo" xml:space="preserve">
|
||||||
|
<value>This will block the Suggested Apps that occasionally appear on the Start menu.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDiagnosticData" xml:space="preserve">
|
||||||
|
<value>Prevent using diagnostic data</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDiagnosticDataInfo" xml:space="preserve">
|
||||||
|
<value>This will turn off tailored experiences with relevant tips and recommendations by using your diagnostics data. Many people would call this telemetry, or even spying.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableAds" xml:space="preserve">
|
||||||
|
<value>Disable Advertising ID for Relevant Ads</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableAdsInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 comes integrated with advertising. Microsoft assigns a unique identificator to track your activity in the Microsoft Store and on UWP apps to target you with relevant ads.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableBiometrics" xml:space="preserve">
|
||||||
|
<value>Disable Windows Hello Biometrics</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableBiometricsInfo" xml:space="preserve">
|
||||||
|
<value>Windows Hello biometrics lets you sign in to your devices, apps, online services, and networks using your face, iris, or fingerprint.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCEIP" xml:space="preserve">
|
||||||
|
<value>Disable Customer Experience Program</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCEIPInfo" xml:space="preserve">
|
||||||
|
<value>The Customer Experience Improvement Program (CEIP) is a feature that comes enabled by default on Windows 10, and it secretly collects and submits hardware and software usage information to Microsoft.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCompTelemetry" xml:space="preserve">
|
||||||
|
<value>Disable Compatibility Telemetry</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCompTelemetryInfo" xml:space="preserve">
|
||||||
|
<value>This process is periodically collecting a variety of technical data about your computer and its performance and sending it to Microsoft for its Windows Customer Experience Improvement Program.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableFeedback" xml:space="preserve">
|
||||||
|
<value>Do not show feedback notifications</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableFeedbackInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 may also pop up from time to time and ask for feedback.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableHEIP" xml:space="preserve">
|
||||||
|
<value>Disable Help Experience Program</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableHEIPInfo" xml:space="preserve">
|
||||||
|
<value>The Help Experience Improvement Program (HEIP) collects and send to Microsoft information about how you use Windows Help. This might reveal what problems you are having with your computer.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableLocation" xml:space="preserve">
|
||||||
|
<value>Disable Location tracking</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableLocationInfo" xml:space="preserve">
|
||||||
|
<value>Wherever you go, Windows 10 knows you're there. When Location Tracking is turned on, Windows and its apps are allowed to detect the current location of your computer or device.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableMSExperiments" xml:space="preserve">
|
||||||
|
<value>Disable Settings Experimentation</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableMSExperimentsInfo" xml:space="preserve">
|
||||||
|
<value>In certain builds of Windows 10, users could let Microsoft experiment with the system to study user preferences or device behavior. This allows Microsoft to “conduct experiments” with the settings on your PC and should be disabled with this setting.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTelemetry" xml:space="preserve">
|
||||||
|
<value>Disable Telemetry</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTelemetryInfo" xml:space="preserve">
|
||||||
|
<value>This will prevent Windows from collecting usage information and setting diagnostic data to Basic, which is the lowest level available for all consumer versions of Windows 10.\nThe services diagtrack & dmwappushservice will also be disabled.\nNOTE: Diagnostic Data must be set to Full to get preview builds from Windows-Insider-Program!</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTimeline" xml:space="preserve">
|
||||||
|
<value>Disable Timeline feature</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTimelineInfo" xml:space="preserve">
|
||||||
|
<value>This collects a history of activities you've performed, including files you've opened and web pages you've viewed in Edge.\nIf Timeline isn’t for you, or you simply don’t want Windows 10 collecting your sensitive activities and information, you can disable Timeline completely with this setting.\nNote: A system reboot is required for the changes to take effect.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTips" xml:space="preserve">
|
||||||
|
<value>Disable Windows Tips</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTipsInfo" xml:space="preserve">
|
||||||
|
<value>You will no longer see Windows Tips, e.g. Spotlight and Consumer Features, Feedback Notifications etc.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTipsLockScreen" xml:space="preserve">
|
||||||
|
<value>Disable Ads and Links on Lock Screen</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTipsLockScreenInfo" xml:space="preserve">
|
||||||
|
<value>This setting will set your lock screen background options to a picture and turn off tips, fun facts and tricks from Microsoft.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableWiFi" xml:space="preserve">
|
||||||
|
<value>Disable Wi-Fi Sense</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableWiFiInfo" xml:space="preserve">
|
||||||
|
<value>You should at least stop your PC from sending your Wi-Fi password.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyGetMoreOutOfWindows" xml:space="preserve">
|
||||||
|
<value>Disable Get Even More Out of Windows</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyGetMoreOutOfWindowsInfo" xml:space="preserve">
|
||||||
|
<value>Recent Windows 10 versions occasionally display a nag screen "Get Even More Out of Windows" when you sign-in to your user account. If you find it annoying, you can disable it with this setting.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyHandwritingData" xml:space="preserve">
|
||||||
|
<value>Prevent using handwriting data</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyHandwritingDataInfo" xml:space="preserve">
|
||||||
|
<value>If you don’t want Windows to know and record all unique words that you use, like names and professional jargon, just enable this setting.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInstalledApps" xml:space="preserve">
|
||||||
|
<value>Block automatic Installation of apps</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInstalledAppsInfo" xml:space="preserve">
|
||||||
|
<value>When you sign-in to a new Windows 10 profile or device for the first time, chance is that you notice several third-party applications and games listed prominently in the Start menu.\nThis setting will block automatic Installation of suggested Windows 10 apps.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInventoryCollector" xml:space="preserve">
|
||||||
|
<value>Disable Inventory Collector</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInventoryCollectorInfo" xml:space="preserve">
|
||||||
|
<value>The Inventory Collector inventories applications files devices and drivers on the system and sends the information to Microsoft. This information is used to help diagnose compatibility problems.\nNote: This setting setting has no effect if the Customer Experience Improvement Program is turned off. The Inventory Collector will be off.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacySuggestedContent" xml:space="preserve">
|
||||||
|
<value>Block suggested content in Settings app</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacySuggestedContentInfo" xml:space="preserve">
|
||||||
|
<value>To help new Windows 10 users to learn new features of Windows 10, Microsoft has started showing suggested content via a huge banner in Windows 10 Setting Apps.</value>
|
||||||
|
<comment>Settings > Privacy</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityDisablePassword" xml:space="preserve">
|
||||||
|
<value>Disable password reveal button</value>
|
||||||
|
<comment>Settings > Security</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityDisablePasswordInfo" xml:space="preserve">
|
||||||
|
<value>The password reveal button can be used to display an entered password and should be disabled with this setting.</value>
|
||||||
|
<comment>Settings > Security</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityWindowsDRM" xml:space="preserve">
|
||||||
|
<value>Disable DRM in Windows Media Player</value>
|
||||||
|
<comment>Settings > Security</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityWindowsDRMInfo" xml:space="preserve">
|
||||||
|
<value>If the Windows Media Digital Rights Management should not get access to the Internet (or intranet) for license acquisition and security upgrades, you can prevent it with this setting.</value>
|
||||||
|
<comment>Settings > Security</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesBlockMajorUpdates" xml:space="preserve">
|
||||||
|
<value>Block major Windows updates</value>
|
||||||
|
<comment>Settings > Updates</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesBlockMajorUpdatesInfo" xml:space="preserve">
|
||||||
|
<value>This setting called "TargetReleaseVersionInfo" prevents Windows 10 feature updates from being installed until the specified version reaches the end of support.\nIt will specify your currently used Windows 10 version as the target release version of Windows 10 that you wish the system to be on (supports only Pro and enterprise versions).</value>
|
||||||
|
<comment>Settings > Updates</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesDisableUpdates" xml:space="preserve">
|
||||||
|
<value>Disable forced Windows updates</value>
|
||||||
|
<comment>Settings > Updates</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesDisableUpdatesInfo" xml:space="preserve">
|
||||||
|
<value>This will notify when updates are available, and you decide when to install them.</value>
|
||||||
|
<comment>Settings > Updates</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesUpdateSharing" xml:space="preserve">
|
||||||
|
<value>Disable Windows updates sharing</value>
|
||||||
|
<comment>Settings > Updates</comment>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesUpdateSharingInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 lets you download updates from several sources to speed up the process of updating the operating system. This will disable sharing your files by others and exposing your IP address to random computers.</value>
|
||||||
|
<comment>Settings > Updates</comment>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoPSApply" xml:space="preserve">
|
||||||
|
<value>Apply</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoPSProcessing" xml:space="preserve">
|
||||||
|
<value>Processing</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoWait" xml:space="preserve">
|
||||||
|
<value>Please wait ...</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFailedApply" xml:space="preserve">
|
||||||
|
<value>Not applied</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFailedConfigure" xml:space="preserve">
|
||||||
|
<value>Not configured</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFinishAnalyze" xml:space="preserve">
|
||||||
|
<value>Analysis complete.</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFinishApply" xml:space="preserve">
|
||||||
|
<value>Applying complete.</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFinishUndo" xml:space="preserve">
|
||||||
|
<value>Reverting complete.</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusSuccessApply" xml:space="preserve">
|
||||||
|
<value>Applied</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusSuccessConfigure" xml:space="preserve">
|
||||||
|
<value>Configured</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusUndoSettings" xml:space="preserve">
|
||||||
|
<value>Do you really want to revert all selected settings to Windows 10 default state?</value>
|
||||||
|
</data>
|
||||||
|
<data name="TxtPSInfo" xml:space="preserve">
|
||||||
|
<value>Welcome to the Modern Policy Editor, which allows you to apply group policies and custom settings in the form of PowerShell scripts and templates (bundled scripts).
|
||||||
|
|
||||||
|
Select a script to view it's description.
|
||||||
|
|
||||||
|
To check the code for vulnerabilities click on "View code".
|
||||||
|
|
||||||
|
To obtain new objects (templates, scripts etc.) visit the Marketplace in the upper right menu. Privatezilla uses the Marketplace of the app "SharpApp". Since this app is from the same developer and the scripting is based upon Powershell, they are also compatible with each other.</value>
|
||||||
|
<comment>GUI </comment>
|
||||||
|
</data>
|
||||||
|
</root>
|
633
src/Privatezilla/Privatezilla/Properties/Resources.ru.resx
Normal file
633
src/Privatezilla/Privatezilla/Properties/Resources.ru.resx
Normal file
|
@ -0,0 +1,633 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="BtnDoPS" xml:space="preserve">
|
||||||
|
<value>Применить выбранное</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="BtnSettingsAnalyze" xml:space="preserve">
|
||||||
|
<value>Анализировать</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="BtnSettingsDo" xml:space="preserve">
|
||||||
|
<value>Применить выбранное</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="BtnSettingsUndo" xml:space="preserve">
|
||||||
|
<value>Восстановить выбранное</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="CheckRelease" xml:space="preserve">
|
||||||
|
<value>Проверить обновления</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="ChkCodePS" xml:space="preserve">
|
||||||
|
<value>Просмотреть код</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="columnSetting" xml:space="preserve">
|
||||||
|
<value>Настройки</value>
|
||||||
|
</data>
|
||||||
|
<data name="columnState" xml:space="preserve">
|
||||||
|
<value>Состояние</value>
|
||||||
|
</data>
|
||||||
|
<data name="CommunityPkg" xml:space="preserve">
|
||||||
|
<value>Получить пакет сообщества</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Help" xml:space="preserve">
|
||||||
|
<value>Помощь</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="helpApp" xml:space="preserve">
|
||||||
|
<value>Информация о настройке: \r\nНаведите курсор, чтобы просмотреть краткую информацию.
|
||||||
|
\r\nАнализировать (Кнопка): определяет, какие параметры включены и настроены в вашей системе. Никаких системных изменений пока не сделано!
|
||||||
|
\r\nПрименить выбранное (Кнопка): активирует все выбранные вами настройки.
|
||||||
|
\r\nВосстановить выбранное (Кнопка): это восстановит настройки Windows 10 по умолчанию.
|
||||||
|
\r\nНастроено (Состояние): указывает, что ваша конфиденциальность защищена.
|
||||||
|
\r\nНе настроено (Состояние): это означает, что настройки Windows 10 не изменены.</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Info" xml:space="preserve">
|
||||||
|
<value>Инфо</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="infoApp" xml:space="preserve">
|
||||||
|
<value>Приложение для настройки конфиденциальности Windows 10 с открытым исходным кодом.
|
||||||
|
|
||||||
|
Проект никак не связан с Microsoft и является полностью независимым.
|
||||||
|
|
||||||
|
Вся информация и кредиты об этом проекте на
|
||||||
|
\tgithub.com/builtbybel/privatezilla
|
||||||
|
|
||||||
|
Вы также можете подписаться на меня
|
||||||
|
\ttwitter.com/builtbybel
|
||||||
|
|
||||||
|
Перевод: Almanex
|
||||||
|
|
||||||
|
(C #) 2020, Builtbybel</value>
|
||||||
|
<comment>infoApp</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblPS" xml:space="preserve">
|
||||||
|
<value>Сценарий</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblPSHeader" xml:space="preserve">
|
||||||
|
<value>Применить сценарий PowerShell</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblSettings" xml:space="preserve">
|
||||||
|
<value>Параметр</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblStatus" xml:space="preserve">
|
||||||
|
<value>Нажмите Анализировать, чтобы проверить настройку параметров.</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="msgAppCompatibility" xml:space="preserve">
|
||||||
|
<value>Используйте Privatezilla только в ОС Windows 10. Privatezilla ограничена ТОЛЬКО Windows 10.</value>
|
||||||
|
</data>
|
||||||
|
<data name="msgPSSave" xml:space="preserve">
|
||||||
|
<value>Пожалуйста, переключитесь в режим просмотра кода.</value>
|
||||||
|
</data>
|
||||||
|
<data name="msgPSSelect" xml:space="preserve">
|
||||||
|
<value>Пожалуйста, выберите сценарий.</value>
|
||||||
|
</data>
|
||||||
|
<data name="msgPSSuccess" xml:space="preserve">
|
||||||
|
<value>был успешно выполнен</value>
|
||||||
|
</data>
|
||||||
|
<data name="PSBack" xml:space="preserve">
|
||||||
|
<value>Назад</value>
|
||||||
|
</data>
|
||||||
|
<data name="PSImport" xml:space="preserve">
|
||||||
|
<value>Импорт сценария</value>
|
||||||
|
<comment>Scripting menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSInfo" xml:space="preserve">
|
||||||
|
<value>Что делает этот шаблон/скрипт?\r\n</value>
|
||||||
|
</data>
|
||||||
|
<data name="PSMarketplace" xml:space="preserve">
|
||||||
|
<value>Посетить Marketplace</value>
|
||||||
|
<comment>Scripting menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSSaveAs" xml:space="preserve">
|
||||||
|
<value>Сохранить текущий сценарий как новый предустановленный сценарий</value>
|
||||||
|
<comment>Scripting menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSViewCode" xml:space="preserve">
|
||||||
|
<value>Просмотреть код</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUnofficial" xml:space="preserve">
|
||||||
|
<value>Вы используете неофициальную версию Privatezilla.</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpdateAvailable" xml:space="preserve">
|
||||||
|
<value>Доступна новая версия #</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpdateAvailableURL" xml:space="preserve">
|
||||||
|
<value>\r\nХотите открыть страницу @github/releases page?</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpdateYourVersion" xml:space="preserve">
|
||||||
|
<value>\r\nВы используете версию #</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpToDate" xml:space="preserve">
|
||||||
|
<value>В настоящее время нет доступных обновлений.</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsApps" xml:space="preserve">
|
||||||
|
<value>Разрешения приложения</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsBloatware" xml:space="preserve">
|
||||||
|
<value>Предустановленные приложения</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsBloatwareInfo" xml:space="preserve">
|
||||||
|
<value>Сценарии блокировки функций Windows 10</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsCortana" xml:space="preserve">
|
||||||
|
<value>Кортана</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsDefender" xml:space="preserve">
|
||||||
|
<value>Защитник Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsEdge" xml:space="preserve">
|
||||||
|
<value>Microsoft Edge</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsGaming" xml:space="preserve">
|
||||||
|
<value>Игры</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsPrivacy" xml:space="preserve">
|
||||||
|
<value>Конфиденциальность</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsSecurity" xml:space="preserve">
|
||||||
|
<value>Безопасность</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsUpdates" xml:space="preserve">
|
||||||
|
<value>Обновления</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsAccountInfo" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложения к информации об аккаунте</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsAppNotifications" xml:space="preserve">
|
||||||
|
<value>Отключить уведомления приложений</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsAppNotificationsInfo" xml:space="preserve">
|
||||||
|
<value>Центр действий в Windows 10 собирает и отображает уведомления и предупреждения от традиционных приложений Windows и системных уведомлений, наряду с уведомлениями, созданными современными приложениями.\nЗатем уведомления группируются в Центре действий\nЭтот параметр отключит все уведомления от приложений и другх отправителей в параметрах.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsBackgroundApps" xml:space="preserve">
|
||||||
|
<value>Отключить приложения, работающие в фоновом режиме</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsBackgroundAppsInfo" xml:space="preserve">
|
||||||
|
<value>У приложений Windows 10 больше нет разрешения на работу в фоновом режиме, поэтому они не могут обновлять живые плитки, получать новые данные и показывать уведомления.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCalendar" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложения к календарю</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCall" xml:space="preserve">
|
||||||
|
<value>Отключить доступ к приложению для звонка</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCallHistory" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложения к истории звонков</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCamera" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложения к камере</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCellularData" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложений к сотовым данным</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCellularDataInfo" xml:space="preserve">
|
||||||
|
<value>В некоторых устройствах с Windows 10 есть SIM-карта и / или eSIM, которые позволяют подключаться к сотовой сети передачи данных (также известной как LTE или широкополосная сеть), чтобы вы могли подключить Интернет в большенстве мест, используя сотовый сигнал.\nЕсли вы не хотите, чтобы любым приложениям было разрешено использовать сотовые данные, вы можете отключить его с помощью этого параметра.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsContacts" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложения к контактам</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsDiagnosticInformation" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложения к диагностике</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsDocuments" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложения к документам</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsEmail" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложения к электронной почте</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsEyeGaze" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложений к отслеживанию глаз</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsEyeGazeInfo" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложений к взаимодействию с глазами</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsFileSystem" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложений к файловой системе</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsFileSystemInfo" xml:space="preserve">
|
||||||
|
<value>Этот параметр отключит доступ приложений к файловой системе. Некоторые приложения могут быть ограничены в своих функциях или не работать.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsMessaging" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложений к обмену сообщениями</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsMicrophone" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложений к микрофону</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsMotion" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложений к жестам</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsNotification" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложений к уведомлениям</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsOtherDevices" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложений к другим устройствам</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsPictures" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложений к изображениям</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsRadios" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложений к радио</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsTasks" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложения к задачам</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsTrackingApps" xml:space="preserve">
|
||||||
|
<value>Отключить отслеживание запусков приложений</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsTrackingAppsInfo" xml:space="preserve">
|
||||||
|
<value>Позволяет быстро получить доступ к списку наиболее часто используемых приложений как в меню «Пуск», так и при поиске на устройстве.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsVideos" xml:space="preserve">
|
||||||
|
<value>Отключить доступ приложений к видео</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPAll" xml:space="preserve">
|
||||||
|
<value>Удалить все встроенные приложения</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPAllInfo" xml:space="preserve">
|
||||||
|
<value>Это удалит все встроенные приложения, кроме Microsoft Store.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPDefaults" xml:space="preserve">
|
||||||
|
<value>Удалить все встроенные приложения, кроме:</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPDefaultsInfo" xml:space="preserve">
|
||||||
|
<value>Это приведет к удалению всех встроенных приложений, кроме следующих:\nMicrosoft Store\nApp Installer\nCalendar\nMail\nCalculator\nCamera\nSkype\nGroove Music\nMaps\nPaint 3D\nYour Phone\nPhotos\nSticky Notes\nWeather\nXbox</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableBing" xml:space="preserve">
|
||||||
|
<value>Отключить поиск Bing в Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableBingInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 по умолчанию отправляет все, что вы ищете в меню «Пуск», на свои серверы, чтобы предоставить вам результаты поиска Bing.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableCortana" xml:space="preserve">
|
||||||
|
<value>Отключить Кортану</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableCortanaInfo" xml:space="preserve">
|
||||||
|
<value>Кортана - это виртуальный помощник Microsoft, который интегрирован в Windows 10.\nЭтот параметр навсегда отключит Кортану и не позволит ей записывать и сохранять ваши действия и историю.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaUninstallCortana" xml:space="preserve">
|
||||||
|
<value>Удалить Кортану</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaUninstallCortanaInfo" xml:space="preserve">
|
||||||
|
<value>Это приведет к удалению нового приложения Cortana в Windows 10 версии 2004.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsDefenderDisableSmartScreenStore" xml:space="preserve">
|
||||||
|
<value>Отключить SmartScreen для приложений из магазина</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsDefenderDisableSmartScreenStoreInfo" xml:space="preserve">
|
||||||
|
<value>Фильтр SmartScreen Защитника Windows помогает защитить ваше устройство, проверяя веб-контент (URL-адреса), используемый приложениями Microsoft Store.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdeAutoFillCredit" xml:space="preserve">
|
||||||
|
<value>Отключить автозаполнение для кредитных карт</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdeAutoFillCreditInfo" xml:space="preserve">
|
||||||
|
<value>Функция автозаполнения Microsoft Edge позволяет пользователям автоматически заполнять данные кредитной карты в веб-формах, используя ранее сохраненную информацию.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBackground" xml:space="preserve">
|
||||||
|
<value>Запретить запуск Edge в фоновом режиме</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBackgroundInfo" xml:space="preserve">
|
||||||
|
<value>В новой версии Microsoft Edge Chromium расширения и другие службы могут поддерживать работу браузера в фоновом режиме даже после его закрытия.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBlockEdgeRollout" xml:space="preserve">
|
||||||
|
<value>Заблокировать установку нового Microsoft Edge</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBlockEdgeRolloutInfo" xml:space="preserve">
|
||||||
|
<value>Это заблокирует принудительную установку нового веб-браузера Microsoft Edge на основе Chromium, если он еще не установлен на устройстве.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeDisableSync" xml:space="preserve">
|
||||||
|
<value>Отключить синхронизацию данных</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeDisableSyncInfo" xml:space="preserve">
|
||||||
|
<value>Этот параметр отключит синхронизацию данных с помощью служб синхронизации Microsoft.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsGamingGameBar" xml:space="preserve">
|
||||||
|
<value>Отключить функции игровой панели</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsGamingGameBarInfo" xml:space="preserve">
|
||||||
|
<value>Этот параметр отключит запись и трансляцию игр Windows.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsGamingGameBarInfoInfo" xml:space="preserve">
|
||||||
|
<value>Это отключит индивидуальный опыт с соответствующими советами и рекомендациями которые используют ваши диагностические данные. Многие назвали бы это телеметрией или даже шпионажем.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyBlockSuggestedApps" xml:space="preserve">
|
||||||
|
<value>Заблокировать предлагаемые приложения на начальном экране</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyBlockSuggestedAppsInfo" xml:space="preserve">
|
||||||
|
<value>Это заблокирует рекомендуемые приложения, которые иногда появляются в меню «Пуск».</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDiagnosticData" xml:space="preserve">
|
||||||
|
<value>Запретить использование диагностических данных</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDiagnosticDataInfo" xml:space="preserve">
|
||||||
|
<value>Это отключит индивидуальный опыт с соответствующими советами и рекомендациями с использованием ваших диагностических данных. Многие назвали бы это телеметрией или даже шпионажем.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableAds" xml:space="preserve">
|
||||||
|
<value>Отключить рекламный идентификатор для показа релевантной рекламы</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableAdsInfo" xml:space="preserve">
|
||||||
|
<value>В Windows 10 интегрирована реклама. Microsoft назначает вам уникальный идентификатор для отслеживания вашей активности в Microsoft Store и в приложениях UWP, чтобы показывать вам релевантную рекламу.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableBiometrics" xml:space="preserve">
|
||||||
|
<value>Отключить биометрию Windows Hello</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableBiometricsInfo" xml:space="preserve">
|
||||||
|
<value>Биометрические данные Windows Hello позволяют вам входить в свои устройства, приложения, онлайн-сервисы и сети, используя свое лицо, радужную оболочку глаза или отпечаток пальца.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCEIP" xml:space="preserve">
|
||||||
|
<value>Отключить программу улучшения качества программного обеспечения</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCEIPInfo" xml:space="preserve">
|
||||||
|
<value>Программа улучшения качества программного обеспечения (CEIP) - это функция, которая по умолчанию включена в Windows 10 и тайно собирает и отправляет в Microsoft информацию об использовании оборудования и программного обеспечения.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCompTelemetry" xml:space="preserve">
|
||||||
|
<value>Отключить телеметрию совместимости</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCompTelemetryInfo" xml:space="preserve">
|
||||||
|
<value>Этот процесс периодически собирает различные технические данные о вашем компьютере и его производительности и отправляет их в Microsoft для участия в программе улучшения качества программного обеспечения Windows.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableFeedback" xml:space="preserve">
|
||||||
|
<value>Не показывать уведомления обратной связи</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableFeedbackInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 также может время от времени запрашивать отзыв.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableHEIP" xml:space="preserve">
|
||||||
|
<value>Отключить программу справки</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableHEIPInfo" xml:space="preserve">
|
||||||
|
<value>Программа улучшения качества справки (HEIP) собирает и отправляет в Microsoft информацию о том, как вы используете справку Windows. Это может показать, какие проблемы у вас возникают с вашим компьютером.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableLocation" xml:space="preserve">
|
||||||
|
<value>Отключить отслеживание местоположения</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableLocationInfo" xml:space="preserve">
|
||||||
|
<value>Куда бы вы ни пошли, Windows 10 знает, что вы там. Когда отслеживание местоположения включено, Windows и приложениям разрешено определять текущее местоположение вашего компьютера или устройства.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableMSExperiments" xml:space="preserve">
|
||||||
|
<value>Отключить эксперименты с настройками</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableMSExperimentsInfo" xml:space="preserve">
|
||||||
|
<value>В некоторых сборках Windows 10 пользователи могли позволить Microsoft поэкспериментировать с системой для изучения пользовательских предпочтений или поведения устройства. Это позволяет Microsoft «проводить эксперименты» с настройками вашего ПК, и этот параметр следует отключить.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTelemetry" xml:space="preserve">
|
||||||
|
<value>Отключить телеметрию</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTelemetryInfo" xml:space="preserve">
|
||||||
|
<value>Это помешает Windows собирать информацию об использовании и устанавливать для диагностических данных значение «Базовый», что является самым низким уровнем, доступным для всех версий Windows 10.\nСлужбы diagtrack и dmwappushservice также будут отключены.\nПРИМЕЧАНИЕ: чтобы получать предварительные сборки Windows-Insider-Program для диагностических данных необходимо установить значение «Полная»!</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTimeline" xml:space="preserve">
|
||||||
|
<value>Отключить функцию временной шкалы</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTimelineInfo" xml:space="preserve">
|
||||||
|
<value>Собирает историю выполненных вами действий, включая файлы, которые вы открывали, и веб-страницы, которые вы просматривали в Edge.\nЕсли Timeline не нужна или вы просто не хотите, чтобы Windows 10 собирала конфиденциальные данные, вы можете полностью отключить временную шкалу с помощью этого параметра.\nПримечание: для того, чтобы изменения вступили в силу, требуется перезагрузка системы.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTips" xml:space="preserve">
|
||||||
|
<value>Отключить Советы Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTipsInfo" xml:space="preserve">
|
||||||
|
<value>Вы больше не увидите Советы Windows, Windows Интересное Пользовательские функции, уведомления об обратной связи и т. Д.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTipsLockScreen" xml:space="preserve">
|
||||||
|
<value>Отключить рекламу и ссылки на экране блокировки</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTipsLockScreenInfo" xml:space="preserve">
|
||||||
|
<value>Этот параметр установит для фона экрана блокировки изображение и отключит советы, забавные факты от Microsoft.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableWiFi" xml:space="preserve">
|
||||||
|
<value>Отключить Wi-Fi Sense</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableWiFiInfo" xml:space="preserve">
|
||||||
|
<value>Вы должны по крайней мере остановить свой компьютер от отправки пароля Wi-Fi.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyGetMoreOutOfWindows" xml:space="preserve">
|
||||||
|
<value>Отключить Получите еще больше от Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyGetMoreOutOfWindowsInfo" xml:space="preserve">
|
||||||
|
<value>В последних версиях Windows 10 при входе в учетную запись пользователя иногда отображается предупреждающий экран «Получите еще больше от Windows». Если вас это раздражает, вы можете отключить его с помощью этого параметра.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyHandwritingData" xml:space="preserve">
|
||||||
|
<value>Запретить использование данных рукописного ввода</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyHandwritingDataInfo" xml:space="preserve">
|
||||||
|
<value>Если вы не хотите, чтобы Windows знала и записывала все уникальные слова, которые вы используете, например имена и профессиональный жаргон, просто включите этот параметр.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInstalledApps" xml:space="preserve">
|
||||||
|
<value>Блокировать автоматическую установку приложений</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInstalledAppsInfo" xml:space="preserve">
|
||||||
|
<value>Когда вы входите в новый профиль Windows 10 или устройство в первый раз, есть вероятность, что вы заметите несколько сторонних приложений и игр, которые отображаются на видном месте в меню «Пуск».\nЭтот параметр заблокирует автоматическую установку предлагаемых приложений для Windows 10.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInventoryCollector" xml:space="preserve">
|
||||||
|
<value>Отключить сбор диагностических данных</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInventoryCollectorInfo" xml:space="preserve">
|
||||||
|
<value>Cборoщик инвентаря и диагностических данных выполняет инвентаризацию приложений, файлов устройств и драйверов в системе и отправляет информацию в Microsoft. Эта информация используется для диагностики проблем совместимости.\nПримечание: этот параметр не действует, если программа улучшения качества программного обеспечения отключена. Сборщик инвентаря будет отключен.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacySuggestedContent" xml:space="preserve">
|
||||||
|
<value>Заблокировать предлагаемый контент в приложении "Параметры"</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacySuggestedContentInfo" xml:space="preserve">
|
||||||
|
<value>Чтобы помочь новым пользователям Windows 10 изучить новые функции Windows 10, Microsoft начала показывать рекомендуемый контент с помощью огромного баннера в Параметрах Windows 10.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityDisablePassword" xml:space="preserve">
|
||||||
|
<value>Отключить кнопку просмотра пароля</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityDisablePasswordInfo" xml:space="preserve">
|
||||||
|
<value>Кнопка Посмотреть пароль может использоваться для отображения введенного пароля и должна быть отключена с помощью этой настройки.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityWindowsDRM" xml:space="preserve">
|
||||||
|
<value>Отключить DRM в проигрывателе Windows Media</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityWindowsDRMInfo" xml:space="preserve">
|
||||||
|
<value>Если служба управления цифровыми правами Windows Media не должна получать доступ к Интернету (или интрасети) для приобретения лицензий и обновлений безопасности, вы можете предотвратить это с помощью этого параметра.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesBlockMajorUpdates" xml:space="preserve">
|
||||||
|
<value>Блокировать основные обновления Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesBlockMajorUpdatesInfo" xml:space="preserve">
|
||||||
|
<value>Параметр «TargetReleaseVersionInfo» предотвращает установку обновлений компонентов Windows 10 до тех пор, пока указанная версия не достигнет конца поддержки.\nОн будет указывать используемую в настоящее время версию Windows 10 в качестве целевой версии выпуска Windows 10, на которой вы хотите остатся. (поддерживает только версии Pro и Enterprise).</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesDisableUpdates" xml:space="preserve">
|
||||||
|
<value>Отключить принудительные обновления Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesDisableUpdatesInfo" xml:space="preserve">
|
||||||
|
<value>Будет уведомлять, когда доступны обновления, и вы решаете, когда их устанавливать.</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesUpdateSharing" xml:space="preserve">
|
||||||
|
<value>Отключить общий доступ к обновлениям Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesUpdateSharingInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 позволяет загружать обновления из нескольких источников, чтобы ускорить процесс обновления операционной системы. Это отключит совместное использование ваших файлов другими пользователями и доступ к вашему IP-адресу случайным компьютерам.</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoPSApply" xml:space="preserve">
|
||||||
|
<value>Применить</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoPSProcessing" xml:space="preserve">
|
||||||
|
<value>Обработка</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoWait" xml:space="preserve">
|
||||||
|
<value>Пожалуйста, подождите ...</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFailedApply" xml:space="preserve">
|
||||||
|
<value>Не применено</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFailedConfigure" xml:space="preserve">
|
||||||
|
<value>Не настроено</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFinishAnalyze" xml:space="preserve">
|
||||||
|
<value>Анализ завершен.</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFinishApply" xml:space="preserve">
|
||||||
|
<value>Применение завершено.</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFinishUndo" xml:space="preserve">
|
||||||
|
<value>Восстановление завершено.</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusSuccessApply" xml:space="preserve">
|
||||||
|
<value>Применено</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusSuccessConfigure" xml:space="preserve">
|
||||||
|
<value>Настроен</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusUndoSettings" xml:space="preserve">
|
||||||
|
<value>Вы действительно хотите вернуть все выбранные настройки Windows 10 в состояние по умолчанию?</value>
|
||||||
|
</data>
|
||||||
|
<data name="TxtPSInfo" xml:space="preserve">
|
||||||
|
<value>Добро пожаловать в редактор современной политики, который позволяет применять групповые политики и настраиваемые параметры в форме сценариев и шаблонов PowerShell (связанных сценариев).
|
||||||
|
|
||||||
|
Выберите сценарий, чтобы просмотреть его описание.
|
||||||
|
|
||||||
|
Чтобы проверить код на наличие уязвимостей, нажмите «Просмотреть код».
|
||||||
|
|
||||||
|
Чтобы получить новые объекты (шаблоны, скрипты и т. Д.), Посетите Marketplace в правом верхнем меню. Privatezilla использует Marketplace приложения SharpApp. Поскольку это приложение создано одним разработчиком, а сценарии основаны на Powershell, они также совместимы друг с другом.</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
</root>
|
635
src/Privatezilla/Privatezilla/Properties/Resources.zh.resx
Normal file
635
src/Privatezilla/Privatezilla/Properties/Resources.zh.resx
Normal file
|
@ -0,0 +1,635 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string"/>
|
||||||
|
<xsd:attribute name="type" type="xsd:string"/>
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string"/>
|
||||||
|
<xsd:attribute ref="xml:space"/>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string"/>
|
||||||
|
<xsd:attribute name="name" type="xsd:string"/>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1"/>
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"/>
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"/>
|
||||||
|
<xsd:attribute ref="xml:space"/>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="BtnDoPS" xml:space="preserve">
|
||||||
|
<value>应用选中项</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="BtnSettingsAnalyze" xml:space="preserve">
|
||||||
|
<value>分析</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="BtnSettingsDo" xml:space="preserve">
|
||||||
|
<value>应用选中项</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="BtnSettingsUndo" xml:space="preserve">
|
||||||
|
<value>还原选中项</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="CheckRelease" xml:space="preserve">
|
||||||
|
<value>检查更新</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="ChkCodePS" xml:space="preserve">
|
||||||
|
<value>查看代码</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="columnSetting" xml:space="preserve">
|
||||||
|
<value>设置</value>
|
||||||
|
</data>
|
||||||
|
<data name="columnState" xml:space="preserve">
|
||||||
|
<value>状态</value>
|
||||||
|
</data>
|
||||||
|
<data name="CommunityPkg" xml:space="preserve">
|
||||||
|
<value>获取社区脚本包</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Help" xml:space="preserve">
|
||||||
|
<value>简要指南</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="helpApp" xml:space="preserve">
|
||||||
|
<value>有关设置的信息: \r\n将光标移到设置项上以查看简要说明
|
||||||
|
\r\n分析(按钮):确定您的系统是否启用和配置了哪些设置,注意只做分析并不会对系统进行更改!
|
||||||
|
\r\n应用选中项(按钮):这将启用所有选定的设置
|
||||||
|
\r\n还原选中项(按钮):这将还原默认的 Windows 10 设置
|
||||||
|
\r\n已配置(状态):这表明您的隐私已受到保护
|
||||||
|
\r\n未配置(状态):这表示 Windows 10 设置未做更改</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Info" xml:space="preserve">
|
||||||
|
<value>信息</value>
|
||||||
|
<comment>Main menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="infoApp" xml:space="preserve">
|
||||||
|
<value>开源的 Windows 10 隐私设置工具
|
||||||
|
|
||||||
|
这是一个完全独立与微软毫不相干的项目
|
||||||
|
|
||||||
|
此项目的所有信息和信用在
|
||||||
|
\tgithub.om/buildbybel/privatezilla
|
||||||
|
|
||||||
|
☆━━━━━━━━━━━━━━━☆
|
||||||
|
翻译人员: 作者: 涛锅 邮箱: duzhe163908@gmail.com 简体中文
|
||||||
|
☆━━━━━━━━━━━━━━━☆
|
||||||
|
|
||||||
|
您也可以在推特上关注我
|
||||||
|
\ttwitter.com/buildbybel
|
||||||
|
|
||||||
|
(C#) 2020, Builtbybel</value>
|
||||||
|
<comment>infoApp</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblPS" xml:space="preserve">
|
||||||
|
<value>脚本</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblPSHeader" xml:space="preserve">
|
||||||
|
<value>应用 PowerShell 脚本</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblSettings" xml:space="preserve">
|
||||||
|
<value>设置</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="LblStatus" xml:space="preserve">
|
||||||
|
<value>点击分析按钮检查已配置的设置</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
<data name="msgAppCompatibility" xml:space="preserve">
|
||||||
|
<value>您在低于 Windows 10 的系统上运行 Privatezilla, Privatezilla 仅限 Win10</value>
|
||||||
|
</data>
|
||||||
|
<data name="msgPSSave" xml:space="preserve">
|
||||||
|
<value>请切换至代码视图</value>
|
||||||
|
</data>
|
||||||
|
<data name="msgPSSelect" xml:space="preserve">
|
||||||
|
<value>请选择一个脚本</value>
|
||||||
|
</data>
|
||||||
|
<data name="msgPSSuccess" xml:space="preserve">
|
||||||
|
<value>已成功执行</value>
|
||||||
|
</data>
|
||||||
|
<data name="PSBack" xml:space="preserve">
|
||||||
|
<value>返回</value>
|
||||||
|
</data>
|
||||||
|
<data name="PSImport" xml:space="preserve">
|
||||||
|
<value>导入脚本</value>
|
||||||
|
<comment>Scripting menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSInfo" xml:space="preserve">
|
||||||
|
<value>此模板/脚本有什么作用?\r\n</value>
|
||||||
|
</data>
|
||||||
|
<data name="PSMarketplace" xml:space="preserve">
|
||||||
|
<value>访问应用市场</value>
|
||||||
|
<comment>Scripting menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSSaveAs" xml:space="preserve">
|
||||||
|
<value>保存当前脚本为新的预设脚本</value>
|
||||||
|
<comment>Scripting menu</comment>
|
||||||
|
</data>
|
||||||
|
<data name="PSViewCode" xml:space="preserve">
|
||||||
|
<value>查看代码</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUnofficial" xml:space="preserve">
|
||||||
|
<value>您当前使用的是非官方版的 Privatezilla</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpdateAvailable" xml:space="preserve">
|
||||||
|
<value>发现新版本 #</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpdateAvailableURL" xml:space="preserve">
|
||||||
|
<value>\r\n您想打开 @github/released 页面吗?</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpdateYourVersion" xml:space="preserve">
|
||||||
|
<value>\r\n您正在使用版本 #</value>
|
||||||
|
</data>
|
||||||
|
<data name="releaseUpToDate" xml:space="preserve">
|
||||||
|
<value>当前没有新版本</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsApps" xml:space="preserve">
|
||||||
|
<value>软件权限</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsBloatware" xml:space="preserve">
|
||||||
|
<value>Bloatware</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsBloatwareInfo" xml:space="preserve">
|
||||||
|
<value>Debloat Windows 10</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsCortana" xml:space="preserve">
|
||||||
|
<value>微软小娜</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsDefender" xml:space="preserve">
|
||||||
|
<value>Windows Defender</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsEdge" xml:space="preserve">
|
||||||
|
<value>Microsoft Edge</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsGaming" xml:space="preserve">
|
||||||
|
<value>游戏</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsPrivacy" xml:space="preserve">
|
||||||
|
<value>隐私</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsSecurity" xml:space="preserve">
|
||||||
|
<value>安全</value>
|
||||||
|
</data>
|
||||||
|
<data name="rootSettingsUpdates" xml:space="preserve">
|
||||||
|
<value>更新</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsAccountInfo" xml:space="preserve">
|
||||||
|
<value>禁用应用访问帐户信息</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsAppNotifications" xml:space="preserve">
|
||||||
|
<value>禁用应用通知</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsAppNotificationsInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 操作中心会收集并显示传统Windows应用程序和系统通知中的通知和警报,当然也包括现代应用程序生成的。\n然后按应用程序和时间在操作中心中对通知进行分组。\n此设置将禁用来自应用和其他发件人的所有通知</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsBackgroundApps" xml:space="preserve">
|
||||||
|
<value>禁用应用后台运行</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsBackgroundAppsInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 应用程序将没有权限在后台运行,这样它们就无法更新其活动磁铁、获取新的数据以及接收通知</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCalendar" xml:space="preserve">
|
||||||
|
<value>禁用应用访问日历</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCall" xml:space="preserve">
|
||||||
|
<value>禁用应用访问电话呼叫</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCallHistory" xml:space="preserve">
|
||||||
|
<value>禁用应用访问通话记录</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCamera" xml:space="preserve">
|
||||||
|
<value>禁用应用访问相机</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCellularData" xml:space="preserve">
|
||||||
|
<value>禁用应用访问蜂窝移动数据</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsCellularDataInfo" xml:space="preserve">
|
||||||
|
<value>有些 Windows 10 设备有 SIM/eSIM 卡,可以连接到蜂窝移动数据网络 (亦称: LTE 或 宽带),这样您可以使用移动信号在更多地方上网。\n如果您不想允许任何应用使用移动数据,您可以通过此设置来禁用</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsContacts" xml:space="preserve">
|
||||||
|
<value>禁用应用访问联系人</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsDiagnosticInformation" xml:space="preserve">
|
||||||
|
<value>禁用应用访问诊断信息</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsDocuments" xml:space="preserve">
|
||||||
|
<value>禁用应用访问文档</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsEmail" xml:space="preserve">
|
||||||
|
<value>禁用应用访问电子邮件</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsEyeGaze" xml:space="preserve">
|
||||||
|
<value>禁用应用访问眼部跟踪</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsEyeGazeInfo" xml:space="preserve">
|
||||||
|
<value>禁用应用访问基于眼部的互动信息</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsFileSystem" xml:space="preserve">
|
||||||
|
<value>禁用应用访问文件系统</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsFileSystemInfo" xml:space="preserve">
|
||||||
|
<value>此设置将禁用应用对文件系统的访问。某些应用可能会在功能上受限,甚至可能会停止工作</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsMessaging" xml:space="preserve">
|
||||||
|
<value>禁用应用访问消息</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsMicrophone" xml:space="preserve">
|
||||||
|
<value>禁用应用访问麦克风</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsMotion" xml:space="preserve">
|
||||||
|
<value>禁用应用访问运动</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsNotification" xml:space="preserve">
|
||||||
|
<value>禁用应用访问通知</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsOtherDevices" xml:space="preserve">
|
||||||
|
<value>禁用应用访问其他设备</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsPictures" xml:space="preserve">
|
||||||
|
<value>禁用应用访问图片</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsRadios" xml:space="preserve">
|
||||||
|
<value>禁用应用访问无线收发器</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsTasks" xml:space="preserve">
|
||||||
|
<value>禁用应用访问任务</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsTrackingApps" xml:space="preserve">
|
||||||
|
<value>禁用跟踪应用启动</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsTrackingAppsInfo" xml:space="preserve">
|
||||||
|
<value>这使您能够快速访问您最常使用的应用列表 (开始菜单和搜索)</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsAppsVideos" xml:space="preserve">
|
||||||
|
<value>禁用应用访问视频</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPAll" xml:space="preserve">
|
||||||
|
<value>移除所有内置应用</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPAllInfo" xml:space="preserve">
|
||||||
|
<value>这将移除除微软商店以外的所有内置应用</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPDefaults" xml:space="preserve">
|
||||||
|
<value>移除除预设以外的所有内置应用程序</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsBloatwareRemoveUWPDefaultsInfo" xml:space="preserve">
|
||||||
|
<value>这将移除(除以下应用外)所有内置应用程序:\nMicrosoft Store\nApp Installer\nCalendar\nMail\nCalculator\nCamera\nSkype\nGroove Music\nMaps\nPaint 3D\nYour Phone\nPhotos\nSticky Notes\nWeather\nXbox</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableBing" xml:space="preserve">
|
||||||
|
<value>在 Windows 搜索中禁用 Bing</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableBingInfo" xml:space="preserve">
|
||||||
|
<value>默认情况下 Windows 10 会将您在开始菜单中搜索的所有内容发送到他们的服务器,然后以此为您 提供 Bing 搜索的结果</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableCortana" xml:space="preserve">
|
||||||
|
<value>禁用微软小娜</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaDisableCortanaInfo" xml:space="preserve">
|
||||||
|
<value>Cortana 是集成到 Windows 10 的微软虚拟助手,\n此设置将永久禁用 Cortana, 并阻止其记录和存储您的搜索习惯与历史记录</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaUninstallCortana" xml:space="preserve">
|
||||||
|
<value>卸载微软小娜</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsCortanaUninstallCortanaInfo" xml:space="preserve">
|
||||||
|
<value>这将在 Windows 10 2004版本上卸载新版微软小娜</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsDefenderDisableSmartScreenStore" xml:space="preserve">
|
||||||
|
<value>为商店应用禁用 SmartScreen</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsDefenderDisableSmartScreenStoreInfo" xml:space="preserve">
|
||||||
|
<value>Windows Defender SmartScreen 过滤器通过检查微软商店应用使用的 Web 内容 (链接),来帮助保护您的设备</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdeAutoFillCredit" xml:space="preserve">
|
||||||
|
<value>禁用信用卡自动填充</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdeAutoFillCreditInfo" xml:space="preserve">
|
||||||
|
<value>Microsoft Edge 的自动填充功能能使用户使用先前存储的信息自动填写 Web 表单中的信用卡信息</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBackground" xml:space="preserve">
|
||||||
|
<value>阻止 Edge 在后台运行</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBackgroundInfo" xml:space="preserve">
|
||||||
|
<value>在新版 Chromium Microsoft Edge,即时关闭浏览器,扩展和其他服务仍然可以继续在后台运行</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBlockEdgeRollout" xml:space="preserve">
|
||||||
|
<value>屏蔽新版 Edge 安装</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeBlockEdgeRolloutInfo" xml:space="preserve">
|
||||||
|
<value>这将阻止 Windows 10 更新强制安装基于 Chromium的新版 Edge,如果它尚未安装在设备上</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeDisableSync" xml:space="preserve">
|
||||||
|
<value>禁用同步数据</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsEdgeDisableSyncInfo" xml:space="preserve">
|
||||||
|
<value>此设置将禁用使用 Microsoft 同步服务进行的数据同步</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsGamingGameBar" xml:space="preserve">
|
||||||
|
<value>禁用游戏栏功能</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsGamingGameBarInfo" xml:space="preserve">
|
||||||
|
<value>此设置将禁用 Windows 游戏录制和广播</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsGamingGameBarInfoInfo" xml:space="preserve">
|
||||||
|
<value>这将关闭通过使用诊断数提供具有相关提示和建议的量身定制的体验。很多人称这是遥测,甚至是间谍行为</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyBlockSuggestedApps" xml:space="preserve">
|
||||||
|
<value>禁用开始菜单的推荐应用</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyBlockSuggestedAppsInfo" xml:space="preserve">
|
||||||
|
<value>这将阻止偶尔出现在开始菜单上的推荐应用</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDiagnosticData" xml:space="preserve">
|
||||||
|
<value>阻止使用诊断数据</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDiagnosticDataInfo" xml:space="preserve">
|
||||||
|
<value>这将关闭通过使用诊断数提供具有相关提示和建议的量身定制的体验。很多人称这是遥测,甚至是间谍行为</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableAds" xml:space="preserve">
|
||||||
|
<value>禁用相关广告的广告 ID</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableAdsInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 初装集成广告。微软分配了一个独特的标识符来跟踪您在微软商店和 UWP 应用程序中的活动,从而为您提供相关广告</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableBiometrics" xml:space="preserve">
|
||||||
|
<value>禁用 Windows Hello 生物识别</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableBiometricsInfo" xml:space="preserve">
|
||||||
|
<value>Windows Hello 生物识别技术使您可以使用脸部、虹膜或指纹登录设备、应用、在线服务和网络</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCEIP" xml:space="preserve">
|
||||||
|
<value>禁用客户体验计划</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCEIPInfo" xml:space="preserve">
|
||||||
|
<value>客户体验改善计划 (CEIP) 是Windows 10上默认开启的功能,它会秘密收集并提交硬件和软件使用信息给微软</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCompTelemetry" xml:space="preserve">
|
||||||
|
<value>禁用兼容性遥测</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableCompTelemetryInfo" xml:space="preserve">
|
||||||
|
<value>此进程将定期收集有关您的计算机及其性能的各种技术数据,并将其发送给微软,用于 Windows 客户体验改善计划</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableFeedback" xml:space="preserve">
|
||||||
|
<value>不要显示反馈通知</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableFeedbackInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 可能会时不时弹出消息,要求您提供反馈</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableHEIP" xml:space="preserve">
|
||||||
|
<value>禁用帮助体验计划</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableHEIPInfo" xml:space="preserve">
|
||||||
|
<value>帮助体验改善计划 (HEIP) 收集有关您如何使用 Windows 帮助的信息并将其发送给微软,这可能会显露您的计算机存在什么问题</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableLocation" xml:space="preserve">
|
||||||
|
<value>禁用位置跟踪</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableLocationInfo" xml:space="preserve">
|
||||||
|
<value>无论您在哪,Windows 10 都会知道。启用位置跟踪后,Windows及其应用程序可以检测计算机或设备的当前位置</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableMSExperiments" xml:space="preserve">
|
||||||
|
<value>禁用设置测试</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableMSExperimentsInfo" xml:space="preserve">
|
||||||
|
<value>在 Windows 10 某些版本中,用户可以让微软对系统进行实验,以研究用户偏好或设备行为。这使得微软可以使用PC上的设置“进行实验”,因此应禁用此设置</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTelemetry" xml:space="preserve">
|
||||||
|
<value>禁用遥测</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTelemetryInfo" xml:space="preserve">
|
||||||
|
<value>这将阻止 Windows 收集使用信息并将收集诊断数据设置为"基本",这是所有 Windows 10 版本可用的最低级别。\n也将禁用 diagtrack & dmwappushservice 服务。\n注意:诊断数据必须设置为"完整",才能从 Windows 预览体验计划获取预览版本!</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTimeline" xml:space="preserve">
|
||||||
|
<value>禁用时间轴功能</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTimelineInfo" xml:space="preserve">
|
||||||
|
<value>这会收集您执行的活动历史记录,包括您打开的文件和在 Edge 浏览过的网页。\n如果您不使用时间轴,或者您就是不想让微软收集您的敏感活动和信息,则可以使用此设置完全禁用时间轴。\n注意:需要重启系统才能使更改生效</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTips" xml:space="preserve">
|
||||||
|
<value>禁用 Windows 提示</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTipsInfo" xml:space="preserve">
|
||||||
|
<value>您将不再看到 Windows 提示,例如 亮点功能和消费者功能,反馈通知等</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTipsLockScreen" xml:space="preserve">
|
||||||
|
<value>禁用锁屏广告和链接</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableTipsLockScreenInfo" xml:space="preserve">
|
||||||
|
<value>此设置会将您的锁定屏幕背景选项设置为图片,并关闭 Microsoft 的提示,有趣的新闻内容和使用技巧信息</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableWiFi" xml:space="preserve">
|
||||||
|
<value>禁用 Wi-Fi Sense</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyDisableWiFiInfo" xml:space="preserve">
|
||||||
|
<value>您至少应该停止您的电脑发送您的Wi-Fi密码</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyGetMoreOutOfWindows" xml:space="preserve">
|
||||||
|
<value>禁用"从Windows中获得更多"</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyGetMoreOutOfWindowsInfo" xml:space="preserve">
|
||||||
|
<value>当您登录到您的帐户时,最新的 Windows 10 版本有时会显示一个烦人的屏幕 "从Windows中获得更多"。 如果您觉得它很烦,可以通过此设置将其禁用</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyHandwritingData" xml:space="preserve">
|
||||||
|
<value>禁止使用手写数据</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyHandwritingDataInfo" xml:space="preserve">
|
||||||
|
<value>如果您不想让 Windows 知道并记录您使用的所有独特字词,比如名称和专业术语,请启用此设置</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInstalledApps" xml:space="preserve">
|
||||||
|
<value>阻止应用自动安装</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInstalledAppsInfo" xml:space="preserve">
|
||||||
|
<value>当您首次登录到一个新的 Windows 10 配置或设备时,可能会注意到在“开始”菜单中突出列出了多个第三方应用程序和游戏。\n此设置将阻止自动安装推荐的 Windows 10 应用程序</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInventoryCollector" xml:space="preserve">
|
||||||
|
<value>禁用库存采集器</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacyInventoryCollectorInfo" xml:space="preserve">
|
||||||
|
<value>库存采集器库存系统上的设备和驱动器的应用程序文件,并将信息发送给微软。此信息用于诊断兼容性问题。\n注意:如果关闭了"客户体验改善计划",则此设置将无效。库存采集器将关闭</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacySuggestedContent" xml:space="preserve">
|
||||||
|
<value>屏蔽"设置"应用中的建议内容</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsPrivacySuggestedContentInfo" xml:space="preserve">
|
||||||
|
<value>为帮助新的 Windows 10 用户学习 Windows 10 的新功能,微软已开始通过 Windows 10 设置应用程序中的大横幅显示建议的内容</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityDisablePassword" xml:space="preserve">
|
||||||
|
<value>禁用密码显示按钮</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityDisablePasswordInfo" xml:space="preserve">
|
||||||
|
<value>密码显示按钮可用于显示输入的密码,为安全起见应使用此设置禁用该按钮</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityWindowsDRM" xml:space="preserve">
|
||||||
|
<value>禁用 Windows Media Player 数字版权管理(DRM)</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsSecurityWindowsDRMInfo" xml:space="preserve">
|
||||||
|
<value>如果Windows Media数字版权管理不能访问互联网 (或内联网) 进行许可证获取和安全升级,则可以使用此设置阻止它</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesBlockMajorUpdates" xml:space="preserve">
|
||||||
|
<value>屏蔽主要的 Windows 更新</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesBlockMajorUpdatesInfo" xml:space="preserve">
|
||||||
|
<value>此设置称为 "TargetReleaseVersionInfo",可以阻止安装 Windows 10 功能更新,直到当前的版本达到不再支持为止。\n它将指定(伪装)当前使用的 Windows 10 版本为您希望的目标发行版。(仅支持"Pro"和"企业"版本)</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesDisableUpdates" xml:space="preserve">
|
||||||
|
<value>禁用 Windows 强制更新</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesDisableUpdatesInfo" xml:space="preserve">
|
||||||
|
<value>这将在更新可用时通知,并由您决定何时安装这些更新</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesUpdateSharing" xml:space="preserve">
|
||||||
|
<value>禁用 Windows 更新共享</value>
|
||||||
|
</data>
|
||||||
|
<data name="settingsUpdatesUpdateSharingInfo" xml:space="preserve">
|
||||||
|
<value>Windows 10 允许您从多个源下载更新以加快系统更新过程。此设置将禁止与其他人共享您的文件,避免将您的 IP 地址暴露给随机计算机</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoPSApply" xml:space="preserve">
|
||||||
|
<value>应用</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoPSProcessing" xml:space="preserve">
|
||||||
|
<value>处理中</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoSettings" xml:space="preserve">
|
||||||
|
<value>您真的想要将所有选定的设置还原到 Windows 10 默认状态吗?</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusDoWait" xml:space="preserve">
|
||||||
|
<value>请稍候...</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFailedApply" xml:space="preserve">
|
||||||
|
<value>未应用</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFailedConfigure" xml:space="preserve">
|
||||||
|
<value>未配置</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFinishAnalyze" xml:space="preserve">
|
||||||
|
<value>分析完成</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFinishApply" xml:space="preserve">
|
||||||
|
<value>应用已完成</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusFinishUndo" xml:space="preserve">
|
||||||
|
<value>还原已完成</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusSuccessApply" xml:space="preserve">
|
||||||
|
<value>已应用</value>
|
||||||
|
</data>
|
||||||
|
<data name="statusSuccessConfigure" xml:space="preserve">
|
||||||
|
<value>已配置</value>
|
||||||
|
</data>
|
||||||
|
<data name="TxtPSInfo" xml:space="preserve">
|
||||||
|
<value>欢迎使用现代政策编辑器,它将允许您以 PowerShell 脚本和模板(捆绑脚本)的形式应用组策略和自定义设置
|
||||||
|
|
||||||
|
选中脚本可查看其描述
|
||||||
|
|
||||||
|
若要检查代码安全性,请点击 "查看代码"
|
||||||
|
|
||||||
|
想要获取新对象(模板、脚本等),请访问右上角菜单中的应用市场。Privatezilla 使用与 "SharpApp" 相同的应用市场,因为它们来自同一个开发者,而且脚本是基于 Powershell 的,它们相互兼容</value>
|
||||||
|
<comment>GUI</comment>
|
||||||
|
</data>
|
||||||
|
</root>
|
26
src/Privatezilla/Privatezilla/Properties/Settings.Designer.cs
generated
Normal file
26
src/Privatezilla/Privatezilla/Properties/Settings.Designer.cs
generated
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
|
// Laufzeitversion:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
|
// der Code erneut generiert wird.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Privatezilla.Properties {
|
||||||
|
|
||||||
|
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.7.0.0")]
|
||||||
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||||
|
|
||||||
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
||||||
|
public static Settings Default {
|
||||||
|
get {
|
||||||
|
return defaultInstance;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||||
|
<Profiles>
|
||||||
|
<Profile Name="(Default)" />
|
||||||
|
</Profiles>
|
||||||
|
<Settings />
|
||||||
|
</SettingsFile>
|
54
src/Privatezilla/Privatezilla/Settings/Apps/AccountInfo.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/AccountInfo.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class AccountInfo : SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\userAccountInformation";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsAccountInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class AppNotifications : SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsAppNotifications;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsAppNotificationsInfo.Replace("\\n", "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(AppKey, "ToastEnabled", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "ToastEnabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "ToastEnabled", "1", RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class BackgroundApps: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications";
|
||||||
|
private const int DesiredValue =1;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsBackgroundApps;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsBackgroundAppsInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(AppKey, "GlobalUserDisabled", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "GlobalUserDisabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "GlobalUserDisabled", 0, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Calendar.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Calendar.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Calendar : SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\appointments";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsCalendar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Call.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Call.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Call: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\phoneCall";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsCall;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/CallHistory.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/CallHistory.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class CallHistory: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\phoneCallHistory";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsCallHistory;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Camera.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Camera.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Camera: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\webcam";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsCamera;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/CellularData.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/CellularData.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class CellularData : SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\cellularData";
|
||||||
|
private const string DesiredValue = "Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsCellularData;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsCellularDataInfo.Replace("\\n", "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Contacts.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Contacts.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Contacts : SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\contacts";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsContacts;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class DiagnosticInformation: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\appDiagnostics";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsDiagnosticInformation;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Documents.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Documents.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Documents: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\documentsLibrary";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsDocuments;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Email.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Email.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Email : SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\email";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsEmail;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/EyeGaze.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/EyeGaze.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class EyeGaze : SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\gazeInput";
|
||||||
|
private const string DesiredValue = "Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsEyeGaze;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsEyeGazeInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/FileSystem.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/FileSystem.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class FileSystem: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\broadFileSystemAccess";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsFileSystem;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsFileSystemInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Messaging.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Messaging.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Messaging: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\chat";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsMessaging;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Microphone.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Microphone.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Microphone: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphone";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsMicrophone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Motion.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Motion.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Motion: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\activity";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsMotion;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Notifications.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Notifications.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Notifications: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\userNotificationListener";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsNotification;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
57
src/Privatezilla/Privatezilla/Settings/Apps/OtherDevices.cs
Normal file
57
src/Privatezilla/Privatezilla/Settings/Apps/OtherDevices.cs
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class OtherDevices: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\bluetooth";
|
||||||
|
private const string AppKey2 = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\bluetoothSync";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsOtherDevices;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue) &&
|
||||||
|
RegistryHelper.StringEquals(AppKey2, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
Registry.SetValue(AppKey2, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Pictures.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Pictures.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Pictures: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\picturesLibrary";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsPictures;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Radios.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Radios.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Radios: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\radios";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsRadios;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Tasks.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Tasks.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Tasks: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\userDataTasks";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsTasks;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/TrackingApps.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/TrackingApps.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class TrackingApps: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsTrackingApps;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsTrackingAppsInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(AppKey, "Start_TrackProgs", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Start_TrackProgs", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Start_TrackProgs", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Apps/Videos.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Apps/Videos.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Apps
|
||||||
|
{
|
||||||
|
internal class Videos: SettingBase
|
||||||
|
{
|
||||||
|
private const string AppKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\videosLibrary";
|
||||||
|
private const string DesiredValue ="Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsAppsVideos;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(AppKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AppKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,72 @@
|
||||||
|
using System;
|
||||||
|
using System.Management.Automation;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Bloatware
|
||||||
|
{
|
||||||
|
internal class RemoveUWPAll : SettingBase
|
||||||
|
{
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsBloatwareRemoveUWPAll;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsBloatwareRemoveUWPAllInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
// NOTE! OPTIMIZE
|
||||||
|
// Check if app Windows.Photos exists and return true as not configured
|
||||||
|
var appPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Packages", "Microsoft.Windows.Photos_8wekyb3d8bbwe");
|
||||||
|
|
||||||
|
if (Directory.Exists(appPath))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
using (PowerShell script = PowerShell.Create())
|
||||||
|
{
|
||||||
|
script.AddScript("Get-appxprovisionedpackage –online | where-object {$_.packagename –notlike “*store*”} | Remove-AppxProvisionedPackage –online");
|
||||||
|
script.AddScript("Get-AppxPackage | where-object {$_.name –notlike “*store*”} | Remove-AppxPackage");
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
script.Invoke();
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
using (PowerShell script = PowerShell.Create())
|
||||||
|
{
|
||||||
|
script.AddScript("Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\\AppXManifest.xml”}");
|
||||||
|
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
script.Invoke();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,71 @@
|
||||||
|
using System;
|
||||||
|
using System.Management.Automation;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Bloatware
|
||||||
|
{
|
||||||
|
internal class RemoveUWPDefaults : SettingBase
|
||||||
|
{
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsBloatwareRemoveUWPDefaults;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsBloatwareRemoveUWPDefaultsInfo.Replace("\\n", "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
// NOTE! OPTIMIZE
|
||||||
|
// Check if app Windows.Photos exists and return false as configured
|
||||||
|
var appPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Packages", "Microsoft.Windows.Photos_8wekyb3d8bbwe");
|
||||||
|
|
||||||
|
if (Directory.Exists(appPath))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
using (PowerShell script = PowerShell.Create())
|
||||||
|
{
|
||||||
|
script.AddScript("Get-appxprovisionedpackage –online | where-object {$_.packagename –notlike “*store*” -and $_.packagename –notlike “*appinstaller*” -and $_.packagename –notlike “*calculator*” -and $_.packagename –notlike “*photos*” -and $_.packagename –notlike “*sticky*” -and $_.packagename –notlike “*skypeapp*” -and $_.packagename –notlike “*alarms*” -and $_.packagename –notlike “*maps*” -and $_.packagename –notlike “*camera*” -and $_.packagename –notlike “*xbox*” -and $_.packagename –notlike “*communicationssapps*” -and $_.packagename –notlike “*zunemusic*” -and $_.packagename –notlike “*mspaint*” -and $_.packagename –notlike “*yourphone*” -and $_.packagename –notlike “*bingweather*”} | Remove-AppxProvisionedPackage –online");
|
||||||
|
script.AddScript("Get-AppxPackage | where-object {$_.name –notlike “*store*” -and $_.name –notlike “*appinstaller*” -and $_.name –notlike “*calculator*” -and $_.name –notlike “*photos*” -and $_.name –notlike “*sticky*” -and $_.name –notlike “*skypeapp*” -and $_.name –notlike“*alarms*” -and $_.name –notlike “*maps*” -and $_.name –notlike “*camera*” -and $_.name –notlike “*xbox*” -and $_.name –notlike “*communicationssapps*” -and $_.name –notlike “*zunemusic*” -and $_.name –notlike “*mspaint*” -and $_.name –notlike “*yourphone*” -and $_.name –notlike “*bingweather*”} | Remove-AppxPackage");
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
script.Invoke();
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
using (PowerShell script = PowerShell.Create())
|
||||||
|
{
|
||||||
|
script.AddScript("Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\\AppXManifest.xml”}");
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
script.Invoke();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,64 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Cortana
|
||||||
|
{
|
||||||
|
internal class DisableBing : SettingBase
|
||||||
|
{
|
||||||
|
private const string BingKey = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Windows Search";
|
||||||
|
private const string Bing2004Key = @"HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer"; // Disable Websearch on Windows 10, version >=2004
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsCortanaDisableBing;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsCortanaDisableBingInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
|
||||||
|
{
|
||||||
|
string releaseid = Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion", "ReleaseId", "").ToString();
|
||||||
|
|
||||||
|
if (releaseid != "2004")
|
||||||
|
return !(RegistryHelper.IntEquals(BingKey, "BingSearchEnabled", DesiredValue));
|
||||||
|
|
||||||
|
else
|
||||||
|
return !(RegistryHelper.IntEquals(Bing2004Key, "DisableSearchBoxSuggestions", 1));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(BingKey, "BingSearchEnabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(Bing2004Key, "DisableSearchBoxSuggestions", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(BingKey, "BingSearchEnabled", 1, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(Bing2004Key, "DisableSearchBoxSuggestions", 0, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Cortana
|
||||||
|
{
|
||||||
|
internal class DisableCortana : SettingBase
|
||||||
|
{
|
||||||
|
private const string CortanaKey = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Windows Search";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsCortanaDisableCortana;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsCortanaDisableCortanaInfo.Replace("\\n", "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(CortanaKey, "AllowCortana", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(CortanaKey, "AllowCortana", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(CortanaKey, "AllowCortana", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,70 @@
|
||||||
|
using System;
|
||||||
|
using System.Management.Automation;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Cortana
|
||||||
|
{
|
||||||
|
internal class UninstallCortana : SettingBase
|
||||||
|
{
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsCortanaUninstallCortana;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsCortanaUninstallCortanaInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
// Cortana Package ID on Windows 10, version 2004 is *Microsoft.549981C3F5F10*
|
||||||
|
var appPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Packages", "Microsoft.549981C3F5F10");
|
||||||
|
|
||||||
|
if (Directory.Exists(appPath))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
using (PowerShell script = PowerShell.Create())
|
||||||
|
{
|
||||||
|
script.AddScript("Get-appxpackage *Microsoft.549981C3F5F10* | Remove-AppxPackage");
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
script.Invoke();
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
using (PowerShell script = PowerShell.Create())
|
||||||
|
{
|
||||||
|
script.AddScript("Get-AppXPackage -Name Microsoft.Windows.Cortana | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register \"$($_.InstallLocation)AppXManifest.xml}\"");
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
script.Invoke();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,57 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Defender
|
||||||
|
{
|
||||||
|
internal class DisableSmartScreenStore: SettingBase
|
||||||
|
{
|
||||||
|
private const string DefenderKey = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\AppHost";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsDefenderDisableSmartScreenStore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsDefenderDisableSmartScreenStoreInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(DefenderKey, "EnableWebContentEvaluation", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(DefenderKey, "EnableWebContentEvaluation", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
|
||||||
|
var RegKey = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\AppHost", true);
|
||||||
|
RegKey.DeleteValue("EnableWebContentEvaluation");
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Edge
|
||||||
|
{
|
||||||
|
internal class DisableAutoFillCredits : SettingBase
|
||||||
|
{
|
||||||
|
private const string EdgeKey = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsEdeAutoFillCredit;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsEdeAutoFillCreditInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(EdgeKey, "AutofillCreditCardEnabled", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(EdgeKey, "AutofillCreditCardEnabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(EdgeKey, "AutofillCreditCardEnabled", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Edge
|
||||||
|
{
|
||||||
|
internal class BlockEdgeRollout : SettingBase
|
||||||
|
{
|
||||||
|
private const string EdgeKey = @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdate";
|
||||||
|
private const int DesiredValue = 1;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsEdgeBlockEdgeRollout;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsEdgeBlockEdgeRolloutInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(EdgeKey, "DoNotUpdateToEdgeWithChromium", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(EdgeKey, "DoNotUpdateToEdgeWithChromium", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(EdgeKey, "DoNotUpdateToEdgeWithChromium", 0, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Edge/DisableSync.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Edge/DisableSync.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Edge
|
||||||
|
{
|
||||||
|
internal class DisableSync : SettingBase
|
||||||
|
{
|
||||||
|
private const string EdgeKey = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge";
|
||||||
|
private const int DesiredValue = 1;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsEdgeDisableSync;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsEdgeDisableSyncInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(EdgeKey, "SyncDisabled", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(EdgeKey, "SyncDisabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(EdgeKey, "SyncDisabled", 0, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Edge
|
||||||
|
{
|
||||||
|
internal class EdgeBackground : SettingBase
|
||||||
|
{
|
||||||
|
private const string EdgeKey = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsEdgeBackground;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsEdgeBackgroundInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(EdgeKey, "BackgroundModeEnabled", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(EdgeKey, "BackgroundModeEnabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(EdgeKey, "BackgroundModeEnabled", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Gaming/GameBar.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Gaming/GameBar.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Gaming
|
||||||
|
{
|
||||||
|
internal class DisableGameBar : SettingBase
|
||||||
|
{
|
||||||
|
private const string GameBarKey = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\GameDVR";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsGamingGameBar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsGamingGameBarInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(GameBarKey, "AllowGameDVR", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(GameBarKey, "AllowGameDVR", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(GameBarKey, "AllowGameDVR", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,55 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DiagnosticData : SettingBase
|
||||||
|
{
|
||||||
|
private const string DiagnosticKey = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Privacy";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDiagnosticData;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDiagnosticDataInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(DiagnosticKey, "TailoredExperiencesWithDiagnosticDataEnabled", DesiredValue)
|
||||||
|
);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(DiagnosticKey, "TailoredExperiencesWithDiagnosticDataEnabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(DiagnosticKey, "TailoredExperiencesWithDiagnosticDataEnabled", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
54
src/Privatezilla/Privatezilla/Settings/Privacy/DisableAds.cs
Normal file
54
src/Privatezilla/Privatezilla/Settings/Privacy/DisableAds.cs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DisableAds : SettingBase
|
||||||
|
{
|
||||||
|
private const string AdsKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableAds;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableAdsInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(AdsKey, "Enabled", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AdsKey, "Enabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AdsKey, "Enabled", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,55 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DisableBiometrics : SettingBase
|
||||||
|
{
|
||||||
|
private const string BiometricsKey = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Biometrics";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableBiometrics;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableBiometricsInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(BiometricsKey, "Enabled", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(BiometricsKey, "Enabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(BiometricsKey, "Enabled", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DisableCEIP : SettingBase
|
||||||
|
{
|
||||||
|
private const string CEIPKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\SQMClient\Windows";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableCEIP;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableCEIPInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(CEIPKey, "CEIPEnable", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(CEIPKey, "CEIPEnable", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(CEIPKey, "CEIPEnable", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,58 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DisableCompTelemetry : SettingBase
|
||||||
|
{
|
||||||
|
private const string TelemetryKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\CompatTelRunner.exe";
|
||||||
|
private const string DesiredValue = @"%windir%\System32\taskkill.exe";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableCompTelemetry;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableCompTelemetryInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(TelemetryKey, "Debugger", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(TelemetryKey, "Debugger", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
|
||||||
|
var RegKey = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\CompatTelRunner.exe", true);
|
||||||
|
RegKey.DeleteValue("Debugger");
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,60 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DisableFeedback: SettingBase
|
||||||
|
{
|
||||||
|
private const string PeriodInNanoSeconds = @"HKEY_CURRENT_USER\Software\Microsoft\Siuf\Rules";
|
||||||
|
private const string NumberOfSIUFInPeriod = @"HKEY_CURRENT_USER\Software\Microsoft\Siuf\Rules";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableFeedback;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableFeedbackInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(PeriodInNanoSeconds, "PeriodInNanoSeconds", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(NumberOfSIUFInPeriod, "NumberOfSIUFInPeriod", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(PeriodInNanoSeconds, "PeriodInNanoSeconds", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(NumberOfSIUFInPeriod, "NumberOfSIUFInPeriod", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var RegKey = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Siuf\Rules", true);
|
||||||
|
RegKey.DeleteValue("NumberOfSIUFInPeriod");
|
||||||
|
RegKey.DeleteValue("PeriodInNanoSeconds");
|
||||||
|
return true;
|
||||||
|
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DisableHEIP: SettingBase
|
||||||
|
{
|
||||||
|
private const string HEIPKey = @"HKEY_CURRENT_USER\Software\Microsoft\Assistance\Client\1.0\Settings";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableHEIP;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableHEIPInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(HEIPKey, "ImplicitFeedback", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(HEIPKey, "ImplicitFeedback", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(HEIPKey, "ImplicitFeedback", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,53 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DisableLocation : SettingBase
|
||||||
|
{
|
||||||
|
private const string LocationKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location";
|
||||||
|
private const string DesiredValue = @"Deny";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableLocation;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableLocationInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.StringEquals(LocationKey, "Value", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(LocationKey, "Value", DesiredValue, RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(LocationKey, "Value", "Allow", RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,55 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DisableMSExperiments: SettingBase
|
||||||
|
{
|
||||||
|
private const string ExperimentationKey = @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\current\device\System";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableMSExperiments;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableMSExperimentsInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(ExperimentationKey, "AllowExperimentation", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(ExperimentationKey, "AllowExperimentation", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(ExperimentationKey, "AllowExperimentation", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,62 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DisableTelemetry : SettingBase
|
||||||
|
{
|
||||||
|
private const string TelemetryKey = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DataCollection";
|
||||||
|
private const string DiagTrack = @"HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\DiagTrack";
|
||||||
|
private const string dmwappushservice = @"HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmwappushservice";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableTelemetry;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableTelemetryInfo.Replace("\\n", "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(TelemetryKey, "AllowTelemetry", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(DiagTrack, "Start", 4) &&
|
||||||
|
RegistryHelper.IntEquals(dmwappushservice, "Start", 4)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(TelemetryKey, "AllowTelemetry", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(DiagTrack, "Start", 4, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(dmwappushservice, "Start", 4, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(TelemetryKey, "AllowTelemetry", 3, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(DiagTrack, "Start", 2, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(dmwappushservice, "Start", 2, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,60 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DisableTimeline : SettingBase
|
||||||
|
{
|
||||||
|
private const string EnableActivityFeed = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System";
|
||||||
|
private const string PublishUserActivities = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableTimeline;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableTimelineInfo.Replace("\\n", "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(EnableActivityFeed, "EnableActivityFeed", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(PublishUserActivities, "PublishUserActivities", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(EnableActivityFeed, "EnableActivityFeed", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(PublishUserActivities, "PublishUserActivities", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var RegKey = Registry.LocalMachine.OpenSubKey(@"Software\Policies\Microsoft\Windows\System", true);
|
||||||
|
RegKey.DeleteValue("EnableActivityFeed");
|
||||||
|
RegKey.DeleteValue("PublishUserActivities");
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,67 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DisableTips: SettingBase
|
||||||
|
{
|
||||||
|
private const string DisableSoftLanding = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CloudContent";
|
||||||
|
private const string DisableWindowsSpotlightFeatures = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CloudContent";
|
||||||
|
private const string DisableWindowsConsumerFeatures = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CloudContent";
|
||||||
|
private const string DoNotShowFeedbackNotifications = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DataCollection";
|
||||||
|
private const int DesiredValue = 1;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableTips;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableTipsInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(DisableSoftLanding, "DisableSoftLanding", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(DisableWindowsSpotlightFeatures, "DisableWindowsSpotlightFeatures", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(DisableWindowsConsumerFeatures, "DisableWindowsConsumerFeatures", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(DoNotShowFeedbackNotifications, "DoNotShowFeedbackNotifications", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(DisableSoftLanding, "DisableSoftLanding", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(DisableWindowsSpotlightFeatures, "DisableWindowsSpotlightFeatures", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(DisableWindowsConsumerFeatures, "DisableWindowsConsumerFeatures", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(DoNotShowFeedbackNotifications, "DoNotShowFeedbackNotifications", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(DisableSoftLanding, "DisableSoftLanding", 0, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(DisableWindowsSpotlightFeatures, "DisableWindowsSpotlightFeatures", 0, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(DisableWindowsConsumerFeatures, "DisableWindowsConsumerFeatures", 0, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(DoNotShowFeedbackNotifications, "DoNotShowFeedbackNotifications", 0, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,64 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DisableTipsLockScreen : SettingBase
|
||||||
|
{
|
||||||
|
private const string SpotlightKey = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager";
|
||||||
|
private const string LockScreenKey = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager";
|
||||||
|
private const string TipsTricksSuggestions = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableTipsLockScreen;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableTipsLockScreenInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(SpotlightKey, "RotatingLockScreenEnabled", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(LockScreenKey, "RotatingLockScreenOverlayEnabled", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(TipsTricksSuggestions, "SubscribedContent-338389Enabled", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(SpotlightKey, "RotatingLockScreenEnabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(LockScreenKey, "RotatingLockScreenOverlayEnabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(TipsTricksSuggestions, "SubscribedContent-338389Enabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(SpotlightKey, "RotatingLockScreenEnabled", 1, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(LockScreenKey, "RotatingLockScreenOverlayEnabled", 1, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(TipsTricksSuggestions, "SubscribedContent-338389Enabled", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,55 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class DisableWiFi : SettingBase
|
||||||
|
{
|
||||||
|
private const string WiFiKey = @"HKEY_LOCAL_MACHINE\Software\Microsoft\WcmSvc\wifinetworkmanager\config";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableWiFi;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyDisableWiFiInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(WiFiKey, "AutoConnectAllowedOEM", DesiredValue)
|
||||||
|
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(WiFiKey, "AutoConnectAllowedOEM", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(WiFiKey, "AutoConnectAllowedOEM", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,55 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class GetMoreOutOfWindows: SettingBase
|
||||||
|
{
|
||||||
|
private const string GetKey = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyGetMoreOutOfWindows;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyGetMoreOutOfWindowsInfo.Replace("\\n", "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(GetKey, "ScoobeSystemSettingEnabled", DesiredValue)
|
||||||
|
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(GetKey, "ScoobeSystemSettingEnabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(GetKey, "ScoobeSystemSettingEnabled", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,71 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class HandwritingData : SettingBase
|
||||||
|
{
|
||||||
|
private const string AllowInputPersonalization = @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\InputPersonalization";
|
||||||
|
private const string RestrictImplicitInkCollection = @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\InputPersonalization";
|
||||||
|
private const string RestrictImplicitTextCollection = @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\InputPersonalization";
|
||||||
|
private const string PreventHandwritingErrorReports = @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\HandwritingErrorReports";
|
||||||
|
private const string PreventHandwritingDataSharing = @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\TabletPC";
|
||||||
|
private const int DesiredValue = 1;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyHandwritingData;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyHandwritingDataInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(AllowInputPersonalization, "AllowInputPersonalization", 0) &&
|
||||||
|
RegistryHelper.IntEquals(RestrictImplicitInkCollection, "RestrictImplicitInkCollection", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(RestrictImplicitTextCollection, "RestrictImplicitTextCollection", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(PreventHandwritingErrorReports, "PreventHandwritingErrorReports", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(PreventHandwritingDataSharing, "PreventHandwritingDataSharing", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AllowInputPersonalization, "AllowInputPersonalization", 0, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(RestrictImplicitInkCollection, "RestrictImplicitInkCollection", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(RestrictImplicitTextCollection, "RestrictImplicitTextCollection", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(PreventHandwritingErrorReports, "PreventHandwritingErrorReports", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(PreventHandwritingDataSharing, "PreventHandwritingDataSharing", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(AllowInputPersonalization, "AllowInputPersonalization", 1, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(RestrictImplicitInkCollection, "RestrictImplicitInkCollection", 0, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(RestrictImplicitTextCollection, "RestrictImplicitTextCollection", 0, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(PreventHandwritingErrorReports, "PreventHandwritingErrorReports", 0, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(PreventHandwritingDataSharing, "PreventHandwritingDataSharing", 0, RegistryValueKind.DWord); ;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,56 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class InstalledApps : SettingBase
|
||||||
|
{
|
||||||
|
private const string InstalledKey = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyInstalledApps;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyInstalledAppsInfo.Replace("\\n", "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(InstalledKey, "SilentInstalledAppsEnabled", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(InstalledKey, "SilentInstalledAppsEnabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(InstalledKey, "SilentInstalledAppsEnabled", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,58 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class InventoryCollector : SettingBase
|
||||||
|
{
|
||||||
|
private const string InventoryKey = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppCompat";
|
||||||
|
private const string AppTelemetryKey = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppCompat";
|
||||||
|
private const int DesiredValue = 1;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyInventoryCollector;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyInventoryCollectorInfo.Replace("\\n", "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(InventoryKey, "DisableInventory", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(AppTelemetryKey, "AITEnable", 0)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(InventoryKey, "DisableInventory", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(AppTelemetryKey, "AITEnable", 0, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(InventoryKey, "DisableInventory", 0, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(AppTelemetryKey, "AITEnable", 1, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class SuggestedApps : SettingBase
|
||||||
|
{
|
||||||
|
private const string SuggestedKey = @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyBlockSuggestedApps;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacyBlockSuggestedAppsInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(SuggestedKey, "SubscribedContent-338388Enabled", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(SuggestedKey, "SubscribedContent-338388Enabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(SuggestedKey, "SubscribedContent-338388Enabled", 1 , RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,64 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Privacy
|
||||||
|
{
|
||||||
|
internal class SuggestedContent : SettingBase
|
||||||
|
{
|
||||||
|
private const string SubscribedContent338393 = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager";
|
||||||
|
private const string SubscribedContent353694 = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager";
|
||||||
|
private const string SubscribedContent353696 = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacySuggestedContent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsPrivacySuggestedContentInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(SubscribedContent338393, "SubscribedContent-338393Enabled", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(SubscribedContent353694, "SubscribedContent-353694Enabled", DesiredValue) &&
|
||||||
|
RegistryHelper.IntEquals(SubscribedContent353696, "SubscribedContent-353696Enabled", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(SubscribedContent338393, "SubscribedContent-338393Enabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(SubscribedContent353694, "SubscribedContent-353694Enabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(SubscribedContent353696, "SubscribedContent-353696Enabled", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(SubscribedContent338393, "SubscribedContent-338393Enabled", 1, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(SubscribedContent353694, "SubscribedContent-353694Enabled", 1, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(SubscribedContent353696, "SubscribedContent-353696Enabled", 1, RegistryValueKind.DWord);
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,55 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Security
|
||||||
|
{
|
||||||
|
internal class DisablePassword : SettingBase
|
||||||
|
{
|
||||||
|
private const string PasswordKey = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CredUI";
|
||||||
|
private const int DesiredValue = 1;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsSecurityDisablePassword;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsSecurityDisablePasswordInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(PasswordKey, "DisablePasswordReveal", DesiredValue)
|
||||||
|
);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(PasswordKey, "DisablePasswordReveal", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(PasswordKey, "DisablePasswordReveal", 0, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,55 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Security
|
||||||
|
{
|
||||||
|
internal class WindowsDRM : SettingBase
|
||||||
|
{
|
||||||
|
private const string DRMKey = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WMDRM";
|
||||||
|
private const int DesiredValue = 1;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsSecurityWindowsDRM;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsSecurityWindowsDRMInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(DRMKey, "DisableOnline", DesiredValue)
|
||||||
|
);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(DRMKey, "DisableOnline", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(DRMKey, "DisableOnline", 0, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,59 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Updates
|
||||||
|
{
|
||||||
|
internal class BlockMajorUpdates : SettingBase
|
||||||
|
{
|
||||||
|
private const string TargetReleaseVersion = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate";
|
||||||
|
private const string TargetReleaseVersionInfo = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate";
|
||||||
|
private const int DesiredValue = 1;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsUpdatesBlockMajorUpdates;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsUpdatesBlockMajorUpdatesInfo.Replace("\\n", "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(TargetReleaseVersion, "TargetReleaseVersion", DesiredValue) &&
|
||||||
|
RegistryHelper.StringEquals(TargetReleaseVersionInfo, "TargetReleaseVersionInfo", WindowsHelper.GetOS())
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(TargetReleaseVersion, "TargetReleaseVersion", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(TargetReleaseVersionInfo, "TargetReleaseVersionInfo", WindowsHelper.GetOS(), RegistryValueKind.String);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var RegKey = Registry.LocalMachine.OpenSubKey(@"Software\Policies\Microsoft\Windows\WindowsUpdate", true);
|
||||||
|
RegKey.DeleteValue("TargetReleaseVersion");
|
||||||
|
RegKey.DeleteValue("TargetReleaseVersionInfo");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,68 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Updates
|
||||||
|
{
|
||||||
|
internal class DisableUpdates : SettingBase
|
||||||
|
{
|
||||||
|
private const string NoAutoUpdate = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU";
|
||||||
|
private const string AUOptions = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU";
|
||||||
|
private const string ScheduledInstallDay = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU";
|
||||||
|
private const string ScheduledInstallTime = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU";
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsUpdatesDisableUpdates;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsUpdatesDisableUpdatesInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(NoAutoUpdate, "NoAutoUpdate",0) &&
|
||||||
|
RegistryHelper.IntEquals(AUOptions, "AUOptions", 2) &&
|
||||||
|
RegistryHelper.IntEquals(ScheduledInstallDay, "ScheduledInstallDay", 0) &&
|
||||||
|
RegistryHelper.IntEquals(ScheduledInstallTime, "ScheduledInstallTime", 3)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(NoAutoUpdate, "NoAutoUpdate", 0, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(AUOptions, "AUOptions", 2, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(ScheduledInstallDay, "ScheduledInstallDay", 0, RegistryValueKind.DWord);
|
||||||
|
Registry.SetValue(ScheduledInstallTime, "ScheduledInstallTime", 3, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(NoAutoUpdate, "NoAutoUpdate", 1, RegistryValueKind.DWord);
|
||||||
|
|
||||||
|
var RegKey = Registry.LocalMachine.OpenSubKey(@"Software\Policies\Microsoft\Windows\WindowsUpdate\AU", true);
|
||||||
|
RegKey.DeleteValue("AUOptions");
|
||||||
|
RegKey.DeleteValue("ScheduledInstallDay");
|
||||||
|
RegKey.DeleteValue("ScheduledInstallTime");
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,56 @@
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
|
namespace Privatezilla.Setting.Updates
|
||||||
|
{
|
||||||
|
internal class DisableUpdatesSharing : SettingBase
|
||||||
|
{
|
||||||
|
private const string SharingKey = @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeliveryOptimization";
|
||||||
|
private const int DesiredValue = 0;
|
||||||
|
|
||||||
|
public override string ID()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsUpdatesUpdateSharing;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Info()
|
||||||
|
{
|
||||||
|
return Properties.Resources.settingsUpdatesUpdateSharingInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CheckSetting()
|
||||||
|
{
|
||||||
|
return !(
|
||||||
|
RegistryHelper.IntEquals(SharingKey, "DODownloadMode", DesiredValue)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool DoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Registry.SetValue(SharingKey, "DODownloadMode", DesiredValue, RegistryValueKind.DWord);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool UndoSetting()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var RegKey = Registry.LocalMachine.OpenSubKey(@"Software\Policies\Microsoft\Windows\DeliveryOptimization", true);
|
||||||
|
RegKey.DeleteValue("DODownloadMode");
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
73
src/Privatezilla/Privatezilla/app.manifest
Normal file
73
src/Privatezilla/Privatezilla/app.manifest
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
||||||
|
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||||
|
<security>
|
||||||
|
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
|
<!-- UAC-Manifestoptionen
|
||||||
|
Wenn Sie die Ebene der Benutzerkontensteuerung für Windows ändern möchten, ersetzen Sie den
|
||||||
|
Knoten "requestedExecutionLevel" wie folgt.
|
||||||
|
|
||||||
|
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||||
|
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||||
|
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||||
|
|
||||||
|
Durch Angabe des Elements "requestedExecutionLevel" wird die Datei- und Registrierungsvirtualisierung deaktiviert.
|
||||||
|
Entfernen Sie dieses Element, wenn diese Virtualisierung aus Gründen der Abwärtskompatibilität
|
||||||
|
für die Anwendung erforderlich ist.
|
||||||
|
-->
|
||||||
|
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||||
|
</requestedPrivileges>
|
||||||
|
</security>
|
||||||
|
</trustInfo>
|
||||||
|
|
||||||
|
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||||
|
<application>
|
||||||
|
<!-- Eine Liste der Windows-Versionen, unter denen diese Anwendung getestet
|
||||||
|
und für die sie entwickelt wurde. Wenn Sie die Auskommentierung der entsprechenden Elemente aufheben,
|
||||||
|
wird von Windows automatisch die kompatibelste Umgebung ausgewählt. -->
|
||||||
|
|
||||||
|
<!-- Windows Vista -->
|
||||||
|
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
|
||||||
|
|
||||||
|
<!-- Windows 7 -->
|
||||||
|
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
|
||||||
|
|
||||||
|
<!-- Windows 8 -->
|
||||||
|
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
|
||||||
|
|
||||||
|
<!-- Windows 8.1 -->
|
||||||
|
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
|
||||||
|
|
||||||
|
<!-- Windows 10 -->
|
||||||
|
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
|
||||||
|
|
||||||
|
</application>
|
||||||
|
</compatibility>
|
||||||
|
|
||||||
|
<!-- Gibt an, dass die Anwendung mit DPI-Werten kompatibel ist und von Windows nicht automatisch auf höhere
|
||||||
|
DPI-Werte skaliert wird. WPF-Anwendungen (Windows Presentation Foundation) sind automatisch mit DPI-Werten kompatibel und müssen sich nicht
|
||||||
|
anmelden. Für Windows Forms-Anwendungen für .NET Framework 4.6, die sich für diese Einstellung anmelden, muss
|
||||||
|
auch die Einstellung "'EnableWindowsFormsHighDpiAutoResizing" in der "app.config" auf "true" festgelegt werden. -->
|
||||||
|
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
|
<windowsSettings>
|
||||||
|
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||||
|
</windowsSettings>
|
||||||
|
</application>
|
||||||
|
<!-- Designs für allgemeine Windows-Steuerelemente und -Dialogfelder (Windows XP und höher) aktivieren -->
|
||||||
|
<!--
|
||||||
|
<dependency>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity
|
||||||
|
type="win32"
|
||||||
|
name="Microsoft.Windows.Common-Controls"
|
||||||
|
version="6.0.0.0"
|
||||||
|
processorArchitecture="*"
|
||||||
|
publicKeyToken="6595b64144ccf1df"
|
||||||
|
language="*"
|
||||||
|
/>
|
||||||
|
</dependentAssembly>
|
||||||
|
</dependency>
|
||||||
|
-->
|
||||||
|
|
||||||
|
</assembly>
|
Loading…
Add table
Reference in a new issue