Thứ Ba, Tháng Hai 7, 2023
  • Home
  • Health
  • News
  • Software
  • Tech
  • Travel
  • Gen Z
NATuts
  • Home
  • Health
  • News
  • Software
  • Tech
  • Travel
  • Gen Z
No Result
View All Result
NATuts
  • Home
  • Health
  • News
  • Software
  • Tech
  • Travel
  • Gen Z
No Result
View All Result
NATuts
No Result
View All Result
Home Tech

Command Shutdown, Restart with CMD

18 Tháng Tám, 2022
in Tech
0
Command Shutdown, Restart with CMD
585
SHARES
3.3k
VIEWS
Share on FacebookShare on Twitter

Using the Shutdown, Restart command with the CMD command helps you handle some computer errors in an emergency or create shortcuts for faster operations.

Command Shutdown, Restart with CMD

1. Shutdown command in CMD

The Shutdown command, also known as the shutdown command in CMD, is used in some essential cases. For the Shutdown command in CMD, you can choose to shut down immediately or turn off the timer depending on the amount of time set in the command.

Command:

In there:

  • Shutdown: Command opening sentence
  • -S: Shutdown command
  • –t 0: Time the machine is turned off after entering the command (in seconds “s”)

For example:

Các bài viết liên quan:

How to get travel insurance

Guide on how to get travel insurance with 4 options

24 Tháng Một, 2023
Software Asset Management for Websites: How to Keep Your Sites Running Smoothly

Software Asset Management for Websites: How to Keep Your Sites Running Smoothly

8 Tháng Một, 2023
5 Best Software to Stream Games

5 Best Software to Stream Games

2 Tháng Một, 2023
IBM Bridge To Cloud For Power

IBM Bridge To Cloud For Power- Everything You Should Know

2 Tháng Một, 2023
Top 10 CRM Software For Construction 

Top 10 CRM Software For Construction Enterprises All The Time

31 Tháng Mười Hai, 2022
What Is IBM Software

What Is IBM Software? 4 Business Segments at IBM You Should Know

26 Tháng Mười Hai, 2022

In this case, Thuthuatphanmem wants to turn off the computer with the Shutdown command in CMD with a time interval of 2 hours (7200 seconds), the command will be as follows:

Enter the command Shutdown -s -t 7200

After entering the command successfully, the system will appear a message in the lower corner of the main screen of the computer with the content: “Windows will shut down in 120 minutes” – The computer will be shut down after 120 minutes.

The system will appear a message at the bottom corner of the main screen of the computer with the content Windows will shut down in 120 minutes

Note: If you do not enter a value for the parameter “-t” In the command, the system will automatically shutdown after 30 seconds by default. If you want to shutdown immediately then you just need to give the parameter value “-t” is 0.

2. Restart command in CMD

Similar to shutdown, you can also restart your computer with a quick command in Command Prompt. Here is how to reboot the machine in detail in CMD.

Command:

In there:

  • Shutdown: Command opening sentence
  • -S: Shutdown command
  • –t 0: Time the machine is turned off after entering the command (in seconds “s”)

For example:

In this case, Thuthuatphanmem wants to turn off the computer with the Shutdown command in CMD with a time interval of 2 hours (7200 seconds), the command will be as follows:

Enter the command Shutdown -r -t 7200

Similar to the shutdown command, after entering the command, you will also receive a notification in the lower corner of the computer screen. After the command completes, you just need to wait until the countdown time expires for the computer to automatically restart.

You just have to wait until the countdown time expires for the computer to restart automatically

3. How to cancel the Shutdown/ Restart command in CMD

In case you misplaced the shutdown and restart commands in CMD, you can freely cancel them with a simple command below:

Command:

Enter the command Shutdown -a

After entering the command to cancel shutdown, restart in CMD you will receive a message in the right corner of the screen with the following content: Log-off is canceled – The shutdown order has been cancelled!

You will receive a notification in the right corner of the screen with the content Log-off is cancelled

4. Some other shutdown commands in CMD

4.1 Log-Off command

The Log-Off command, also known as the command to exit the current Windows account quickly and effectively. The command of the feature to exit the account using the computer is as follows:

Command:

Enter the command Shutdown -i -t 0

In there:

  • Shutdown: Command opening sentence
  • -i: Command to exit current session
  • –t 0: Time the machine is turned off after entering the command (in seconds “s”)

4.2 Hibernate command

Hibernate – also known as hibernation mode is also a favorite mode of many people when using Windows computers. They help the computer get to work immediately without having to reopen previous applications.

Command:

In there:

  • Shutdown: Command opening sentence
  • -H: Command to put the computer into hibernation
  • –t 0: Time the machine is turned off after entering the command (in seconds “s”)

Command Shutdown -h -t 0

4.3 Command to access BIOS on next boot

In case you want to access the BIOS then you can use the quick command in CMD so that you don’t have to press DEL or F2 during computer startup.

Command:

In there:

  • Shutdown: Command opening sentence
  • -r -fw: Command to put the computer into BIOS open mode
  • –t 0: Time the machine is turned off after entering the command (in seconds “s”)

Command Shutdown –r -fw –t 0

4.4 Fast Startup Activation Command (Fast Startup)

