Three built-in Windows 11 commands can help you inspect a network connection, check protected Windows files, and examine a local drive’s file system: ipconfig, sfc /scannow, and chkdsk. Enter them in Command Prompt. The first provides information; the other two check for problems, and repair behavior depends on the command and options you use.
Open Command Prompt
These examples use Command Prompt so the steps stay consistent. Command Prompt and PowerShell are different shells: PowerShell can run Windows commands, but Command Prompt cannot run PowerShell cmdlets. For commands that need administrator privileges, open Command Prompt as an administrator: search Windows for Command Prompt, then choose Run as administrator. Approve the User Account Control prompt if it appears.
As an Amazon Associate I earn from qualifying purchases.
1. Use ipconfig to view network details
Run this command to see basic addressing information for your network adapters, including IPv4 and IPv6 addresses, subnet masks, and default gateways:
ipconfig
If you are troubleshooting Wi-Fi, find the Wi-Fi adapter’s Default Gateway. It is the address of the local network device that routes traffic onward; Microsoft’s Wi-Fi troubleshooting guidance uses it for a ping test. The command displays information rather than changing your network settings.
#1 Best Overall
- KEYBOARD: The keyboard works for Windows with hot keys that enable easy access to Media, My Computer, Mute, Volume up/down, and Calculator
- EASY SETUP: Experience simple installation with the USB wired connection
- VERSATILE COMPATIBILITY: This keyboard is designed to work with multiple Windows versions, including Vista, 7, 8, 10 offering broad compatibility across devices.
- SLEEK DESIGN: The elegant black color of the wired keyboard complements your tech and decor, adding a stylish and cohesive look to any setup without sacrificing function.
- FULL-SIZED CONVENIENCE: The standard QWERTY layout of this keyboard set offers a familiar typing experience, ideal for both professional tasks and personal use.
When you need more detail
ipconfig /all displays fuller configuration information. For DNS name-resolution problems, ipconfig /flushdns clears the DNS resolver cache. That is a targeted troubleshooting step, not a general internet-speed booster.
2. Use sfc /scannow to check protected Windows files
System File Checker scans protected Windows system files and attempts repairs when it can. Microsoft Support’s recovery guidance puts DISM before SFC: DISM provides files that can be used to repair corrupted files, and the operation may take several minutes. Run both commands in an administrator Command Prompt, one at a time and in this order:
Rank #2
- All-day Comfort: The design of this standard keyboard creates a comfortable typing experience thanks to the deep-profile keys and full-size standard layout with F-keys and number pad
- Easy to Set-up and Use: Set-up couldn't be easier, you simply plug in this corded keyboard via USB on your desktop or laptop and start using right away without any software installation
- Compatibility: This full-size keyboard is compatible with Windows 7, 8, 10 or later, plus it's a reliable and durable partner for your desk at home, or at work
- Spill-proof: This durable keyboard features a spill-resistant design (1), anti-fade keys and sturdy tilt legs with adjustable height, meaning this keyboard is built to last
- Plastic parts in K120 include 51% certified post-consumer recycled plastic*
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
Wait for each command to finish before entering the next one. Microsoft Support says: “Do not close this Command Prompt window until the verification is 100% complete.”
Free tools Windows power users keep installed
One-click scans. No signup required.
3. Use chkdsk to check a local drive’s file system
With no options, chkdsk reports a volume’s status; it does not fix errors. It applies to local disks, not redirected network drives. Administrator-group membership is the minimum requirement.
Rank #3
- All-day Comfort: This USB keyboard creates a comfortable and familiar typing experience thanks to the deep-profile keys and standard full-size layout with all F-keys, number pad and arrow keys
- Built to Last: The spill-proof (2) design and durable print characters keep you on track for years to come despite any on-the-job mishaps; it’s a reliable partner for your desk at home, or at work
- Long-lasting Battery Life: A 24-month battery life (4) means you can go for 2 years without the hassle of changing batteries of your wireless full-size keyboard
- Simply plug the USB receiver into a USB port on your desktop, laptop or netbook computer and start using the keyboard right away without any software installation
- Simply Wireless: Forget about drop-outs and delays thanks to a strong, reliable wireless connection with up to 33 ft range (5); K270 is compatible with Windows 7, 8, 10 or later
To request repairs to logical file-system errors, the /f option changes the command’s behavior:
chkdsk C: /f
Replace C: with the drive letter you intend to check. Because /f fixes errors, it may need to lock the volume. If the drive is in use and cannot be locked, Windows may ask to schedule the check for the next restart. Do not use repair options as routine performance tweaks; they are for troubleshooting, and they can change the volume.
Quick Recap
Best Value
- 7 Unique Backlight Color: 7 Elegant LED backlight with 3 brightness level.
- Easy Setup: Simply insert the 1.2M (4 feet) USB wire into your computer and use the keyboard instantly.
- Ergonomic design: Scissors X structure gives you the comfortable typing experience, low-profile keys offer quiet and comfortable typing.
- Ultra Thin and Light: Compact size (16.7 X 4.5 X 0.24in) and light weight (17.4oz) but provides full size keys, arrow keys, number pad, shortcuts for comfortable typing.
- Package contents: Arteck Backlit USB wired Keyboard, welcome guide, our 24-month warranty and friendly customer service.
Rank #4
- Durable and Reliable: This USB keyboard features a curved space bar, spill-resistant design (2), durable keys that can withstand 10 million keystrokes, and sturdy, adjustable tilt legs
- Comfortable, Familiar Typing: You’ll enjoy a comfortable and familiar typing experience thanks to the deep-profile keys and standard layout with full-size F-keys and number pad
- Full-size Sculpted Mouse: The high-definition optical USB mouse puts comfort and control in your hands with smooth, accurate tracking and an ambidextrous shape that feels good hour after hour
- Simple Set-Up: Simply plug the keyboard and mouse into the USB ports on your desktop, laptop, or netbook and you're ready to work; compatible with Windows 7, 8, 10 or later
- Clear and Convenient: The bold, bright white and long-lasting characters make the keys on this PC or laptop keyboard easy to read and extra durable
Which command fits the problem?
| Command | Use it for | Administrator prompt? | What it does |
|---|---|---|---|
ipconfig |
Network adapter addressing and gateway details | Not required for the basic command | Displays information |
sfc /scannow |
Checking protected Windows system files | Yes | Scans and attempts repairs when possible |
chkdsk |
Checking a local volume’s file system | Administrator-group membership required | Without repair options, reports status; with /f, attempts logical-error repairs |
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




