tencent cloud

Feedback

Managing Disk Space on Windows CVMs

Last updated: 2024-01-06 17:43:10

    Overview

    This document describes how to release disk space on a Windows Server 2012 R2-based Tencent Cloud CVM when the disk space is insufficient. It also describes how to perform routine disk maintenance.

    Directions

    Releasing disk space

    You can delete large files or obsolete files to free up disk space. If the disk space is still insufficient after deleting large and obsolete files, you can expand the disk space. To do this, please see Cloud Disk Expansion Scenarios.

    Deleting large files

    1. Log in to a Windows instance using either the RDP file (recommended) or the remote desktop.
    2. Click
    
    in the bottom toolbar and open the “This PC” window.
    3. Select the disk in which you want to free up space, and press Crtl + F to open the search tool.
    4. Select Search -> Size and filter files by the system-defined size options, as shown below:
    
    
    Note:
    You can also enter a size in the search box in the upper-right corner of the
    This PC
    window. For example:
    Enter “Size: > 500 MB” to search the disk for files larger than 500 MB.
    Enter “Size: > 100 MB < 500 MB” to search the disk for files larger than 100 MB but less than 500 MB.

    Deleting obsolete files

    1. On the desktop, click
    
    to open Server Manager.
    2. Click Add Roles and Features under Manage.
    3. In the pop-up window, click Next.
    4. Select Role-based or feature-based installation and click Next twice, as shown below:
    
    
    5. On the Select features page, check Ink and Handwriting Services and Desktop Experience, as shown below. Click OK in the pop-up dialog box.
    
    
    6. Click Next and then Install. Wait for the installation to complete, and restart CVM when prompted.
    7. Select
    
    and click
    
    in the top-right corner. Enter Disk Management and search.
    8. In the pop-up Disk Cleanup window, select the target disk and start the cleanup, as shown below:
    
    

    Routine disk maintenance

    Removing programs regularly

    Select Control Panel -> Programs and Features -> Uninstall or change a program to regularly remove obsolete programs, as shown below:
    
    

    Viewing disk usage on the console

    The Cloud Monitor feature is automatically enabled once a CVM instance is created. You can view the disk usage by following the steps below:
    1. Log in to the CVM console and access the Instances page.
    2. Select the ID/Name of the target instance to access the details page.
    3. Select the Monitoring tab to view the instance disk usage, as shown below:
    
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support