• Home
  • Về chúng tôi
  • Liên hệ
  • Chính sách
Saturday, June 7, 2025
  • Home
  • WINDOWS OS
  • THỦ THUẬT
  • AI & AUTOMATION
  • SYSTEMS
    • Windows
    • Linux
    • Network
    • Security
  • DOWNLOAD
    • Phần mềm PC
    • Tài liệu
No Result
View All Result
  • Home
  • WINDOWS OS
  • THỦ THUẬT
  • AI & AUTOMATION
  • SYSTEMS
    • Windows
    • Linux
    • Network
    • Security
  • DOWNLOAD
    • Phần mềm PC
    • Tài liệu
No Result
View All Result
No Result
View All Result
Home SYSTEMS Windows

Một số lệnh CMD hay trên Windows 10

Ad_ICTcenter by Ad_ICTcenter
16/02/2024
in Windows
Reading Time: 4 mins read
0

Contents

  1. Lệnh cmd mở và quản lý tập tin/thư mục trên windows
  2. Lệnh cmd về hệ thống
  3. Lệnh cmd về mạng

ICTcenter Hướng tới kỷ nguyên công nghệ AI

Lệnh cmd mở và quản lý tập tin/thư mục trên windows

1. Ẩn file zip hoặc rar trong ảnh:

copy /b image.extension+folder.zip image.extension

2. Mã hóa file trong thư mục:

cipher /E

3. Ẩn thư mục với mọi người:

attrib +h +s +r tên_thư_mục

Để bỏ ẩn, sử dụng lệnh này:

attrib -h -s -r tên_thư_mục

4. Xóa các tập tin tạm thời để giải phóng dung lượng

del /q /f /s %temp%\\*
del /s /q C:\\Windows\\temp\*

5. Lệnh kiểm tra và sửa lỗi ổ cứng máy tính ( Run as administrator)

chkdsk c: /f

6. Xem lại lịch sử các lệnh:

doskey /history

7. Lưu đầu ra của lệnh vào một tệp:

lệnh cmd >> D:\\output.txt

Lệnh cmd về hệ thống

1. Lệnh cập nhật thời gian cho máy tính:

Xem danh sách public time Server tại đây

w32tm /config /manualpeerlist:”2.vn.pool.ntp.org time.windows.com” /syncfromflags:manual /reliable:yes /update
w32tm /config /update

  • Restart the time service

net stop w32time
net start w32time

  • Resync the time

w32tm /resync

using w32tm /resync /rediscover will also “force redetection of network resourced before resynchronization.”

  • Verify your sync status

w32tm /query /status

W32tm /query /computer:contosoW1 /configuration

  • To list out peers

w32tm /query /peers

  • To list out NTP Sources:

w32tm /query /source

2. Hiển thị chi tiết thông tin hệ điều hành và cấu hình hệ thống

systeminfo

3. Sao chép an toàn các tập tin giữa các máy chủ từ xa

scp file.txt root@serverip:~/file.txt

4. Mở CMD trong thư mục windows hiện tại

Gõ “CMD” trên thanh tìm kiếm

5. Mở internet options từ cmd của windows

inetcpl.cpl

6.Mở Network Connections

ncpa.cpl

7. Mở Programs and Features để xoa phần mềm cài đặt trên Windows

appwiz.cpl

8. Mở Registry Editor

regedit

9. Mở Local group policy editor

gpedit.msc

10. Lệnh kiểm tra và sửa lỗi ổ địa bị bad sector, các lỗi logic hoặc vật lý khác

chkdsk c: /f 

11. Mở System File Checker là một công cụ quét và sửa chữa tự động tập trung vào các file hệ thống Windows

sfc /scannow

Lệnh cmd về mạng

1. Lệnh Net Use tạo ánh xạ một ổ đĩa mạng (map network drive)

net use Z: “\\OTHER-COMPUTER\SHARE” /persistent:yes

2. Curl các liên kết rút gọn (Shortened Links) để tìm ra đích liên kết

curl –head –location “https://voz.ee/s/P-AzXwNNy” | findstr “Location”

