跳至內容

L3 Troubleshooting Workshop - Error when trying to increase the size of the Application settings VHD

0

After dowloading the file Profile.vhdx, I opened Command prompt as administrator and executed these commands : diskpart select vdisk file="C:\path\to\application\settings\Profile.vhdx" but then command 'expand vdisk maximum=5000' returns an error : Diskpart a rencontré une erreur : Paramètre incorrect. Pour plus d'informations, voir le journal d'événements système. Saisissez la description de l'image ici

已提問 9 個月前檢視次數 104 次
1 個回答
0

The error you're encountering while trying to increase the size of the Application Settings VHD for the L3 Troubleshooting Workshop is likely due to an incorrect command syntax or approach. The 'expand vdisk' command you're using is not the correct method for this operation in AppStream 2.0.

To properly increase the size of the Application Settings VHD, follow these steps:

  1. After selecting the VHD file using the 'select vdisk' command, simply type:

    extend

  2. To confirm that the size of the partition on the VHD has increased as expected (for example, to 2 GB), use these commands:

    diskpart select vdisk file="C:\path\to\application\settings\profile.vhdx" list volume

This should increase the size of your VHD without encountering the error you described.

If you continue to face issues, consider the following alternatives:

  1. Ensure you're using the latest version of Windows and that your system is fully updated.

  2. If you're working on a Mac, note that there's no direct way to modify .vhdx files on macOS. In this case, you might need to:

    • Create a Windows EC2 instance
    • Download the .vhdx file from S3 to this EC2 instance
    • Apply the commands on the EC2 instance
    • Upload the modified .vhdx file back to S3

Remember to clear the recycle bin before ending your AppStream session to reduce the physical size of the VHD and improve user experience. Also, make sure not to attempt expanding the VHD during an active streaming session.

If problems persist, you may want to reach out to the L3 workshop support team for further assistance, as they might be aware of specific issues related to the workshop environment.
Sources
Increase the Size of the Application Settings VHD - Amazon AppStream 2.0
Increase the size of the Application Settings VHDX on MacOS | AWS re:Post
Blu Age L3 Refactorings (set up environment) Profile.vhdx dont found | AWS re:Post

已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。