Skip to content

splashtop_uninstall.ps1

Corey Watson edited this page Dec 19, 2025 · 1 revision

splashtop_uninstall.ps1

Uninstalls Splashtop Streamer from a Windows system using the Windows Installer service.

Overview

This script automates the removal of Splashtop Streamer by querying the Windows Installer service for the product and executing a silent uninstall.

Purpose

Uninstalls Splashtop Streamer from a Windows system using the Windows Installer service (MSI uninstall).

Prerequisites

  • Windows OS
  • Administrator privileges
  • Splashtop Streamer installed

Configuration

Required Inputs

  • $productName : Display name of the Splashtop product to uninstall

Hardcoded default:

  • Product Name: Splashtop Streamer

Behavior

  1. Validates input parameters
  2. Searches for Splashtop Streamer in installed products
  3. Retrieves the identifying number (GUID)
  4. Executes silent uninstall via CIM method
  5. Reports final status

Security Notes

  • No secrets in logs

Exit Codes

  • 0 = Success
  • 1 = Failure

Example Output

[ INPUT VALIDATION ]
--------------------------------------------------------------
Product Name : Splashtop Streamer
Inputs validated successfully

[ PRODUCT LOOKUP ]
--------------------------------------------------------------
Searching for installed Splashtop Streamer...
Found : Splashtop Streamer
Product ID : {12345678-1234-1234-1234-123456789012}

[ UNINSTALLATION ]
--------------------------------------------------------------
Uninstalling Splashtop Streamer...
Uninstall completed successfully

[ FINAL STATUS ]
--------------------------------------------------------------
Result : SUCCESS
Splashtop Streamer has been uninstalled

[ SCRIPT COMPLETED ]
--------------------------------------------------------------

Version History

  • 2024-12-01 v1.0.0 - Initial release - migrated from SuperOps

Links

Clone this wiki locally