-
Notifications
You must be signed in to change notification settings - Fork 6
onestart_complete_removal.ps1
Corey Watson edited this page Dec 1, 2025
·
1 revision
Completely removes OneStart.ai browser/PUP from Windows systems with automated uninstall and comprehensive cleanup.
This script completely removes OneStart.ai browser/PUP from Windows systems. First attempts a clean uninstall via NirSoft UninstallView, then performs manual cleanup of any remaining processes, files, registry keys, and scheduled tasks.
Completely removes OneStart.ai browser/PUP from Windows systems. First attempts a clean uninstall via NirSoft UninstallView, then performs manual cleanup of any remaining processes, files, registry keys, and scheduled tasks.
- Windows PowerShell 5.1+
- Administrative privileges required
- Internet access for UninstallView download
- $appName : Application name for uninstall (default: OneStart)
- NirSoft UninstallView for silent uninstall attempt
- Windows Task Scheduler for scheduled task removal
- File system for leftover folders
- Windows Registry for leftover keys
- Downloads NirSoft UninstallView (architecture-appropriate)
- Attempts silent uninstall of OneStart via UninstallView
- Terminates any running OneStart/DBar processes
- Removes scheduled tasks matching OneStart patterns
- Removes leftover files and folders from AppData, ProgramData, Program Files
- Backs up registry keys to $env:SystemDrive\limehawk\registry_backup before removal
- Cleans up registry keys in HKCU and HKLM
- Reports final cleanup status
- No secrets in logs
- Only removes OneStart-related items using known paths/patterns
- Registry keys are backed up before removal for recovery if needed
- 0 : Success
- 1 : Failure
[ INPUT VALIDATION ]
--------------------------------------------------------------
Application Name : OneStart
[ NIRSOFT UNINSTALLVIEW SETUP ]
--------------------------------------------------------------
Architecture : 64-bit
Download URL : https://www.nirsoft.net/utils/uninstallview-x64.zip
Downloading UninstallView...
Download complete
Extracting to C:\limehawk\nirsoft...
Extraction complete
[ UNINSTALL ATTEMPT ]
--------------------------------------------------------------
Searching for : OneStart
Attempting silent uninstall...
Uninstall command issued
Waiting 10 seconds for uninstall to complete...
[ PROCESS TERMINATION ]
--------------------------------------------------------------
Searching for OneStart/DBar processes...
Found process : OneStart (PID: 12345)
Terminated : OneStart
Process cleanup complete
[ SCHEDULED TASK REMOVAL ]
--------------------------------------------------------------
Searching for OneStart scheduled tasks...
Found : OneStartUpdaterTaskUser134.0.6
Removed : OneStartUpdaterTaskUser134.0.6
Removing task folders...
Task cleanup complete
[ FILE CLEANUP ]
--------------------------------------------------------------
Checking known OneStart locations...
Removed : C:\Users\User\AppData\Local\OneStart.ai
Removed : C:\Users\User\AppData\Roaming\OneStart
File cleanup complete
[ REGISTRY BACKUP ]
--------------------------------------------------------------
Creating registry backups before removal...
Backed up : HKCU:\Software\OneStart.ai
Backup location : <SystemDrive>\limehawk\registry_backup\onestart_20251201_120000
Registry backup complete
[ REGISTRY CLEANUP ]
--------------------------------------------------------------
Cleaning registry keys...
Removed : HKCU:\Software\OneStart.ai
Checking startup entries...
Registry cleanup complete
[ FINAL STATUS ]
--------------------------------------------------------------
Result : Success
Uninstall Attempted : Yes
Processes Terminated : 1
Tasks Removed : 1
Folders Removed : 2
Registry Keys Backed Up : 1
Registry Keys Removed : 1
[ SCRIPT COMPLETED ]
- 2025-12-01 v1.1.0 - Add registry backup before removal to $env:SystemDrive\limehawk\registry_backup
- 2025-12-01 v1.0.0 - Initial release - combines NirSoft uninstall with manual cleanup
- View Script Source
- Scripts - Back to script index