Prevent WPS Image Hijack for Openclaw

A utility skill to permanently block WPS Office from hijacking default image associations and restore user control on Windows systems.

ibiubiu233i
v1.0.0
Jun 16, 2026
1
452
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install stop-wps-image-assoc-reset

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install stop-wps-image-assoc-reset using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Prevent WPS Image Hijack?

The Prevent WPS Image Hijack skill is a technical automation framework designed to stop WPS Office from aggressively overriding default image file associations on Windows. WPS regularly resets system default viewers to its own proprietary image tool using background scheduled tasks. By targeting these scheduled processes, removing active registry configurations, and renaming core executable components, this system provides a permanent fix.

Using this automation from the Openclaw Skills ecosystem ensures users retain complete control over their preferred desktop photo viewers without breaking core office features like document processing or spreadsheets.

Prevent WPS Image Hijack Use Cases

  • Resolving instances where Windows Photo Viewer or standard third-party photo tools are repeatedly hijacked by WPS Office.
  • Standardizing Windows default application behavior across managed systems in corporate IT environments.
  • Automated correction of default file associations post-WPS updates, which typically attempt to re-establish hijacked registry entries.

How Prevent WPS Image Hijack Works

  1. Detect and Disable Scheduled Tasks: Scans the Windows Task Scheduler for all WPS-related tasks and disables them to block periodic background association overrides.
  2. Delete Hijacked Registry Classes: Safely queries the registry and purges WPS.PIC.* association entries from the current user (HKCU) and local machine (HKLM) hives.
  3. Remove Core DLL Module: Recursively scans standard and custom installation paths to locate and force-delete the core photo.dll plugin module.
  4. Quarantine Launcher Executable: Locates active instances of photolaunch.exe and renames them to photolaunch.exe.bak to completely neutralize the viewer from executing.
  5. User Notification & Verification: Provides standard OS verification outputs to confirm system cleanup and guides the user through Windows default settings adjustment.

Prevent WPS Image Hijack Setup

To deploy this system configuration script, execute the following PowerShell block as an Administrator:

# Locate and disable background update tasks automatically
$wpsTasks = Get-ScheduledTask | Where-Object { $_.TaskName -match 'WPS|wps' }
$wpsTasks | ForEach-Object {
    try {
        Disable-ScheduledTask -TaskName $_.TaskName -ErrorAction Stop
        Write-Host 'Successfully disabled task: ' $_.TaskName
    } catch {
        Write-Host 'Failed to disable task: ' $_.TaskName
    }
}

Run these steps as part of your system deployment workspace using Openclaw Skills to maintain clean OS file associations.

Prevent WPS Image Hijack Data Schema & Taxonomy

Association Component Resource Path Target Scope Action Type
Background Tasks Task Scheduler (*WPS*) System Tasks Disabled
User Classes HKCU:\\SOFTWARE\\Classes\\WPS.PIC* HKCU Registry Deleted
Machine Classes HKLM:\\SOFTWARE\\Classes\\WPS.PIC* HKLM Registry Deleted
Image DLL photo.dll File System Deleted
Image Launcher photolaunch.exe File System Renamed to .bak

Prevent WPS Image Hijack Advanced Features

  • Auto-Discovery Scanning: Searches multiple installation directories, including Program Files, Program Files (x86), and Local AppData, across several system drives (C, D, E) to ensure multi-version cleanups.
  • Non-Destructive Execution: Only neutralizes the image viewing module while leaving WPS Office's primary word processor, spreadsheet, and presentation functions perfectly intact.
  • Dynamic Registry Diagnostics: Safely queries individual registry hives before initiating file operations, avoiding manual search routines.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*