# Restaurant ERP — Windows service uninstaller (keeps all data/backups)
$svcName = "RestaurantERP"
& sc.exe stop $svcName | Out-Null
Start-Sleep -Seconds 2
& sc.exe delete $svcName | Out-Null
Write-Host "Service removed. Data, backups and logs were NOT deleted."
Write-Host "To remove them too, delete the install directory manually after confirming the backups."
