home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.comp.os.windows-11      Steaming pile of horseshit Windows 11      4,852 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,410 of 4,852   
   Maria Sophia to All   
   PSA: Removing a stubborn program in Wind   
   03 Feb 26 18:21:54   
   
   From: mariasophia@comprehension.com   
      
   PSA: Removing a stubborn program in Windows from the command line   
      
   Background:   
    Aloha has updated past the last known good version with the current   
    version 4.1.16.0.0, so I needed to delete it and install the one prior.   
      
   I figured, in doing the tests, that I'd leverage the results to everyone.   
   Bear in mind, every program can be different so you won't need all of this.   
   But you will need some of it to uninstall completely from the command line.   
      
   As admin... taskbar > runbox > cmd {shift+ctrl+rtn}   
      
   Removing a Stubborn Windows Program   
   Example: Aloha Browser   
      
   1. Check for and remove persistent updater services first,   
      because some background services restart automatically.   
      
      A. Identify the service   
         C:\> sc query type= service | findstr /i aloha   
      
         Example output:   
         SERVICE_NAME: Aloha Mobile service   
         DISPLAY_NAME: Aloha Mobile service   
      
      B. Get the service PID   
         C:\> sc queryex "Aloha Mobile service"   
      
         If a PID is shown, terminate it:   
         C:\> taskkill /PID  /F   
      
      C. Disable the service   
         C:\> sc config "Aloha Mobile service" start= disabled   
      
      D. Stop the service   
         C:\> sc stop "Aloha Mobile service"   
      
      E. Delete the service   
         C:\> sc delete "Aloha Mobile service"   
      
         Expected result:   
         [SC] DeleteService SUCCESS   
      
   2. Remove the application files   
      After the service is gone, delete the program directory.   
      
      A. Locate the install folder   
         C:\> dir /b /s "%LOCALAPPDATA%\Aloha*"   
      
      B. Delete the folder   
         C:\> rmdir /s /q "%LOCALAPPDATA%\Aloha Mobile"   
      
         If the app used alternative folders:   
         C:\> rmdir /s /q "%LOCALAPPDATA%\AlohaBrowser"   
         C:\> rmdir /s /q "%LOCALAPPDATA%\Programs\AlohaBrowser"   
      
   3. Remove startup entries   
      Some programs add themselves to Windows startup.   
      
      A. Check Run and RunOnce keys   
         C:\> reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" |   
   findstr /i aloha   
         C:\> reg query "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" |   
   findstr /i aloha   
         C:\> reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce"   
   | findstr /i aloha   
         C:\> reg query "HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce"   
   | findstr /i aloha   
      
      B. Remove any entries found   
         C:\> reg delete "" /v "" /f   
      
      C. Check Startup folders   
         C:\> dir "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup"   
         C:\> dir "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Startup"   
      
         Delete any Aloha related shortcuts.   
      
   4. Remove leftover drivers   
      Some programs install kernel drivers.   
      
         C:\> dir C:\Windows\System32\drivers | findstr /i aloha   
      
      Delete manually if present.   
      
   5. Remove scheduled tasks   
         C:\> schtasks /query | findstr /i aloha   
      
      If found:   
         C:\> schtasks /delete /tn "" /f   
      
   6. Try standard uninstall methods   
      
      A. Windows Installer (WMIC)   
         Only works if the app registered itself properly.   
      
         C:\> wmic product where "name like 'Aloha%'" call uninstall   
   /nointeractive   
      
         If you see:   
         No Instance(s) Available.   
         then the app did not register with MSI.   
      
      B. Winget uninstall   
         Check if Windows recognizes the package:   
      
         C:\> winget list aloha   
      
         If listed:   
         C:\> winget uninstall "Aloha Browser"   
      
      C. Built in uninstaller   
         Some apps include their own uninstall executable.   
      
         Check these locations:   
         C:\Program Files\Aloha\   
         C:\Program Files (x86)\Aloha\   
         C:\Users\\AppData\Local\AlohaBrowser\   
      
         Look for:   
         uninstall.exe   
         unins000.exe   
         AlohaUninstall.exe   
      
         Run it:   
         C:\> "\uninstall.exe" /S   
      
   7. If installed as a Microsoft Store app   
         PS\> Get-AppxPackage *aloha* | Select Name, PackageFullName   
         PS\> Get-AppxPackage *aloha* | Remove-AppxPackage   
      
   Result:   
   Following these steps removes the application, its updater service, scheduled   
   tasks, startup entries, leftover drivers, and hidden install folders. This   
   produces a complete removal even for stubborn programs.   
      
   As always, please improve by adding more checks and removal commands.   
   --   
   Just one person paying it forward by helping others who later help me.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca