0% found this document useful (0 votes)
8 views

Basic Commands

The document provides a comprehensive list of basic and advanced command-line commands for Windows, covering system checks, network configurations, user management, and file operations. It also includes instructions for viewing saved Wi-Fi passwords and Windows credentials, while noting that retrieving browser passwords requires third-party tools. Overall, it serves as a quick reference guide for users needing to perform various tasks via the command prompt.

Uploaded by

welikhecaleb001
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Basic Commands

The document provides a comprehensive list of basic and advanced command-line commands for Windows, covering system checks, network configurations, user management, and file operations. It also includes instructions for viewing saved Wi-Fi passwords and Windows credentials, while noting that retrieving browser passwords requires third-party tools. Overall, it serves as a quick reference guide for users needing to perform various tasks via the command prompt.

Uploaded by

welikhecaleb001
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Basic Commands

1. Check Windows Version:

nginx

CopyEdit

winver

2. Display System Information:

nginx

CopyEdit

systeminfo

3. Check IP Configuration:

bash

CopyEdit

ipconfig /all

4. Ping a Website or IP:

nginx

CopyEdit

ping google.com

5. Clear the Screen:

nginx

CopyEdit

cls

6. List Files and Directories:

bash

CopyEdit

dir

7. Change Directory:

bash

CopyEdit
cd [folder_name]

Example:

bash

CopyEdit

cd C:\Users\YourUsername\Documents

8. Go Back One Directory:

bash

CopyEdit

cd ..

9. Create a New Folder:

arduino

CopyEdit

mkdir [folder_name]

10. Delete a Folder:

perl

CopyEdit

rmdir /s /q [folder_name]

11. Delete a File:

css

CopyEdit

del [file_name]

Network and Connectivity

12. Check Active Network Connections:

nginx

CopyEdit

netstat -an

13. Flush DNS Cache:

bash
CopyEdit

ipconfig /flushdns

14. Release and Renew IP Address:

bash

CopyEdit

ipconfig /release

ipconfig /renew

User & System Management

15. Check Current User:

bash

CopyEdit

whoami

16. Change User Password:

css

CopyEdit

net user [username] [newpassword]

17. Shutdown PC:

bash

CopyEdit

shutdown /s /t 0

18. Restart PC:

bash

CopyEdit

shutdown /r /t 0

19. Check System Processes:

nginx

CopyEdit

tasklist
20. End a Process:

css

CopyEdit

taskkill /IM [process_name] /F

Example:

CopyEdit

taskkill /IM notepad.exe /F

File and Disk Management

21. Check Disk Usage:

yaml

CopyEdit

chkdsk C:

22. Format a Drive (Use with caution!):

lua

CopyEdit

format X: /FS:NTFS

(Replace X: with the actual drive letter.)

23. Check Installed Drivers:

nginx

CopyEdit

driverquery

24. List Installed Programs:

pgsql

CopyEdit

wmic product get name

Advanced Commands

25. Enable Administrator Account:


bash

CopyEdit

net user administrator /active:yes

26. Disable Administrator Account:

nginx

CopyEdit

net user administrator /active:no

27. Scan and Repair System Files:

bash

CopyEdit

sfc /scannow

28. Open Notepad from CMD:

nginx

CopyEdit

notepad

29. Open Task Manager from CMD:

nginx

CopyEdit

taskmgr

30. Open Control Panel from CMD:

nginx

CopyEdit

control

Do you need specific commands for a particular task?

4o

You said:

i want the one that can show all my passwords

ChatGPT said:
You cannot directly view all your saved passwords using the Command Prompt (CMD) for
security reasons. However, you can retrieve some stored passwords, such as Wi-Fi
passwords, using CMD.

1. View Saved Wi-Fi Passwords

To see the saved Wi-Fi networks on your computer, use:

sql

CopyEdit

netsh wlan show profiles

Then, to see the password of a specific Wi-Fi network, use:

pgsql

CopyEdit

netsh wlan show profile name="WiFiName" key=clear

(Replace "WiFiName" with the actual network name.)


Look for "Key Content", which is the Wi-Fi password.

2. View Windows Credentials (Using PowerShell)

To retrieve saved passwords from Windows Credential Manager, open PowerShell as


administrator and run:

powershell

CopyEdit

cmdkey /list

This will show saved credentials but not passwords.

3. Extract Browsers' Saved Passwords

Windows does not provide a built-in CMD command to retrieve stored passwords from
browsers (Chrome, Edge, Firefox, etc.). You need third-party tools like NirSoft's
WebBrowserPassView (use with caution).

4. Check Remote Desktop Saved Passwords

If you've saved Remote Desktop credentials, use:


bash

CopyEdit

cmdkey /list

Would you like a method to recover passwords using a third-party tool, or do you have a
specific type of password in mind?

4o

You might also like