You can use the ping command to check your internet connection using CMD. Open CMD by pressing Windows key + R and typing cmd. Then, type ping www.google.com and press Enter. If you see replies from the Google server, your internet connection works. If you see a request timed out or the destination host unreachable, your internet connection is not working.