Advertisement
Guest User

Activator

a guest
Apr 21st, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 7.32 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows;
  8. using System.Windows.Controls;
  9. using System.Windows.Data;
  10. using System.Windows.Documents;
  11. using System.Windows.Input;
  12. using System.Windows.Media;
  13. using System.Windows.Media.Imaging;
  14. using System.Windows.Navigation;
  15. using System.Windows.Shapes;
  16.  
  17. namespace MyWindowsActivator10_1._0
  18. {
  19.     /// <summary>
  20.     /// Logika interakcji dla klasy MainWindow.xaml
  21.     /// </summary>
  22.     public partial class MainWindow : Window
  23.     {
  24.         public MainWindow()
  25.         {
  26.             InitializeComponent();
  27.         }
  28.  
  29.         private void DelKey_Click(object sender, RoutedEventArgs e)
  30.         {
  31.             var proc1 = new ProcessStartInfo();
  32.             string anyCommand = "cscript slmgr.vbs /upk";
  33.             proc1.UseShellExecute = true;
  34.             proc1.WorkingDirectory = @"C:\Windows\System32";
  35.             proc1.FileName = @"C:\Windows\System32\cmd.exe";
  36.             proc1.Verb = "runas";
  37.             proc1.Arguments = "/c " + anyCommand;
  38.             proc1.WindowStyle = ProcessWindowStyle.Hidden;
  39.             Process.Start(proc1);
  40.             MessageBox.Show("Klucz produktu został usunięty", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
  41.         }
  42.  
  43.         private void WinHome_Click(object sender, RoutedEventArgs e)
  44.         {
  45.             var proc2 = new ProcessStartInfo();
  46.             string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
  47.             proc2.UseShellExecute = true;
  48.             proc2.WorkingDirectory = @"C:\Windows\System32";
  49.             proc2.FileName = @"C:\Windows\System32\cmd.exe";
  50.             proc2.Verb = "runas";
  51.             proc2.Arguments = "/c " + anyCommand;
  52.             proc2.WindowStyle = ProcessWindowStyle.Hidden;
  53.             Process.Start(proc2);
  54.             MessageBox.Show("Windows 10 Home został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
  55.         }
  56.  
  57.         private void WinPro_Click(object sender, RoutedEventArgs e)
  58.         {
  59.             var proc3 = new ProcessStartInfo();
  60.             string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
  61.             proc3.UseShellExecute = true;
  62.             proc3.WorkingDirectory = @"C:\Windows\System32";
  63.             proc3.FileName = @"C:\Windows\System32\cmd.exe";
  64.             proc3.Verb = "runas";
  65.             proc3.Arguments = "/c " + anyCommand;
  66.             proc3.WindowStyle = ProcessWindowStyle.Hidden;
  67.             Process.Start(proc3);
  68.             MessageBox.Show("Windows 10 Proffesional został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
  69.         }
  70.  
  71.         private void WinProN_Click(object sender, RoutedEventArgs e)
  72.         {
  73.             var proc4 = new ProcessStartInfo();
  74.             string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk MH37W-N47XK-V7XM9-C7227-GCQG9 && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
  75.             proc4.UseShellExecute = true;
  76.             proc4.WorkingDirectory = @"C:\Windows\System32";
  77.             proc4.FileName = @"C:\Windows\System32\cmd.exe";
  78.             proc4.Verb = "runas";
  79.             proc4.Arguments = "/c " + anyCommand;
  80.             proc4.WindowStyle = ProcessWindowStyle.Hidden;
  81.             Process.Start(proc4);
  82.             MessageBox.Show("Windows 10 Proffesional N został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
  83.         }
  84.  
  85.         private void WinEnter_Click(object sender, RoutedEventArgs e)
  86.         {
  87.             var proc5 = new ProcessStartInfo();
  88.             string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43 && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
  89.             proc5.UseShellExecute = true;
  90.             proc5.WorkingDirectory = @"C:\Windows\System32";
  91.             proc5.FileName = @"C:\Windows\System32\cmd.exe";
  92.             proc5.Verb = "runas";
  93.             proc5.Arguments = "/c " + anyCommand;
  94.             proc5.WindowStyle = ProcessWindowStyle.Hidden;
  95.             Process.Start(proc5);
  96.             MessageBox.Show("Windows 10 Enterprise został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
  97.         }
  98.  
  99.         private void WinEnterN_Click(object sender, RoutedEventArgs e)
  100.         {
  101.             var proc6 = new ProcessStartInfo();
  102.             string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
  103.             proc6.UseShellExecute = true;
  104.             proc6.WorkingDirectory = @"C:\Windows\System32";
  105.             proc6.FileName = @"C:\Windows\System32\cmd.exe";
  106.             proc6.Verb = "runas";
  107.             proc6.Arguments = "/c " + anyCommand;
  108.             proc6.WindowStyle = ProcessWindowStyle.Hidden;
  109.             Process.Start(proc6);
  110.             MessageBox.Show("Windows 10 Enterprise N został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
  111.         }
  112.  
  113.         private void WinEdu_Click(object sender, RoutedEventArgs e)
  114.         {
  115.             var proc7 = new ProcessStartInfo();
  116.             string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
  117.             proc7.UseShellExecute = true;
  118.             proc7.WorkingDirectory = @"C:\Windows\System32";
  119.             proc7.FileName = @"C:\Windows\System32\cmd.exe";
  120.             proc7.Verb = "runas";
  121.             proc7.Arguments = "/c " + anyCommand;
  122.             proc7.WindowStyle = ProcessWindowStyle.Hidden;
  123.             Process.Start(proc7);
  124.             MessageBox.Show("Windows 10 Education został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
  125.         }
  126.  
  127.         private void WinEduN_Click(object sender, RoutedEventArgs e)
  128.         {
  129.             var proc8 = new ProcessStartInfo();
  130.             string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
  131.             proc8.UseShellExecute = true;
  132.             proc8.WorkingDirectory = @"C:\Windows\System32";
  133.             proc8.FileName = @"C:\Windows\System32\cmd.exe";
  134.             proc8.Verb = "runas";
  135.             proc8.Arguments = "/c " + anyCommand;
  136.             proc8.WindowStyle = ProcessWindowStyle.Hidden;
  137.             Process.Start(proc8);
  138.             MessageBox.Show("Windows 10 Education N został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
  139.         }
  140.  
  141.         private void English_Click(object sender, RoutedEventArgs e)
  142.         {
  143.             EnglishAktivator al = new EnglishAktivator();
  144.             al.Show();
  145.             this.Hide();
  146.         }
  147.  
  148.         private void RussianPl_Click(object sender, RoutedEventArgs e)
  149.         {
  150.             RussianActivator al = new RussianActivator();
  151.             al.Show();
  152.             this.Hide();
  153.         }
  154.     }
  155. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement