# ================================================== # THIẾT LẬP HIỂN THỊ TIẾNG VIỆT CÓ DẤU (UTF-8) # ================================================== [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 [Console]::InputEncoding = [System.Text.Encoding]::UTF8 chcp 65001 > $null $host.ui.RawUI.WindowTitle = "ITSO Windows Checker 2.6" # ========================= # KIEM TRA QUYEN ADMIN # ========================= $isAdmin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) if (-not $isAdmin) { Clear-Host Write-Host "==================================================" -ForegroundColor Red Write-Host " [CANH BAO LOI] THIEU QUYEN QUAN TRI VIEN" -ForegroundColor Red Write-Host "==================================================" -ForegroundColor Red Write-Host "`nTool nay can quyen Administrator de doc/ghi cac " -ForegroundColor Red Write-Host "Service he thong va truy xuat BIOS.`n" -ForegroundColor Red Write-Host "Vui lòng bấm vào nút tìm kiếm, gỡ từ khóa PowerShell, " -ForegroundColor Red Write-Host " tìm mục Windows PowerSell, nhấp chuột phải và chọn Run As Administator`n" -ForegroundColor Red pause exit } # ========================= # LAY THONG TIN HE THONG # ========================= $script:OS_NAME = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -ErrorAction SilentlyContinue).ProductName $script:OS_BUILD = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -ErrorAction SilentlyContinue).CurrentBuild # XU LY LOI HIENTHI WINDOWS 11 CUA MICROSOFT if ([int]$script:OS_BUILD -ge 22000) { $script:OS_NAME = $script:OS_NAME -replace "Windows 10", "Windows 11" } if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64") { $script:OS_ARCH = "64-bit" } else { $script:OS_ARCH = "32-bit" } # ========================= # HÀM GIẢI MÃ FULL KEY (GIỐNG SHOWKEYPLUS) # ========================= function Get-WindowsFullKey { try { $regKey = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name "DigitalProductId" -ErrorAction Stop if ($null -eq $regKey.DigitalProductId) { return "KHONG_TIM_THAY" } $hexData = $regKey.DigitalProductId[52..66] $chars = "BCDFGHJKMPQRTVWXY2346789" $isWin8 = ($hexData[14] -band 1) -ne 0 $hexData[14] = ($hexData[14] -band 254) -bor ($isWin8 -band 1) $key = "" $last = 0 for ($i = 24; $i -ge 0; $i--) { $current = 0 for ($j = 14; $j -ge 0; $j--) { $current = ($current * 256) + $hexData[$j] $hexData[$j] = [math]::Truncate($current / 24) $current = $current % 24 } $key = $chars[$current] + $key $last = $current } if ($isWin8) { $keypart1 = $key.Substring(1, $last) $keypart2 = $key.Substring($last + 1) $key = $keypart1 + "N" + $keypart2 } if ($key.Length -eq 25) { return "$($key.Substring(0,5))-$($key.Substring(5,5))-$($key.Substring(10,5))-$($key.Substring(15,5))-$($key.Substring(20,5))" } return "KHONG_TIM_THAY" } catch { return "KHONG_TIM_THAY" } } # ========================= # CÁC HÀM CHỨC NĂNG CHÍNH # ========================= function Show-Main { Clear-Host $Host.UI.RawUI.ForegroundColor = "Cyan" $sys_date = (Get-Date).ToString('dd/MM/yyyy') $sys_time = (Get-Date).ToString('HH:mm:ss') Write-Host "==================================================" Write-Host " CONG CU KIEM TRA BAN QUYEN WINDOWS" Write-Host " Phat trien boi Tin hoc Nguyen Tai - Phien ban 2.6" Write-Host " Cap nhat: 15/06/2026 - https://itso.vn" Write-Host "==================================================" Write-Host " - He dieu hanh : $($script:OS_NAME) ($($script:OS_ARCH))" Write-Host " - Build : $($script:OS_BUILD)" Write-Host "==================================================`n" Write-Host " Cong cu giup:" Write-Host " - Kiem tra tinh hop phap cua Windows dang kich hoat" Write-Host " - Phat hien cong cu crack windows trai phep (KMS, KMS38, MAS, HWID)" Write-Host " - Go bo key kich hoat trai phep tren may" Write-Host " - Kiem tra key goc an trong BIOS (OEM tu nha may)" Write-Host " - Kich hoat Windows bang key an trong BIOS" Write-Host " - Kiem tra tinh hop le cua key Doanh nghiep (MAK)" Write-Host " - Mua ban quyen Windows " Write-Host "==================================================`n" Write-Host " MENU:" Write-Host " [1] Kiem tra tinh hop phap cua Windows dang kich hoat" Write-Host " [2] Kiem tra va khoi phuc Key goc tu BIOS (Neu co)" Write-Host " [3] Go bo key va xoa crack (Dua ve nguyen trang)" Write-Host " [4] Kiem tra cap nhat phan mem" Write-Host " [5] Cach hoat dong cua chuong trinh" Write-Host " [6] Mua ban quyen Windows " Write-Host " [7] Thoat`n" $mainchoice = Read-Host "Chon chuc nang" switch ($mainchoice) { "1" { Invoke-PreCheck } "2" { Invoke-RestoreOEM } "3" { Invoke-Remove } "4" { Invoke-Buy } "5" { Invoke-HowItWorks } "6" { Invoke-Mua } "7" { exit } default { Show-Main } } } function Invoke-PreCheck { Clear-Host $Host.UI.RawUI.ForegroundColor = "Yellow" Write-Host "==================================================" Write-Host "[CANH BAO]: Cong cu nay ho tro quet cac cong cu CRACK co phat sinh MA DOC va VIRUS." Write-Host "==================================================`n" Write-Host " [1] Tiep tuc" Write-Host " [2] Quay lai`n" $precheck_choice = Read-Host "Chon" if ($precheck_choice -eq "1") { Invoke-Check } elseif ($precheck_choice -eq "2") { Show-Main } else { Invoke-PreCheck } } function Invoke-Check { Clear-Host $Host.UI.RawUI.ForegroundColor = "Cyan" Write-Host "Dang kiem tra ban quyen va truy xuat BIOS, vui long doi...`n" $tempDli = "$env:TEMP\itso_license.txt" $tempXpr = "$env:TEMP\itso_xpr.txt" cscript //Nologo $env:windir\system32\slmgr.vbs /dli | Out-File $tempDli -Encoding Default cscript //Nologo $env:windir\system32\slmgr.vbs /xpr | Out-File $tempXpr -Encoding Default $dliContent = Get-Content $tempDli -Raw $xprContent = Get-Content $tempXpr -Raw $script:PK = "XXXXX" $pkMatch = $dliContent | Select-String -Pattern "Partial Product Key:\s*(.*)" -AllMatches if ($pkMatch.Matches.Count -gt 0) { $script:PK = $pkMatch.Matches[0].Groups[1].Value.Trim() } # LẤY FULL KEY QUA HÀM GIẢI MÃ VÀ LỌC LỖI BBBBB $script:FULL_KEY = Get-WindowsFullKey if ($script:FULL_KEY -eq "KHONG_TIM_THAY" -or $script:FULL_KEY -eq "BBBBB-BBBBB-BBBBB-BBBBB-BBBBB") { if ($script:PK -ne "XXXXX" -and $script:PK -ne "") { $script:FULL_KEY = "*****-*****-*****-*****-" + $script:PK } else { $script:FULL_KEY = "CHUA_CAI_DAT_KEY" } } # BẮT TRẠNG THÁI KHÔNG CÓ KEY NGAY TỪ ĐẦU if ($script:FULL_KEY -eq "CHUA_CAI_DAT_KEY" -or $script:PK -eq "XXXXX") { Invoke-NoKey return } $script:ACT = "CHUA KICH HOAT" if ($xprContent -match "permanently activated") { $script:ACT = "DA KICH HOAT" } # --- LẤY LOẠI KÊNH BẢN QUYỀN (CHANNEL) --- $script:CHANNEL = "KHONG_XAC_DINH" if ($dliContent -match "RETAIL") { $script:CHANNEL = "RETAIL" } elseif ($dliContent -match "OEM") { $script:CHANNEL = "OEM" } elseif ($dliContent -match "VOLUME_MAK" -or $dliContent -match "MAK") { $script:CHANNEL = "VOLUME MAK (Doanh nghiep)" } elseif ($dliContent -match "VOLUME_KMS" -or $dliContent -match "KMS") { $script:CHANNEL = "VOLUME KMS" } # --- QUET BIOS KEY BANG POWERSHELL --- $script:BIOS_KEY = "KHONG_TIM_THAY" $biosWmi = Get-CimInstance -Query 'select * from SoftwareLicensingService' -ErrorAction SilentlyContinue if ($biosWmi -and -not [string]::IsNullOrWhiteSpace($biosWmi.OA3xOriginalProductKey)) { $script:BIOS_KEY = $biosWmi.OA3xOriginalProductKey } # --- QUET CRACK --- if ($dliContent -match "VOLUME_KMSCLIENT" -or $dliContent -match "KMS" -or $dliContent -match "GVLK") { $script:CRACK_REASON = "Dung key Volume KMS hoac bi can thiep" Invoke-CrackFound; return } if ($xprContent -match "2038") { $script:CRACK_REASON = "Phat hien crack KMS38" Invoke-CrackFound; return } if (Get-Service -Name "AutoKMS" -ErrorAction SilentlyContinue) { $script:CRACK_REASON = "Phat hien Service giam sat AutoKMS" Invoke-CrackFound; return } if (Get-Service -Name "KMSELDI" -ErrorAction SilentlyContinue) { $script:CRACK_REASON = "Phat hien Service KMSELDI" Invoke-CrackFound; return } if (Get-Service -Name "SppExtComObjHook" -ErrorAction SilentlyContinue) { $script:CRACK_REASON = "Phat hien Service be khoa SppExtComObjHook" Invoke-CrackFound; return } if (Get-ScheduledTask -TaskName "AutoKMS" -ErrorAction SilentlyContinue) { $script:CRACK_REASON = "Phat hien tac vu AutoKMS chay ngam" Invoke-CrackFound; return } $hostsFile = "$env:windir\System32\drivers\etc\hosts" if (Test-Path $hostsFile) { $hostsContent = Get-Content $hostsFile -Raw -ErrorAction SilentlyContinue if ($hostsContent -match "activation\.sls\.microsoft\.com\s*127\.0\.0\.1" -and $hostsContent -match "microsoft") { $script:CRACK_REASON = "File Hosts da bi sua de chan server Microsoft" Invoke-CrackFound; return } } # Thiet lap co canh bao Key HWID (Key chung) $script:HWID_WARN = "0" $hwidKeys = @( "3V66T", "T83GX", "YKHCF", "TXYCV", # Pro "8HVX7", "233PK", "8XC4K", # Enterprise "WFG99", "6F4BT", "YTDFH", # Home "2YT43", "H8Q99", "7CFBY", "VCFB2", # Edu / Workstations "J8JXD", "8HV2C", "PDQGT", "YY74H" # Other / LTSC ) if ($hwidKeys -contains $script:PK) { $script:HWID_WARN = "1" } # --- QUET MAK --- if ($dliContent -match "MAK") { Invoke-MakKey; return } # --- QUET HOP LE KET HOP BIOS --- if ($dliContent -match "OEM" -or $dliContent -match "RETAIL") { if ($script:HWID_WARN -eq "1") { if ($script:BIOS_KEY -eq "KHONG_TIM_THAY") { $script:CRACK_REASON = "Phat hien dung Digital License HWID (MAS)" Invoke-CrackFound; return } else { $script:CRACK_REASON = "Dung HWID de kich hoat Windows dung KHONG DUNG phien ban mac dinh" Invoke-CrackFound; return } } else { Invoke-Legal; return } } Invoke-Unknown } function Invoke-MakKey { Clear-Host $Host.UI.RawUI.ForegroundColor = "Yellow" Write-Host "==================================================" Write-Host " PHAT HIEN KEY VOLUME: MAK" Write-Host "==================================================`n" Write-Host "Trang thai: DA KICH HOAT - Key Doanh nghiep`n" Write-Host "Key tren Windows : $($script:FULL_KEY)" Write-Host "Key goc tren BIOS: $($script:BIOS_KEY)`n" Write-Host "[GIAI THICH LICH SU]:" Write-Host "May ban dang su dung Key MAK. Day KHONG phai la crack," Write-Host "ma la loai key cap phep so luong lon cho doanh nghiep." Write-Host "Thuong gap khi cai ban ghost hoac may thanh ly du an.`n" if ($script:BIOS_KEY -ne "KHONG_TIM_THAY") { $Host.UI.RawUI.ForegroundColor = "Cyan" Write-Host "[!!! QUAN TRONG !!!]" Write-Host "May nay co san BAN QUYEN GOC [$($script:BIOS_KEY)] an trong Main." Write-Host "Ban nen dung chuc nang [2] o menu chinh de go bo key MAK" Write-Host "va ep nhan lai key xin nha san xuat cho on dinh tuyet doi.`n" Write-Host "==================================================" Write-Host "LUU Y: CHUC NANG NAY CHI HOAT DONG NEU PHIEN BAN WIN TRUNG KHOP PHIEN BAN DI KEM MAY `n" Write-Host "Neu bam [1] nhung khong cap nhat duoc thi nguyen nhan do GHOST WIN hoac O CUNG da duoc thay extreme tu truoc." Write-Host "May se nhan dung ban quyen neu cai lai win bang bo cai chuan ISO cua Microsoft" Write-Host "==================================================`n" } else { Write-Host "Khong tim thay key goc cua may. Co the la key bat hop phap " Write-Host "hoac key doanh nghiep bi tuon ra thi truong. Ban van co the su dung" Write-Host "key MAK nay binh thuong cho den khi bi Microsoft quet." Write-Host "Tuy nhien neu ban khong xac dinh duoc nguon goc cua key nay, ban nen go ra" Write-Host "va cai lai ban quyen moi`n" Write-Host "==================================================" Write-Host "[KHUYEN NGHI]: Cac cong cu crack luon tiem an rui ro cho du lieu." Write-Host "Ban nen su dung ban quyen chinh hang de co trai nghiem on dinh va bao mat hon!" Write-Host "==================================================" } pause Show-Main } function Invoke-Legal { Clear-Host if ($script:ACT -eq "CHUA KICH HOAT") { $Host.UI.RawUI.ForegroundColor = "Yellow" Write-Host "==================================================" Write-Host " KET QUA KIEM TRA BAN QUYEN" Write-Host "==================================================`n" Write-Host "Trang thai ban quyen: CO KEY NHUNG CHUA KICH HOAT" Write-Host "Trang thai kich hoat: $($script:ACT)" Write-Host "Loai ban quyen : $($script:CHANNEL)`n" Write-Host "[CANH BAO]: He thong da nhan key nhung CHUA KICH HOAT thanh cong." Write-Host "Nguyen nhan pho bien: Key Retail da bi gioi han, hoac do loi mang.`n" } else { $Host.UI.RawUI.ForegroundColor = "Green" Write-Host "==================================================" Write-Host " KET QUA KIEM TRA BAN QUYEN" Write-Host "==================================================`n" Write-Host "Trang thai ban quyen: HOP LE" Write-Host "Trang thai kich hoat: $($script:ACT)" Write-Host "Loai ban quyen : $($script:CHANNEL)`n" } Write-Host "Key tren Windows : $($script:FULL_KEY)" Write-Host "Key goc tren BIOS: $($script:BIOS_KEY)`n" if ($script:BIOS_KEY -ne "KHONG_TIM_THAY") { $Host.UI.RawUI.ForegroundColor = "Cyan" Write-Host "-> CHUC MUNG! May nay co san ban quyen NGUYEN GOC tu nha san xuat.`n" Write-Host "Ban quyen nay duoc tich hop san trong bios cua may." Write-Host "Ban khong can mua ban quyen neu khong co nhu cau.`n" } if ($script:HWID_WARN -eq "1") { $Host.UI.RawUI.ForegroundColor = "Yellow" Write-Host "[! THONG BAO !]" Write-Host "May nay dang su dung Key Generic [Key chung] cua Microsoft," Write-Host "nhung vi co Key goc tren BIOS nen he thong danh gia la HOP LE.`n" } Write-Host "==================================================" pause Show-Main } function Invoke-CrackFound { Clear-Host $Host.UI.RawUI.ForegroundColor = "Red" Write-Host "==================================================" Write-Host " PHAT HIEN WINDOWS DUNG CRACK / TRAI PHEP" Write-Host "==================================================`n" Write-Host "Trang thai: KHONG HOP LE - CRACK" Write-Host "Nguyen nhan: $($script:CRACK_REASON)`n" Write-Host "Key tren Windows : $($script:FULL_KEY)" Write-Host "Key goc tren BIOS: $($script:BIOS_KEY)`n" if ($script:BIOS_KEY -ne "KHONG_TIM_THAY") { $Host.UI.RawUI.ForegroundColor = "Yellow" Write-Host "[!!! QUAN TRONG !!!]" Write-Host "May cua ban thuc chat CO BAN QUYEN GOC an trong mainboard." Write-Host "Nhung hien tai he dieu hanh lai dang kich hoat bang key khong hop le." Write-Host "Hay chon chuc nang [2] o menu de khoi phuc lai key goc.`n" } Write-Host " [1] Khong lam gi - quay lai menu" Write-Host " [2] Go bo crack va khac phuc he thong" Write-Host " [3] Thoat`n" Write-Host "==================================================" Write-Host "[KHUYEN NGHI]: Cac cong cu crack luon tiem an rui ro cho du lieu." Write-Host "Ban nen su dung ban quyen chinh hang de co trai nghiem on dinh va bao mat hon!" Write-Host "==================================================`n" $crackchoice = Read-Host "Chon" if ($crackchoice -eq "1") { Show-Main } elseif ($crackchoice -eq "2") { Invoke-Remove } elseif ($crackchoice -eq "3") { exit } else { Invoke-CrackFound } } function Invoke-Remove { Clear-Host $Host.UI.RawUI.ForegroundColor = "Yellow" Write-Host "==================================================" Write-Host " GO BO KEY VA LAM SACH HE THONG" Write-Host "==================================================`n" Write-Host "[CANH BAO]: Cong cu nay ho tro quet cac cong cu CRACK co phat sinh MA DOC va VIRUS`n" Write-Host "Neu nhu ban xac dinh may cua ban dang dung Windows CRACK va muon go key" Write-Host "(khong can qua buoc check) thi hay lua chon:`n" Write-Host " [1] Go KEY, khoi phuc tinh toan ven cua Windows" Write-Host " [2] Thoat`n" Write-Host "==================================================" Write-Host ". Neu ban la DOANH NGHIEP chua tung mua ban quyen Windows" Write-Host " thi nen chu dong GO BO de tranh vi pham luat SHTT" Write-Host "==================================================" $remove_choice = Read-Host "Nhap lua chon cua ban" if ($remove_choice -eq "2") { Show-Main } elseif ($remove_choice -eq "1") { Write-Host "`nDang tien hanh go bo key va xoa crack (neu co), vui long doi..." # 1. Dừng các dịch vụ bản quyền gốc để tránh lỗi khi can thiệp Stop-Service -Name sppsvc -Force -ErrorAction SilentlyContinue Stop-Service -Name osppsvc -Force -ErrorAction SilentlyContinue # 2. Xóa Key và thông tin KMS bằng slmgr cscript //Nologo $env:windir\system32\slmgr.vbs /upk | Out-Null cscript //Nologo $env:windir\system32\slmgr.vbs /cpky | Out-Null cscript //Nologo $env:windir\system32\slmgr.vbs /ckms | Out-Null cscript //Nologo $env:windir\system32\slmgr.vbs /rearm | Out-Null # 3. Quét và diệt các Service của tool Crack $crackServices = @("AutoKMS", "KMSELDI", "SppExtComObjHook", "KMSAuto") foreach ($svc in $crackServices) { Stop-Service -Name $svc -Force -ErrorAction SilentlyContinue sc.exe delete $svc | Out-Null } # 4. Quét và xóa các Tác vụ chạy ngầm (Scheduled Tasks) của tool Crack $crackTasks = @("AutoKMS", "AutoPico Daily Restart", "KMSAutoNet", "SvcRestartTask") foreach ($task in $crackTasks) { Unregister-ScheduledTask -TaskName $task -Confirm:$false -ErrorAction SilentlyContinue } # 5. Dọn dẹp Registry KMS Policy $sppPolicyPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform" if (Test-Path $sppPolicyPath) { Remove-ItemProperty -Path $sppPolicyPath -Name "KeyManagementServiceName" -ErrorAction SilentlyContinue Remove-ItemProperty -Path $sppPolicyPath -Name "KeyManagementServicePort" -ErrorAction SilentlyContinue } # 6. Khôi phục file Hosts $hostsPath = "$env:windir\System32\drivers\etc\hosts" if (Test-Path $hostsPath) { Set-ItemProperty -Path $hostsPath -Name IsReadOnly -Value $false -ErrorAction SilentlyContinue } "# Default Hosts File`r`n127.0.0.1 localhost" | Out-File -FilePath $hostsPath -Encoding ascii $Host.UI.RawUI.ForegroundColor = "Green" Write-Host "`nDa hoan tat go bo key va lam sach he thong!" Write-Host "Vui long KHOI DONG LAI may de ap dung thay doi.`n" Write-Host "==================================================" Write-Host "[KHUYEN NGHI]: Cac cong cu crack luon tiem an rui ro cho du lieu." Write-Host "Ban nen su dung ban quyen chinh hang de co trai nghiem on dinh va bao mat hon!" Write-Host "==================================================`n" pause Show-Main } else { Invoke-Remove } } function Invoke-RestoreOEM { Clear-Host $Host.UI.RawUI.ForegroundColor = "Yellow" Write-Host "==================================================" Write-Host " KHOI PHUC KEY BAN QUYEN GOC TU BIOS" Write-Host "==================================================`n" Write-Host "[THONG BAO]: Tinh nang nay danh cho khach hang muon xoa bo key hien tai " Write-Host "va tra lai key goc duoc nha san xuat tich hop tren bios.`n" Write-Host " [1] Tiep tuc " Write-Host " [2] Quay lai `n" Write-Host "==================================================" Write-Host "LUU Y: CHUC NANG NAY CHI HOAT DONG NEU PHIEN BAN WIN TRUNG KHOP PHIEN BAN DI KEM MAY `n" Write-Host "Neu bam [1] nhung khong cap nhat duoc thi nguyen nhan do GHOST WIN hoac O CUNG da duoc thay the tu truoc." Write-Host "May se nhan dung ban quyen neu cai lai win bang bo cai chuan ISO cua Microsoft" Write-Host "==================================================`n" $restore_choice = Read-Host "Nhap lua chon cua ban" if ($restore_choice -eq "2") { Show-Main } elseif ($restore_choice -eq "1") { $TEMP_BIOS = "KHONG_TIM_THAY" $biosWmi = Get-CimInstance -Query 'select * from SoftwareLicensingService' -ErrorAction SilentlyContinue if ($biosWmi -and -not [string]::IsNullOrWhiteSpace($biosWmi.OA3xOriginalProductKey)) { $TEMP_BIOS = $biosWmi.OA3xOriginalProductKey } if ($TEMP_BIOS -eq "KHONG_TIM_THAY") { $Host.UI.RawUI.ForegroundColor = "Red" Write-Host "Rat tiec! Mainboard cua may nay KHONG duoc tich hop san" Write-Host "ban quyen Windows tu nha san xuat." Write-Host "Khong the thuc hien khoi phuc.`n" pause Show-Main } else { Write-Host "`nPhat hien Key goc: $TEMP_BIOS" Write-Host "Dang tien hanh xoa key cu va nhap key goc, vui long doi...`n" cscript //Nologo $env:windir\system32\slmgr.vbs /upk | Out-Null cscript //Nologo $env:windir\system32\slmgr.vbs /cpky | Out-Null cscript //Nologo $env:windir\system32\slmgr.vbs /ipk $TEMP_BIOS | Out-Null Write-Host "Dang ket noi den may chu Microsoft de kich hoat..." cscript //Nologo $env:windir\system32\slmgr.vbs /ato | Out-Null $Host.UI.RawUI.ForegroundColor = "Green" Write-Host "`n==================================================" Write-Host "DA HOAN TAT! " Write-Host "Vui long dung chuc nang [1] de kiem tra lai trang thai." Write-Host "==================================================" pause Show-Main } } else { Invoke-RestoreOEM } } function Invoke-Buy { Clear-Host Write-Host "Dang tai thong tin, vui long doi..." Start-Process "https://itso.vn/iwc" Start-Sleep -Seconds 2 Show-Main } function Invoke-Mua { Clear-Host Write-Host "Dang tai thong tin, vui long doi..." Start-Process "https://itso.vn/iwcbuy" Start-Sleep -Seconds 2 Show-Main } function Invoke-HowItWorks { Clear-Host $Host.UI.RawUI.ForegroundColor = "Cyan" Write-Host "==================================================" Write-Host " CACH THUC HOAT DONG" Write-Host "==================================================`n" Write-Host "Tool ITSO hoat dong dua tren 4 buoc kiem tra an toan:`n" Write-Host "1. QUET CHIP BIOS (Mainboard):" Write-Host " Dung lenh he thong PowerShell de truy xuat vao phan cung," Write-Host " tim kiem Key ban quyen chuan xuat xuong (OEM Key).`n" Write-Host "2. PHAN TICH GIAY PHEP WINDOWS:" Write-Host " Goi script cua Microsoft (slmgr.vbs) de doc trang" Write-Host " thai hien tai: La Retail, OEM, MAK hay KMS.`n" Write-Host "3. QUET TIM DAU VET CRACK/HACK:" Write-Host " - Quet Task Scheduler va Services xem co tool an." Write-Host " - Kiem tra file Hosts co bi sua de chan Microsoft." Write-Host " - Check cac loai KMS 180 ngay, KMS38, HWID/MAS.`n" Write-Host "4. KHOI PHUC HE THONG / GO BO KEY:" Write-Host " Go bo sach se file/service rac cua tool crack, dua" Write-Host " file Hosts ve mac dinh hoac xoa hoan toan Key dang dung.`n" Write-Host "* Tool khong chua ma doc, chay 100% bang lenh he thong!`n" Write-Host "==================================================" pause Show-Main } function Invoke-Unknown { Clear-Host $Host.UI.RawUI.ForegroundColor = "Yellow" Write-Host "==================================================" Write-Host " KHONG XAC DINH DUOC LOAI KEY" Write-Host "==================================================`n" Write-Host "Key tren Windows : $($script:FULL_KEY)" Write-Host "Key goc tren BIOS: $($script:BIOS_KEY)`n" pause Show-Main } # ========================= # KHỞI CHẠY MENU CHÍNH # ========================= Show-Main