Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
MinegamesAdministrationTool-zz authored Feb 19, 2021
0 parents commit f68201c
Show file tree
Hide file tree
Showing 46 changed files with 19,820 additions and 0 deletions.
25 changes: 25 additions & 0 deletions MinegamesAdministrationTool.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30907.101
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MinegamesAdministrationTool", "MinegamesAdministrationTool\MinegamesAdministrationTool.csproj", "{BF273CD1-B207-4985-8AD1-CC4617DDD772}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BF273CD1-B207-4985-8AD1-CC4617DDD772}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BF273CD1-B207-4985-8AD1-CC4617DDD772}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BF273CD1-B207-4985-8AD1-CC4617DDD772}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BF273CD1-B207-4985-8AD1-CC4617DDD772}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0ACAF136-EFF9-4A01-9C10-F975174DEB9B}
EndGlobalSection
EndGlobal
6 changes: 6 additions & 0 deletions MinegamesAdministrationTool/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>
500 changes: 500 additions & 0 deletions MinegamesAdministrationTool/Form1.Designer.cs

Large diffs are not rendered by default.

141 changes: 141 additions & 0 deletions MinegamesAdministrationTool/Form1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Microsoft.Win32;
using System.Diagnostics;

namespace MinegamesAdministrationTool
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
RegistryKey EnableTaskManager = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System");
EnableTaskManager.SetValue("DisableTaskMgr", 0, RegistryValueKind.DWord);
}

private void button2_Click(object sender, EventArgs e)
{
RegistryKey DisableTaskManager = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System");
DisableTaskManager.SetValue("DisableTaskMgr", 1, RegistryValueKind.DWord);
}

private void button3_Click(object sender, EventArgs e)
{
RegistryKey EnableRegedit = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System");
EnableRegedit.SetValue("DisableRegistryTools", 0, RegistryValueKind.DWord);
}

private void button4_Click(object sender, EventArgs e)
{
RegistryKey DisableRegedit = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System");
DisableRegedit.SetValue("DisableRegistryTools", 1, RegistryValueKind.DWord);
}

private void button5_Click(object sender, EventArgs e)
{
RegistryKey EnableCMD = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Policies\\Microsoft\\Windows\\System");
EnableCMD.SetValue("DisableCMD", 0, RegistryValueKind.DWord);
}

private void button6_Click(object sender, EventArgs e)
{
RegistryKey DisableCMD = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Policies\\Microsoft\\Windows\\System");
DisableCMD.SetValue("DisableCMD", 1, RegistryValueKind.DWord);
}

private void button7_Click(object sender, EventArgs e)
{
RegistryKey EnableWindowsUpdate = Registry.LocalMachine.CreateSubKey("SOFTWARE\\Policies\\Microsoft\\Windows\\AU");
EnableWindowsUpdate.SetValue("NoAutoUpdate", 0, RegistryValueKind.DWord);
}

private void button8_Click(object sender, EventArgs e)
{
RegistryKey DisableWindowsUpdate = Registry.LocalMachine.CreateSubKey("SOFTWARE\\Policies\\Microsoft\\Windows\\AU");
DisableWindowsUpdate.SetValue("NoAutoUpdate", 1, RegistryValueKind.DWord);
}

private void button11_Click(object sender, EventArgs e)
{
RegistryKey EnableRun = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer");
EnableRun.SetValue("NoRun", 0, RegistryValueKind.DWord);
}

private void button12_Click(object sender, EventArgs e)
{
RegistryKey DisableRun = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer");
DisableRun.SetValue("NoRun", 1, RegistryValueKind.DWord);
}

private void button9_Click(object sender, EventArgs e)
{
RegistryKey EnableWSC = Registry.LocalMachine.CreateSubKey("SYSTEM\\CurrentControlSet\\Services\\wscsvc");
EnableWSC.SetValue("Start", 0, RegistryValueKind.DWord);
}

private void button10_Click(object sender, EventArgs e)
{
RegistryKey DisableWSC = Registry.LocalMachine.CreateSubKey("SYSTEM\\CurrentControlSet\\Services\\wscsvc");
DisableWSC.SetValue("Start", 1, RegistryValueKind.DWord);
}

private void button13_Click(object sender, EventArgs e)
{
RegistryKey DisableTaskManager = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System");
DisableTaskManager.SetValue("DisableTaskMgr", 1, RegistryValueKind.DWord);

RegistryKey DisableRegedit = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System");
DisableRegedit.SetValue("DisableRegistryTools", 1, RegistryValueKind.DWord);

RegistryKey DisableCMD = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Policies\\Microsoft\\Windows\\System");
DisableCMD.SetValue("DisableCMD", 1, RegistryValueKind.DWord);

RegistryKey DisableWindowsUpdate = Registry.LocalMachine.CreateSubKey("SOFTWARE\\Policies\\Microsoft\\Windows\\AU");
DisableWindowsUpdate.SetValue("NoAutoUpdate", 1, RegistryValueKind.DWord);

RegistryKey DisableRun = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer");
DisableRun.SetValue("NoRun", 1, RegistryValueKind.DWord);

RegistryKey DisableWSC = Registry.LocalMachine.CreateSubKey("SYSTEM\\CurrentControlSet\\Services\\wscsvc");
DisableWSC.SetValue("Start", 1, RegistryValueKind.DWord);
}

private void button14_Click(object sender, EventArgs e)
{
RegistryKey EnableTaskManager = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System");
EnableTaskManager.SetValue("DisableTaskMgr", 0, RegistryValueKind.DWord);

RegistryKey EnableRegedit = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System");
EnableRegedit.SetValue("DisableRegistryTools", 0, RegistryValueKind.DWord);

RegistryKey EnableCMD = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Policies\\Microsoft\\Windows\\System");
EnableCMD.SetValue("DisableCMD", 0, RegistryValueKind.DWord);

RegistryKey EnableWindowsUpdate = Registry.LocalMachine.CreateSubKey("SOFTWARE\\Policies\\Microsoft\\Windows\\AU");
EnableWindowsUpdate.SetValue("NoAutoUpdate", 0, RegistryValueKind.DWord);

RegistryKey EnableRun = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer");
EnableRun.SetValue("NoRun", 0, RegistryValueKind.DWord);

RegistryKey EnableWSC = Registry.LocalMachine.CreateSubKey("SYSTEM\\CurrentControlSet\\Services\\wscsvc");
EnableWSC.SetValue("Start", 0, RegistryValueKind.DWord);
}

private void button15_Click(object sender, EventArgs e)
{
new Form2().Show();
}
}
}
Loading

0 comments on commit f68201c

Please sign in to comment.