Re-installing Zoho Assist on Non-Responsive Laptops
Purpose
This document provides a step-by-step guide for infrastructure team members to reinstall Zoho Assist on laptops that are not properly checking in with the Zoho portal. This process involves using Sophos with admin rights and live assist capabilities to execute PowerShell scripts remotely.
Prerequisites
- Sophos administrative access with live assist capabilities.
- Knowledge of PowerShell scripting.
- Administrative rights on the target laptop.
Procedure
Part 1: Uninstall Existing Zoho Assist
- Connect to the Laptop: Use Sophos live assist to remotely connect to the laptop.
- Open PowerShell: Switch to a PowerShell session on the laptop.
- Run Uninstall Script:
# Define the URL of the uninstall script
$url = "https://pukszohostg.blob.core.windows.net/zohoassist/URS_uninstall.bat"
# Define the path where the script will be saved
$destination = "C:\Windows\Temp\URS_uninstall.bat"
# Download the uninstall script
Invoke-WebRequest -Uri $url -OutFile $destination
# Execute the uninstall script
& $destination
- Wait for Completion: After executing the script, wait for approximately 30 seconds to ensure the uninstallation process is complete.
Part 2: Install Zoho Assist
- Download and Install Zoho Assist:
# PowerShell Script to Install Zoho Assist Unattended Agent
$errorActionPreference = "Stop"
$drivePath = [Environment]::ExpandEnvironmentVariables('%SYSTEMROOT%') + "\temp"
# Create temp directory if it doesn't exist
if (!(Test-Path $drivePath)) {
New-Item -ItemType Directory -Path $drivePath
}
# Download Zoho Assist MSI and JSON configuration files
$msiFile = "https://pukszohostg.blob.core.windows.net/zohoassist/ZA_Access.msi"
$jsonFile = "https://pukszohostg.blob.core.windows.net/zohoassist/info.json"
$msiDestination = "$drivePath\ZA_Access.msi"
$jsonDestination = "$drivePath\info.json"
Invoke-WebRequest -Uri $msiFile -OutFile $msiDestination
Invoke-WebRequest -Uri $jsonFile -OutFile $jsonDestination
# Install Zoho Assist silently
cmd /c "msiexec.exe /i $msiDestination /quiet /qn /lv $drivePath\ZAInstaller.log SILENT=TRUE"
- Verify Installation: Check the ZAInstaller.log file in the $drivePath to confirm that the installation was successful.
Additional Notes
- Ensure that the target laptop is connected to a stable internet connection during this process.
- If any errors occur, refer to the ZAInstaller.log for troubleshooting.