Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Windows 10 and 11 ► ««« »»»

The best command prompt commands for Windows 11 and 10?


Here are some useful commands for Command Prompt in Windows 10 and Windows 11:



1. Show system information!
2. Network diagnostics!
3. File and directory management!
4. Manage processes and tasks!
5. Check and repair system files!
6. User and group management!
7. Open Control Panel and Settings!
8. Advanced Features!
9. System Preferences!






1.) Show system information!



- systeminfo
: Shows detailed information about the system, including OS version, installed RAM, network adapters, and more.
- ipconfig
: Shows the IP configuration of all network interfaces.
- ipconfig /all
: Shows detailed information about all network interfaces.
- ipconfig /flushdns
: Flushes the DNS cache.
- ipconfig /release
and ipconfig /renew
: Resets the IP address and requests a new IP address from the DHCP server.

2.) Network diagnostics!



- ping [IP address or domain]
: Checks the reachability of a network or website.
- tracert [domain]
: Traces the path of a packet to a destination and shows the number of hops and the time it takes.
- netstat -an
: Shows all active connections and their statuses.
- nslookup [domain]
: Checks the DNS translation of a domain.

3.) File and directory management!



- dir
: Lists all files and folders in the current directory.
- dir /s
: Shows all files and subdirectories of the current directory.
- dir /p
: Displays the list page by page to avoid long scrolling.
- cd [folder name]
: Changes directory.
- cd ..
: Changes one directory up.
- md [folder name]
: Creates a new directory.
- del [file name]
: Deletes a file.
- del /s /q [file path]
: Deletes a file or folder including subdirectories and without asking for confirmation.
- copy [source file] [destination file]
: Copies a file to a new location.
- xcopy [source] [destination] /s /e
: Copies all files and subdirectories from one directory to another.

4.) Manage processes and tasks!



- tasklist
: Lists all currently running processes.
- taskkill /IM [process name] /F
: Kills a running process.
- shutdown /s /f /t 0
: Shuts down the computer immediately.
- shutdown /r /f /t 0
: Restarts the computer immediately.

5.) Check and repair system files!



- sfc /scannow
: Checks the integrity of all protected system files and repairs them if necessary.
- chkdsk [drive:] /f
: Checks the file system for errors and repairs them.
- DISM /Online /Cleanup-Image /RestoreHealth
: Repairs the Windows image and fixes possible problems with system files.

6.) User and group management!


- net user [username] [password] /add
: Creates a new user.
- net user [username] /delete
: Deletes a user.
- net localgroup administrators [username] /add
: Adds a user to the administrators group.

7.) Open Control Panel and Settings!



- control
: Opens the classic Control Panel.
- msconfig
: Opens the System Configuration tool.
- regedit
: Opens the Registry Editor.
- appwiz.cpl
: Opens the Programs and Features window (view/uninstall installed programs).

8.) Advanced Features!



- powercfg /batteryreport
: Creates a detailed report of battery usage and performance (laptops only).
- netsh wlan show profiles
: Shows all saved Wi-Fi profiles.
- netsh wlan show profile name="[profile name]" key=clear
: Shows the password of a saved Wi-Fi network in clear text.

9.) System Preferences!



- bcdedit
: Manage boot options, useful when repairing the bootloader.
- diskpart
: Access the disk partitioning utility.
- wmic
: Windows Management Instrumentation Command that queries various system information, e.g. wmic cpu get name
to display the processor name.


Info:

These commands can help you manage the system efficiently and diagnose problems. However, it is important to be cautious, especially with commands that modify or delete system files.



FAQ 260: Updated on: 26 August 2024 18:55 Windows
Windows-10

Contrast theme / design under Windows 10?


It is quite easy to find and use the contrast designs in Windows 10, which can be an advantage in poor lighting or if you have poor eyesight   Contents:
Windows-10

Convert Windows 10 S to a normal version of Windows 10 (e.g. Home or Pro)?


If you want to convert Windows 10 S to a regular version of Windows 10 e.g. Home or Pro, you can do so by disabling S mode . Here are the steps to make
Windows-10

Is 22H2 the last version of Windows 10?


With the release of Windows 10 22H2 in October 2022, Microsoft has completed the final feature update cycle for the popular operating system. Windows 10
Windows-10

Continue using Windows 10 with extended support after October 2025?


With the release of Windows 10 22H2 in October 2022, Microsoft has released the last feature update version for Windows 10. Starting in October 2025 , regular
Windows-10

Questions about data protection and uninstalling apps on Windows 10?


With the right measures, you can significantly improve data protection in Windows 10 and free your system from unnecessary apps. However, with system-critical
Windows-10

Questions about stability and speed of Windows 10 in 2024?


Windows 10 is still considered a stable and high-performance operating system in 2024, especially for users who rely on proven software and long-term support.
Windows-10

Which Server 2022 version is comparable to Windows 10 PRO?


The Windows Server 2022 editions have different audiences and features than the desktop versions of Windows, such as Windows 10 Pro . However, there is some

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: windows, 11, 10, best, command, prompt, commands, here, some, useful, show, system, information, network, diagnostics, file, directory, Questions, Answers, Software




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + StressTheGPU
  + Brightness.Manager.OK
  + ProcessKO
  + WinBin2Iso
  + ThisIsMyFile
  + TheAeroClock
  + Bitte.Wenden
  + CoronaKO
  + MatriX.CoronaKO
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu


► Who should definitely use the Magic Mouse Traces tool? ◄
► How to clear BIOS or CMOS password on a laptop? ◄
► Windows Server 2012 and direct download links and trial versions! ◄
► Who benefits most from creating a lot of incompressible files? ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....