Enabling the Fast Startup feature in Windows helps you to start your computer quickly thanks to some factory settings in the pre-installed BIOS. You can enable it in CMD instead of going into the BIOS by doing the following:

Command:

Shutdown -s -t -3600 -hybrid

In there:

  • Shutdown: Command opening sentence
  • -S: Command to put the computer into shutdown mode
  • –t 0: Time the machine is turned off after entering the command (in seconds “s”)
  • -hybrid: Command to enable Fast Startup

Command Shutdown -s -t -3600 -hybrid

4.5 Emergency shutdown command in CMD

Unlike the above commands, the emergency shutdown command in CMD will shut down the flooded machine immediately without asking you for any information.

Command:

shutdown command -p

4.6 Forced shutdown/reboot command

In case the computer crashes and you can’t handle them, the best way is to force them to shut down so that you can restart them manually:

Command:

Command shutdown -p -f

4.7 Command to open Remote Shutdown with CMD

In case you want to open the Remote Shutdown dialog box to shutdown or start the computer remotely, you can also quickly open it in CMD with the following command:

Command:

shutdown command –i

4.8 Remote Desktop Eye Command

In addition to the shutdown commands in use, CMD also allows you to shutdown others remotely when you have fully established connection and control requirements.

Command:

shutdown –m \”Computer name or IP name” –s (-h, -r) –t 0

Remote desktop eye command

In this article, Thuthuatphanmem has shared with you the commands to shutdown and restart the computer in the CMD tool. Have a nice day!

Previous Post

The origin of the song “I left you in a rainy afternoon” is going viral throughout Tiktok 2022?

Next Post

Do I need to install other anti-virus software when I have Windows Defender?

Megusta

Megusta

Related Posts

5 Best Software to Stream Games

5 Best Software to Stream Games

2 Tháng Một, 2023
Top 10 CRM Software For Construction 

Top 10 CRM Software For Construction Enterprises All The Time

31 Tháng Mười Hai, 2022
Instruction how to use OBS streaming software

Features, settings and how to use OBS streaming software through 9 simple steps

25 Tháng Mười Hai, 2022
What is Trans woman?  What is Transgender Women?

What is Trans woman? What is Transgender Women?

23 Tháng Mười Hai, 2022
Christmas gift: Genuine Windows 10 Pro for only $6.63 and Office 2021 for $14.22

Christmas gift: Genuine Windows 10 Pro for only $6.63 and Office 2021 for $14.22

22 Tháng Mười Hai, 2022
How to get 50 free coins of SkyJoy App to redeem

How to get 50 free coins of SkyJoy App to redeem

21 Tháng Mười Hai, 2022
Load More
Next Post
Do I need to install other anti-virus software when I have Windows Defender?

Do I need to install other anti-virus software when I have Windows Defender?

Trả lời Hủy

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

Bài viết mới

How to get travel insurance
Đời sống

Guide on how to get travel insurance with 4 options

24 Tháng Một, 2023
Software Asset Management for Websites: How to Keep Your Sites Running Smoothly
Phần mềm

Software Asset Management for Websites: How to Keep Your Sites Running Smoothly

8 Tháng Một, 2023
5 Best Software to Stream Games
Software

5 Best Software to Stream Games

2 Tháng Một, 2023
IBM Bridge To Cloud For Power
Software

IBM Bridge To Cloud For Power- Everything You Should Know

2 Tháng Một, 2023
Top 10 CRM Software For Construction 
Tech

Top 10 CRM Software For Construction Enterprises All The Time

31 Tháng Mười Hai, 2022
What Is IBM Software
Software

What Is IBM Software? 4 Business Segments at IBM You Should Know

26 Tháng Mười Hai, 2022
W3Schools

Ads

Contact: [email protected]

DMCA.com Protection Status

Categories

  • Android
  • Cạm bẫy tâm lí
  • Chưa được phân loại
  • Đồ họa
  • Đời sống
  • Gen Z
  • Health
  • iOS
  • Kĩ năng mềm
  • News
  • Nhà mạng
  • Phần mềm
  • Phần mềm đồ họa
  • Review sách
  • Software
  • Tech
  • Thiết kế ảnh
  • Thiết kế video
  • Thủ thuật
  • Travel
  • Văn hóa Nam Bộ
  • Văn học
  • Window

Browse by Tag

ai là triệu phú android Apple browser Bullet Journal bản thân chai pin Chỉnh ảnh data domain download fshare game game show giả lập màu hosting IKEA ios khuyến mãi kinh doanh kiến thức kiểm tra pin messenger miễn phí mua sắm Máy ảnh mạng network nghệ thuật ngôn ngữ nhà Trần pin laptop quảng cáo tiếng anh trạng thái Trần Thủ Độ tên miền tắt hoạt động từ vựng video viettel window 10 word zalo Đơn giản

Recent News

How to get travel insurance

Guide on how to get travel insurance with 4 options

24 Tháng Một, 2023
Software Asset Management for Websites: How to Keep Your Sites Running Smoothly

Software Asset Management for Websites: How to Keep Your Sites Running Smoothly

8 Tháng Một, 2023

Trang tin nóng hổi - vừa thổi vừa xem

No Result
View All Result
  • Home
  • Health
  • News
  • Software
  • Tech
  • Travel
  • Gen Z

Trang tin nóng hổi - vừa thổi vừa xem