내용으로 건너뛰기

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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