Rapid7

module

Windows Persistent Task Scheduler

Disclosed
May 15, 1998
Created
Oct 31, 2025

Description

This module establishes persistence by creating a scheduled task to run a payload.

Author

h00die

Platform

Windows

Architectures

x64, x86, aarch64

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/windows/persistence/task_scheduler
msf exploit(task_scheduler) > show targets
...targets...
msf exploit(task_scheduler) > set TARGET < target-id >
msf exploit(task_scheduler) > show options
...show and set options...
msf exploit(task_scheduler) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.