Kamis, 14 Agustus 2025

Reset seperti Komputer Baru

Script PowerShell

📜 PowerShell Script (Khusus Chrome)

Simpan sebagai reset-id.ps1, jalankan Run as Administrator.

# === 1. Ganti MachineGuid ===
Write-Host "[1/3] Mengganti MachineGuid..." -ForegroundColor Cyan
$NewGuid = [guid]::NewGuid().ToString()
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Cryptography" -Name "MachineGuid" -Value $NewGuid
Write-Host "MachineGuid baru: $NewGuid" -ForegroundColor Green

# === 2. Ganti MAC Address (Realtek PCIe GbE Family Controller) ===
Write-Host "`n[2/3] Mengganti MAC Address..." -ForegroundColor Cyan
$adapterName = "Realtek PCIe GbE Family Controller"
$random = -join ((48..57)+(65..70) | Get-Random -Count 12 | % {[char]$_})  # 12 hex chars
$mac = ($random -split '(.{2})' | ? {$_ -ne ""}) -join "-"
Set-NetAdapterAdvancedProperty -Name $adapterName -DisplayName "Network Address" -DisplayValue $mac -NoRestart
Restart-NetAdapter -Name $adapterName
Write-Host "MAC Address baru: $mac" -ForegroundColor Green

# === 3. Bersihkan fingerprint & cache Chrome ===
Write-Host "`n[3/3] Menghapus fingerprint dan cache Chrome..." -ForegroundColor Cyan

$chromeDefault = "$env:LOCALAPPDATA\Google\Chrome\User Data\Default"

$chromePaths = @(
    "$chromeDefault\Cache",
    "$chromeDefault\Code Cache",
    "$chromeDefault\GPUCache",
    "$chromeDefault\IndexedDB",
    "$chromeDefault\Local Storage",
    "$chromeDefault\Session Storage",
    "$chromeDefault\Web Storage",
    "$chromeDefault\Service Worker",
    "$chromeDefault\blob_storage",
    "$chromeDefault\databases"
)

foreach ($path in $chromePaths) {
    if (Test-Path $path) {
        Remove-Item $path -Recurse -Force -ErrorAction SilentlyContinue
    }
}

# Hapus file Preferences & Secure Preferences (fingerprint setting)
$prefFile = "$chromeDefault\Preferences"
$securePrefFile = "$chromeDefault\Secure Preferences"
if (Test-Path $prefFile) { Remove-Item $prefFile -Force -ErrorAction SilentlyContinue }
if (Test-Path $securePrefFile) { Remove-Item $securePrefFile -Force -ErrorAction SilentlyContinue }

Write-Host "`nSelesai! Restart komputer sebelum buka Augmen lagi." -ForegroundColor Yellow

🔹 Cara pakai:

1. Tutup Chrome dulu (pastikan tidak ada proses Chrome di Task Manager).
2. Buka Notepad → paste kode di atas → simpan sebagai reset-id.ps1.
3. Klik kanan file → Run with PowerShell (Administrator).
4. Tunggu sampai selesai, lalu restart komputer.
5. Buka Chrome → jangan login akun Google lama → langsung daftar akun baru di Augmen.

Tidak ada komentar:

Posting Komentar