# full-disable.ps1 - Complete security disable for sandbox VM # Combines: Defender disable + Password removal + Lock screen removal # Run as Administrator inside the VM #Requires -RunAsAdministrator Write-Host "========================================" -ForegroundColor Cyan Write-Host " FULL SANDBOX CONFIGURATION" -ForegroundColor Cyan Write-Host " Disabling all security features" -ForegroundColor Cyan Write-Host "========================================`n" -ForegroundColor Cyan # 1. Run disable-defender.ps1 Write-Host "[1/3] Disabling Windows Defender..." -ForegroundColor Yellow & ".\disable-defender.ps1" # 2. Run psless.ps1 Write-Host "`n[2/3] Setting up passwordless access..." -ForegroundColor Yellow & ".\psless.ps1" # 3. Additional optimizations Write-Host "`n[3/3] Additional sandbox optimizations..." -ForegroundColor Yellow # Disable Windows Update Stop-Service -Name wuauserv -Force -ErrorAction SilentlyContinue Set-Service -Name wuauserv -StartupType Disabled -ErrorAction SilentlyContinue Write-Host " - Windows Update: DISABLED" -ForegroundColor Gray # Disable Error Reporting Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name "Disabled" -Value 1 -Type DWord -Force -ErrorAction SilentlyContinue Write-Host " - Error Reporting: DISABLED" -ForegroundColor Gray # Disable Telemetry Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection" -Name "AllowTelemetry" -Value 0 -Type DWord -Force -ErrorAction SilentlyContinue Write-Host " - Telemetry: DISABLED" -ForegroundColor Gray Write-Host "`n========================================" -ForegroundColor Green Write-Host " SANDBOX CONFIGURATION COMPLETE!" -ForegroundColor Green Write-Host "========================================" -ForegroundColor Green Write-Host "`nAll security features disabled:" -ForegroundColor Yellow Write-Host " - Windows Defender: OFF" -ForegroundColor White Write-Host " - Firewall: OFF" -ForegroundColor White Write-Host " - Password: BLANK" -ForegroundColor White Write-Host " - Lock Screen: DISABLED" -ForegroundColor White Write-Host " - UAC: DISABLED" -ForegroundColor White Write-Host " - Windows Update: OFF" -ForegroundColor White Write-Host "`n[REQUIRED] Restart the VM now:" -ForegroundColor Red Write-Host "Restart-Computer -Force" -ForegroundColor Yellow