Skip to content
English
  • There are no suggestions because the search field is empty.

Invoke-WebRequest shows confirmation prompt

The Windows update KB5074204 from 09/12/2025 adds a confirmation prompt with a security warning when using Windows PowerShell 5.1.

Issue

After installing Windows update KB5074204 automated scripts that include the Invoke-WebRequest Cmdlet will stop working because a confirmation prompt is shown that requires User interaction

Cause

This security update was implemented due to a PowerShell Remote Code Execution Vulnerability: CVE-2025-54100

Solution

In order to fix this issue add the -UseBasicParsing parameter to the Invoke-WebRequest Cmdlet:

Invoke-WebRequest -UseBasicParsing -Uri "https://www.google.com/search?q=coolOrange+documentation"