UpCloud: Decreasing Storage Size on a Windows Server using Hasleo Disk Clone

3 minute read

What you will need for this guide:

  1. Your Windows Server

  2. A new temporary Windows Server

  3. Hasleo Disk Clone software installed on your server (my-windows-server) - it’s free! 🎉

Step 1: Backup your Windows device

Go to your Windows server (my-windows-server) > Backups > Create an ‘On demand backup’ of my-windows-server:

Step 2: Create a temporary Windows server

  1. Create a new temporary Windows Server (temp-windows-server) with the storage adjusted to your desired size.

    You can simply select the smaller or other Plan (General purpose, High CPU, High memory) that you want to use.

    • The new server must be in the same zone as your Windows Server.
  2. After your temporary Windows Server is created you need to shut it down.

  3. Then go to its Storage section and click detach on its storage:

  4. You can now delete temp-windows-server.

Step 3: Attach the temporary server’s drive to your Windows server

  1. Shutdown your Windows Server (my-windows-server).

  2. Go to your server > Storage > Attach existing storage (temp-windows-server storage device).

    This will attach the temporary Windows Server’s storage to your Windows server that you want to scale down. E.g:

  3. Start the Windows Server.

Step 4: Configure & connect to your Windows server

  1. RDP or use the web console to connect to your Windows Server.

  2. Navigate to Disk Management to inspect the added storage.

  3. Shrink your Windows Server C: drive to be able to clone it to the attached drive.

  4. Accept the default values.

  5. Click ‘Shrink’.

    You should now see that your disk has gone down in size with Unallocated space:

  6. Bring the new disk online:

Step 5: Install the Hasleo Disk Clone software

NOTE: You may receive a Disk Management error if you haven’t updated your Windows Server for a while but that error can be disregarded or you can update Windows. 😁

  1. Download and Install the Hasleo Disk Clone software onto your Windows Server.

    Accept the agreement, and accept the default settings so that you can install the software.

    On the Hasleo Disk Clone software you will see three different cloning options: System Clone, Disk Clone, Partition Clone.

  2. Select System Clone, then select the disk that you want to clone, then click next.

  3. On the next page, select the disk that you want to clone to (e.g. temp-windows-server drive).

  4. Select ‘Keep partition layout’.

  5. Click next.

  6. On the next page you can leave everything at the default settings.

  7. Click ‘Proceed’.

  8. Click ‘Yes’ to destroy all data on the selected drive.

Wait for it to clone to the new disk.

  1. Click ‘Finish’.

Step 6: Configure your newly cloned drive

  1. Go to Disk Management and extend the Unallocated space on the smaller disk (if any is available).

  2. Accept all defaults to extend the disk volume.

    Your new disk should look like this:

  3. You can now shutdown your Windows server.

    • Hub and Windows shutdown will both work the same.

Step 7: Configure & resize your Windows server plan

  1. Go to the UpCloud Hub > Your Windows Server > Storage > Detach the larger storage.

  2. Click ‘Continue’ to confirm that you want to eject this device. You can re-attach it later.

    You should now only have the smaller drive:

  3. Go to your Server’s Plan page and select the plan that matches the storage you have attached.

  4. Click ‘Save changes’.

  5. Start your Windows server.

  6. RDP into your server using the same Windows server credentials.

Success! 🎉 We managed to reduce our disk size!

Optional:

If you no longer need your older storage and you want to save a little bit of money then you can delete the backup of the larger drive.

  1. Navigate to Storage > Devices (https://hub.upcloud.com/storage/devices)

  2. Delete the older larger storage disk:

  3. Delete the older backup: https://hub.upcloud.com/storage/backups

That’s it! I hope you had fun! 😄