3. Kiểm tra trạng thái của trang web

Curl -IsL http://ictcenter.net

4. Kiểm tra địa chỉ IP public của bạn

curl checkip.amazonaws.com

5. Tạo mã QR:

Curl qrenco.de/https://ictcenter.net

6. Hiển thị tất cả mật khẩu wifi:

Đầu tiên hiển thị danh sách các mạng WiFi

netsh wlan show profile

Thứ hai, hiển thị mật khẩu

netsh wlan show profile tên_wfi key=clear | findstr “Key Content”

Để xem mật khẩu tất cả các mạng WiFi

for /f “skip=9 tokens=1,2 delims=:” %i in (‘netsh wlan show profiles’) do @if “%j” NEQ “” (echo SSID: %j & netsh wlan show profiles %j key=clear | findstr “Key Content”) & echo

7. Tạo một tệp wifi.bat hiển thi tên và mật khẩu wifi

@echo off
@echo off
setlocal enabledelayedexpansion
for /f “tokens=2delims=:” %%a in (‘netsh wlan show profile ^|findstr “:”‘) do (
set “ssid=%%~a”
call :getpwd “%%ssid:~1%%”
)
:getpwd
set “ssid=%*”
for /f “tokens=2delims=:” %%i in (‘netsh wlan show profile name^=”%ssid:”=%” key^=clear ^| findstr /C:”Key Content”‘) do echo ssid: %ssid% pass: %%i

Tags: cmdWindows
Previous Post

Linux LVM mở rộng dung lượng lưu trữ trên Ubuntu 22.04

Next Post

Hướng dẫn kích hoạt IDM bằng cmd

Ad_ICTcenter

Ad_ICTcenter

Next Post
IDM

Hướng dẫn kích hoạt IDM bằng cmd

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recommended

onedrive index

Xây dựng Onedrive Index bằng onedrive cá nhân

10/07/2024
UniGetUI dễ dàng quản lý phần mềm

UniGetUI: Quản Lý Phần Mềm Windows Dễ Dàng

11/12/2024

Most Popular

Deploy n8n on claw.cloud
AI & AUTOMATION

Claw.cloud Cung Cấp Nền Tảng Lưu Trữ Miễn Phí cho n8n

16/05/2025
ICTcenter Hướng tới kỷ nguyên công nghệ AI
AI & AUTOMATION

Hướng Dẫn Chi Tiết Cài Đặt n8n Trên Máy Chủ Riêng

30/05/2025
ICTcenter Hướng tới kỷ nguyên công nghệ AI
AI & AUTOMATION

N8N: Tự động hóa mã nguồn mở cho quy trình làm việc hiệu quả

19/04/2025

Tài Nguyên

Telegram Facebook Twitter Youtube
ICTcenter - Chìa khoá công nghệ
  • Về chúng tôi
  • Liên hệ
  • Chính sách

Bình luận

  • Cách active Windows và Office miễn phí bằng CMD - ICTcenter on Công cụ active Windows và Office miễn phí
  • Một số lệnh CMD hay trên Windows 10 - ICTcenter on Cách tải file .ISO Windows 10 hoặc 11 chính gốc từ Microsoft
  • ICT on Hướng dẫn kích hoạt IDM bằng cmd

Mới nhất

Deploy n8n on claw.cloud

Claw.cloud Cung Cấp Nền Tảng Lưu Trữ Miễn Phí cho n8n

16/05/2025
ICTcenter Hướng tới kỷ nguyên công nghệ AI

Hướng Dẫn Chi Tiết Cài Đặt n8n Trên Máy Chủ Riêng

30/05/2025

DMCA.com Protection Status 2©25 ICTCENTER

No Result
View All Result
  • Home
  • WINDOWS OS
  • THỦ THUẬT
  • AI & AUTOMATION
  • SYSTEMS
    • Windows
    • Linux
    • Network
    • Security
  • DOWNLOAD
    • Phần mềm PC
    • Tài liệu

DMCA.com Protection Status 2©25 ICTCENTER

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.
wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply