Author Topic: I made a new windows 8 activator based on kms  (Read 1075 times)

0 Members and 1 Guest are viewing this topic.

Offline ionutica

  • NULL
  • Posts: 2
  • Cookies: 0
    • View Profile
I made a new windows 8 activator based on kms
« on: June 05, 2013, 10:27:18 am »
8) I worked a lot on it and it simply works great!
Code: [Select]
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
namespace Windows_8_Activator
{
   
    public partial class Form1 : Form
    {
        const string win8pro = "NG4HW-VH26C-733KW-K6F98-J8CK4";
        const string win8profn = "XCVCF-2NXM9-723PB-MHCB7-2RYQQ";
        const string win8enterprise = "32JNW-9KQ84-P47T8-D8GGY-CWCK7";
        const string win8enterprisen = "JMNMF-RHW7P-DMY6X-RF3DR-X2BQT";
        const string winsrv2012core = "BN3D2-R7TKB-3YPBD-8DRP2-27GG4";
        const string winsrv2012coren = "8N2M2-HWPGY-7PGT9-HGDD8-GVGGY";
        public string currentkey = "";
        public Form1()
        {
            InitializeComponent();
        }
        private void Form1_Load(object sender, EventArgs e)
        {
            if ((Environment.OSVersion.Version.Minor != 2) && (Environment.OSVersion.Version.Major != 6))
            {
                MessageBox.Show("You are NOT running windows 8", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                Application.Exit();
            }
        }
        public void activate(string key, int tick)
        {
            switch (tick)
            {
                case 1:
                    Process.Start("slmgr.vbs", "/ipk " + key);
                    break;
                case 2:
                    Process.Start("slmgr.vbs", "/skms 127.0.0.1:1688");
                    break;
                case 3:
                    Process.Start("srv.exe");
                    break;
                case 4:
                    Process.Start("slmgr.vbs", "/ato");
                    break;
                case 5:
                    Process.Start("slmgr.vbs", "/ckms");
                    break;
            }
         
        }
        private void timer1_Tick(object sender, EventArgs e)
        {
            progressBar1.Value += 1;
            if (progressBar1.Value % 20 == 0)
            {
                activate(currentkey, progressBar1.Value / 20);
            }
            if (progressBar1.Value == 100)
            {
                timer1.Stop();
                progressBar1.Value = 0;
                System.Threading.Thread.Sleep(5000);
                Process.Start("shutdown", "-r -t 00");
            }
        }
        private void button1_Click(object sender, EventArgs e)
        {
            Process.Start("ipconfig", "/release");
            progressBar1.Value = 0;
            timer1.Start();
            currentkey = win8pro;
        }
       
        private void button2_Click(object sender, EventArgs e)
        {
            Process.Start("ipconfig", "/release");
            progressBar1.Value = 0;
            timer1.Start();
            currentkey = win8profn;
        }
        private void button3_Click(object sender, EventArgs e)
        {
            Process.Start("ipconfig", "/release");
            progressBar1.Value = 0;
            timer1.Start();
            currentkey = win8enterprise;
        }
        private void button4_Click(object sender, EventArgs e)
        {
            Process.Start("ipconfig", "/release");
            progressBar1.Value = 0;
            timer1.Start();
            currentkey = win8enterprisen;
        }
        private void button5_Click(object sender, EventArgs e)
        {
            Process.Start("ipconfig", "/release");
            progressBar1.Value = 0;
            timer1.Start();
            currentkey = winsrv2012core;
        }
        private void button6_Click(object sender, EventArgs e)
        {
            Process.Start("ipconfig", "/release");
            progressBar1.Value = 0;
            timer1.Start();
            currentkey = winsrv2012coren;
        }
    }
}

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: I made a new windows 8 activator based on kms
« Reply #1 on: June 05, 2013, 10:45:24 am »
Why don't you include the project in total :)
~Factionwars