PrepAway - Latest Free Exam Questions & Answers

You need to provision Windows 10 on Disk1.vhdx

Note: This question is part of a series of questions that use the same set of answer choices. Each
answer choice may be used once, more than once, or not at all.
You have a computer named Computer1.
Computer1 has a virtual hard disk (VHD) named Disk1 .vhdx. Disk1 vhdx has an NTFS partition, which is
visible in File Explorer as drive E.
You need to provision Windows 10 on Disk1.vhdx.
What should you run?

PrepAway - Latest Free Exam Questions & Answers

A.
Add-Windows Image

B.
bcdboot.exe

C.
bcdedit.exe

D.
bootcfg.exe

E.
bootim.exe

F.
bootsect.exe

G.
diskpart.exe

H.
Expand-Windows Image

11 Comments on “You need to provision Windows 10 on Disk1.vhdx

    1. chypsa says:

      I just tested it on a virtual machine and it does work on a VHDX. I’m not sure what they mean by “does not work…” but I don’t think they’re referring to applying the image. Maybe using it as a source?

      I’m on board with the Expand-WindowsImage guys, so H…




      0



      0
  1. David says:

    I’m still going with Expand-WindowsImage.

    Using Gandalf’s link:
    https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/boot-to-vhd–native-boot–add-a-virtual-hard-disk-to-the-boot-menu

    Step 1: Create VHD using DISKPART – Already Done
    Step 2: Create Partition using DISKPART – Already Done
    Step 3: Assign Drive Letter using DISKPART – Already Done
    Step 4: Exit DISKPART

    Sooo, DISKPART cannot be the answer, since the question clearly states that we have a disk called Disk1.vhdx with an NTFS partition that is visible as Drive E:

    Next, we apply the Windows 10 image to E:
    DISM is not an option here, but Expand-WindowsImage is. And according to this link:
    https://technet.microsoft.com/en-us/itpro/powershell/windows/dism/expand-windowsimage

    It will work fine on drive E:
    (In fact, Expand-WindowsImage is probably encapsulating DISM)

    So, H. Expand-WindowsImage




    1



    0
  2. Pablo says:

    David, the link you have posted says quite clearly:
    “The Expand-WindowsImage cmdlet applies an image to a specified location.
    This cmdlet does not apply to virtual hard disk (VHD) files.”




    0



    0
  3. The Enchanter says:

    “Expand-WindowsImage” is DISM – that is exactly what is described in Gandalf’s very helpful post.

    For those who doubt that Expand-WindowsImage is in fact DISM, here is the output of Get-Command Expand-WindowsImage:
    CommandType Name Version Source
    ———– —- ——- ——
    Cmdlet Expand-WindowsImage 3.0 Dism

    Additionally, you might find this convincing:
    https://technet.microsoft.com/en-us/library/Hh825010.aspx

    My concern with H as an answer has to do with the fact that no WIM is specified & I do not see a convenient way to pipe in the online system image.
    That being said, I still vote H.




    0



    0
  4. Joel says:

    I’m jumping on the H, Expand-WindowsImage bandwagon.

    The diskpart answer has been what I’ve been using for my answer for a while as I study but it’s always bothered me that the VHD “has an NTFS partition, which is visible in File Explorer as drive E”. As stated earlier, this means that you’ve definitely used diskpart in the process, but have now moved beyond it. All that is left is to apply the Windows 10 image to the drive which is accomplished through the PowerShell command “Expand-WindowsImage” (https://docs.microsoft.com/en-us/powershell/module/dism/expand-windowsimage?view=win10-ps).

    ————————–
    Example: Expand-WindowsImage -ImagePath “c:\imagestore\custom.wim” -ApplyPath “e:\” -Index 1




    1



    0
  5. Yorick says:

    Has anybody ACTUALLY tried to do this to see what would happen if either G or H were tried? I know this is JUST one question, but sometimes 1 question can make the difference between passing the test and wasting $165… Oft Microswift provides MULTIPLE correct answers and expects us to figure out which one THEY deem is “more correct”.




    0



    0
  6. Yorick says:

    Looking at this very carefully. Yes Gandolf put up a seemingly good resource, except it is totally useless for answering this question with this current answer-set. The command being used in that article is not an option listed: Dism /Apply-Image /ImageFile:install.wim /index:1 /ApplyDir:V:\ The 1000+ Page book I bought is even MORE USELESS for answering this question. I don’t know what to say if I get this same question with that DISM command as well as G and H in the answer set…. I’ll really be lost then….




    0



    0

Leave a Reply