This repository has been archived by the owner on Jul 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f68201c
Showing
46 changed files
with
19,820 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
} | ||
} | ||
} |
Oops, something went wrong.