Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Something did not go well as planned: Windows Security update fails to install

Posted on 05/03/202411/08/2026 Christian By Christian No Comments on Something did not go well as planned: Windows Security update fails to install
  1. Home
  2. Windows
  3. Something did not go well as planned: Windows Security update fails to install
Security-updated-something-did-not-go-well-as-planned

Recently, Microsoft reported that the Windows 11 PC update process may fail when attempting to install the February 13th, 2024 security update (KB5034765), and the non-security preview update releason in February 29, 2024 (KB5034765). In this article, we shall discuss ‘Something did not go well as planned: Windows Security update fails to install”. See how to Create a Windows Server VM on HyperV, and how to install HyperV and Configure vSwitch on Windows Server with PowerShell

The installation error is prompted when the update download reaches 96% of completion. Thereby making the device roll back the previous update installed. This issue applies to Windows 11 v23H2; Windows 11 v2H2 and currently does not affect Windows Server.

Also, see Fix Windows cannot check for updates in Windows 8, 7, and 10, how to Create an App Service Plan with Continuous Deployment to deploy a .NET Application from GitHub, and how to Create and access a hidden share folder on Windows.

$WinREAgent Folder

The WinREAgent is a folder in the Windows operating system that is created automatically when updates or upgrades are made. It is created by the Windows Recovery Environment during the Windows update or upgrade process.

WinREAgent folder stores temporary recovery files to help WinRE recover or roll back the Windows operating system in the event of any failure during the update process.

To view this folder, you will need to enable hidden items to view this folder. This folder begins with the $ sign.

This means it is a temporary folder created by Windows, and sometimes it is automatically deleted 10 days after a successful Windows update.

This folder contains a subdirectory named scratch. These folders usually do not contain files, it will show a size of 0 bytes.

Please see how to fix “Error Code: 0x80070035: MDT unable to access the Log share, the Network Path was not found“, and How to Show or Hide File Extensions on Windows 11.

The root cause of Windows Security update failing

Resulting of this error, “Something didn’t go as planned. No need to worry – undoing changes. Please keep your computer on”.

Security-updated-something-did-not-go-well-as-planned

This error could be attributed to not having enough free space in the System Reserved partition from experience.

Also, this error might mean that your PC couldn’t connect to the Windows Update servers. If you’re using a VPN connection to connect to a work network, disconnect from the network and turn off the VPN software (if applicable) and try upgrading again.

Fix for Something did not go well as planned: Windows update fails

Note: This issue can be prevented by deleting the hidden folder C:\$WinREAgent.

Below are two possible ways to delete the C:\$WinREAgent folder. In any of the methods used, a restart is required.

Method 1: Manual Deletion

We will delete the hidden folder (WinREAgent ) in Windows 11, you need to first make the folder visible and then delete it as discussed above.

Launch File Explorer from the Taskbar, or by pressing Windows key + E. navigate to the three-dotted icon and select Options.

Proceed and delete the folder folder $WinREAgent in File Explorer if the action above was performed to see hidden folders.
WinREAgent

Right-click the hidden folder C:\$WinREAgent and select Delete.

delete-WinREAgent

Method 2: Via the Command Line

​Launch the command prompts an administrator by selcting ‘Run as administrator’.

​On the command prompt, type the command rd /s /q "C:\$WinREAgent” and press enter.

delete-WinREAgent-via-the-command-line.jpg-

​Note: If no message is displayed, it means the command has succeeded and the folder has been deleted.

You can proceed to close the command prompt window. In this case, we recommend deleting the folder manually. As

But in our case, no error was prompted and the folder was deleted successfully.
deleted

At the time of writing this piece, Microsoft is currently working on a resolution to fix this issue.

Is it Safe to Delete the $WinREAgent Folder?

You can manually delete the WinREAgent folder. When having trouble updating your system, deleting the WinREAgent folder may be one of the solutions that can help you install the update.

If you have completed the upgrade through Windows Update or Update Assistant, you can safely delete the $WinREAgent folder.

But, if you have not completed the upgrade process, the $WinREAgent folder will contain various important files that support the update process. As long as the update process is not completed, it is best to leave this folder in place.

I hope you found the fix to this issue “Something did not go well as planned: Windows Security update fails to install” helpful. Please feel free to leave a comment below.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Windows Tags:Microsoft Windows, Windows 10, Windows 11, Windows Update

Post navigation

Previous Post: How to Create a Windows Server VM on HyperV
Next Post: Setup is unable to access the SQL UDP Port 1434 on the specified SQL Server

Related Posts

  • taskbar1
    Hide or Remove Search Button from Windows 11 Taskbar Windows
  • ADm Update Fix e1785328099792
    How to fix Error 202: AMD Software Installer Fails to install Update Windows
  • Featured image What are system partition and boot partitions in Windows
    What are System Partition and Boot Partition in Windows? Windows
  • logon failure and requested session denied
    Logon Failure: User has not been granted the requested logon type Windows
  • queryremoteinstalledapps
    Get a list of installed programs locally or remotely in Windows Windows
  • Fixing TPM Vulnerability
    How to fix a vulnerable Trusted Platform Module [TPM] Windows

More Related Articles

Feature image Audio settings Master Your Sound Experience: How to Manage Audio Settings on Windows 11 Windows
windows 10 keyboard shortcut 1024x512 1 How to create a Desktop shortcut in Windows Windows
SystoLOCK Passwordless Authentication Protect your Windows Devices with MFA with SystoLOCK Security | Vulnerability Scans and Assessment
maxresdefault Error 0x8007232B: Can’t activate Windows on this device as we can’t connect to your organization’s activation server Windows
screenshot 2017 06 07 11.30.45 How to Enable or Disable Touch Screen in Windows 10 Windows
BitLocker Unable to find my BitLocker Recovery Key in AD Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • images 6
    Important Areas to Master on WSUS Windows Server
  • Create an S3 Bucket
    Backup Repository: How to Create Amazon S3 buckets AWS/Azure/OpenShift
  • maxresdefault
    How to extend a VM Hard Disk on VMware Workstation Virtualization
  • Comprehensive Guide to Passkeys on Windows Devices
    Comprehensive Guide to Passkeys on Windows Devices Windows
  • Featured image TeamsGif.
    How to fix Microsoft Teams GIFs or Images not working Windows
  • goland
    How to install Golang on a Linux System Linux
  • Downgrade
    Downgrade VMware Workstation: Fix the Processor does not support xsave on VMware Workstation Virtualization
  • image 6
    Set Browers and Windows to reopen Apps on Startup Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,746 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.