ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 217 - AZ-204 discussion

Report
Export

DRAG DROP

You provision virtual machines (VMs) as development environments.

One VM does not start. The VM is stuck in a Windows update process. You attach the OS disk for the affected VM to a recovery VM.

You need to correct the issue.

In which order should you perform the actions? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.


Question 217
Correct answer: Question 217

Explanation:

Remove the update that causes the problem

1. Take a snapshot of the OS disk of the affected VM as a backup.

2. Attach the OS disk to a recovery VM.

3. Once the OS disk is attached on the recovery VM, run diskmgmt.msc to open Disk Management, and ensure the attached disk is ONLINE.

4. (Step 1) Open an elevated command prompt instance (Run as administrator). Run the following command to get the list of the update packages that are on the attached OS disk:

dism /image::\ /get-packages > c:\temp\Patch_level

5. (Step 2) Open the C:\temp\Patch_level.txt file, and then read it from the bottom up. Locate the update that's in Install

Pending or Uninstall Pending state.

6. Remove the update that caused the problem:

dism /Image::\ /Remove-Package /PackageName:<>

7. (Step 4) Detach the OS disk and recreate the VM. Then check whether the issue is resolved. Reference:

https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-stuck-updating-boot-error

asked 02/10/2024
Borisov Aleksandr
35 questions
User
0 comments
Sorted by

Leave a comment first