OS

Schedule Shutdown or Restarts in Windows using the Task Scheduler

While you can always use the Shutdown /s /t 60 command and create a desktop shortcut to delay shutdown of your Windows 10/8/7 computer by (in this case 60 secs) or make it shutdown at a particular time after calculating the time in seconds, you can also use the Task scheduler to shut down, restart or perform any action at one time or periodically.

Schedule Shutdown or Restarts in Windows

Using the Task Scheduler, you can schedule computer to shut down at a certain time in the night or any time! And why might you want to do this? Maybe your computer is processing a task or maybe it is downloading files from the Internet, and you do not want to wait till then. You can then schedule it to shut down after say 2 hours, while you go on to catch up on your beauty sleep!

To make your computer shutdown at a particular time, type taskschd.msc is start search and hit Enter to open the Task Scheduler. In the right panel, click on Create Basic Task.

Give it name and a description if you wish and click Next.

When asked When do you want the task to start, select One time. Click Next.

Select the Start date and time.

Clicking Next will bring you to the Action page. Here select Start a program and click on Next.

Here type shutdown on the Program/script space and /s /f /t 0 in the Add arguments box. If you want the shutdown to commence after say 60 sec, type 60 instead of 0 here.

Click Next to review all and finally click Finish. Your computer will shutdown at the designated day and time.

NOTE: In a CMD window, you may run shutdown /? to see all the available switches. To schedule restarts, you need to use the /r parameter instead of the /s parameter. To log off the current user use /l.

If you are looking out for faster ways to do it, take a look at some of these free tools to Auto Shutdown, Restart Windows computer at fixed times.

Set Up Software RAID using Windows Server 2003

The following article explains how to set up RAID 1 (data mirroring) using Windows Server 2003. This requires a dedicated Windows server without a hardware RAID controller and with two hard drives.

Please be advised that setting up software RAID will likely result in a necessary server reboot so please plan accordingly.

  • Step 1 First you must log in to your Windows server via Remote Desktop. For more help, please reference How do I log in to my Windows server via Remote Desktop?
  • Step 2 From the Start menu on your server, right-click My Computer and select Manage.
  • Step 3 Click the Disk Management menu item from the left-hand side of the window.
  • Step 4 Right-click the grey area that says Disk 0 and then select Convert to Dynamic Disk.
  • Step 5 You must check the box next to both disks so that they are both converted to Dynamic Disks. This is necessary to set up the data mirror.
  • Step 6 A confirmation window is shown. Click the Convert button.
  • Step 7 A message informs you that if you have any other operating systems installed on these disks other than Windows Server 2003 (which you should not), those operating systems will not boot. Click the Yes button to covert both drives to Dynamic Disks.
  • Step 8 A message that file systems will be unmounted. This is fine. Click the Yes button to continue.
  • Step 9 A message informing you the server will need to be restarted in order to complete the conversion. Click the OK button to restart the computer now.
  • Step 10 After the server boots back up, log back in through Remote Desktop. Access Disk Management through the Computer Management window as you did earlier. Now we will actually set up the RAID 1 array which will mirror all the data from the first drive to the second drive. Right-click the C: drive and select Add Mirror.
  • Step 11 Select the second disk (which is Disk 1 since the first disk is Disk 0) and click the Add Mirror button.
  • Step 12 This will start to copy all the data from the first drive to the second drive. In the future, any new data written to the disk will be written to both drives at the same time. This way, even if one drive fails, your server will still be able to boot from the good drive and your data will still be intact. You can also mirror another partition (such as the D: drive) by following the same process. Right-click the partition and select Add Mirror.
  • Step 13 Once again, select the second drive (Disk 1) and click the Add Mirror button.
You can continue working while the data is synchronized across both disks. Once the synchronization is finished, your system will now be utilizing RAID 1 (data mirroring)!
Free Web Hosting