Scheduled Task Pop-up Warning Malicious Script Loop
Summary
This guide helps you troubleshoot and resolve: Scheduled Task Pop-up Warning Malicious Script Loop. Follow the steps below to fix the issue.
Common Causes
This guide addresses pop-up warnings involving taskeng.exe or script host errors appearing on Windows 11 shop floor PCs. These messages are typically caused by corrupted scheduled tasks or orphaned script references that run in a loop. Left unresolved, they can interrupt production software and distract machine operators. Follow the steps below to identify the offending task and remove the trigger.
Quick Fix Steps
- Press
Ctrl+Shift+Escto open Task Manager. - End any running instances of
taskeng.exeorwscript.exe. - Open the Start menu, type Task Scheduler, and press
Enter. - Review the Task Scheduler Library for tasks linked to unknown scripts or temporary files.
- Right-click the suspicious task and select Delete.
- Restart the PC to confirm the pop-up no longer appears.
Detailed Instructions
Identify the Offending Scheduled Task
- Select the Start button and type
Task Schedulerin the search bar. - Click Task Scheduler from the results to open the console.
- In the left-hand pane, expand Task Scheduler Library.
- Browse the list of scheduled tasks. Look for entries with:
- Unrecognised names or random character strings.
- Actions that reference
.vbs,.js,.ps1, or.batfiles. - Triggers set to run every few minutes or at system startup.
- Select a suspect task to view its details in the lower pane. Check the Actions tab to see which script or program it launches.
Note: If you are unsure which task is causing the pop-up, note the time the message appears and cross-reference it with the History tab of individual tasks.
Remove the Trigger
- Right-click the offending task in the centre pane.
- Select Delete from the context menu.
- Click Yes to confirm the deletion.
- Repeat for any additional tasks that reference the same script or folder location.
Warning: Do not delete tasks created by your production software or line-of-business applications unless you have confirmed they are the source of the error. Removing critical system tasks may prevent equipment software from launching correctly.
Verify the Issue is Resolved
- Restart the Windows 11 PC.
- Log in as the standard operator user.
- Open the production application and monitor for pop-up messages.
- If the error does not return after several hours of operation, the issue is resolved.
Troubleshooting
Pop-up Returns After Restart
If the task reappears, it may be recreated by another process or a startup item. Check the Startup tab in Task Manager for unfamiliar entries and disable them. You should also run a full scan with your endpoint protection software to rule out malware.
Cannot Delete the Task
Some tasks require administrator privileges. Log in with an administrator account, or ask your IT administrator to remove the task. If the task is protected by system permissions, do not attempt to force deletion through the registry.
Production Software Freezes During Investigation
If the shop floor PC becomes unresponsive while you are reviewing Task Scheduler, perform a hard restart and proceed with the Quick Fix Steps above. For recurring application crashes, refer to our guide on Applications freezing or crashing.
If the pop-up persists after completing these steps, contact your IT support team for further assistance.
Still Having Issues?
💻 Open a Ticket