To run a network diagnostic, first open the Command Prompt by pressing Windows+R and typing "cmd." Then, type "ipconfig" and press Enter. This will show you your IP address, subnet mask, and default gateway. Next, type "ping google.com" and press Enter. This will send packets to Google's servers and show you how many were lost or delivered successfully.