copype command not found despite installing ADK add-on


  1. Posts : 47
    Windows 10 Pro x64 ( v. 2004)
       #1

    copype command not found despite installing ADK add-on


    Hello,

    I'm trying to learn how to create a custom image for Windows using the Sysprep guides found on here as well as other tutorials and whatnot.

    I managed to get a .WIM image output to a secondary drive I used for the test image for which I've customized.

    Now, in my attempts to create a Windows PE, I cannot find this command copype as its mentioned in almost every guide despite having installed both the ADK and the ADK Add-on that supposedly includes this command/tool.

    I double-checked that I had installed the right version for ADK and the Add-on, so now I'm at a loss for what's wrong.

    I tried doing a search in the directory that loads when I open Deployment and Imaging Tools Environment but I can't find it.

    What gives?

    P.S. - I'm running Windows 10 Pro v. 1903.

    SOLUTION:
    In my case, and because I'm running 1903, when launching the Deployment and Imaging Tool, this does not place you in the directory where copype is located (despite having its alternate there). I needed to go up one directory to get into the Preinstalltion Environment dir—and only then was I able to run copype to generate the Windows PE. Note that simply opening a command line and navigating to this directory will not allow you to run this command successfully. Somehow or another, it appears that the reason Deployment and Imaging Tool is added to Start is because launching it actually runs something before putting you at prompt where certain variables are added to the session that's required by the particular copype command. Don't quote me on that as I'm only guessing after seeing this fail for myself. I had to actually launch it from start and then navigate to above mentioned directory.
    Last edited by That Random Guy; 09 Feb 2020 at 18:08. Reason: solution
      My Computer


  2. Posts : 14,051
    Windows 11 Pro X64 22H2 22621.1848
       #2

    What guide tells you to use copype? I've created several syspreped images and I don't have copype.exe anywhere on my system.

    From what I can find, it's part of WinPE.
      My Computers


  3. Posts : 47
    Windows 10 Pro x64 ( v. 2004)
    Thread Starter
       #3

    Didn't look hard enough apparently. Many thanks!
      My Computer


  4. Posts : 14,051
    Windows 11 Pro X64 22H2 22621.1848
       #4

    ???? What does your answer mean? Did you find it? If so, where? What tutorial tells you to use it as none of the ones I've used do.
      My Computers


  5. Posts : 47
    Windows 10 Pro x64 ( v. 2004)
    Thread Starter
       #5

    Ztruker said:
    ???? What does your answer mean? Did you find it? If so, where? What tutorial tells you to use it as none of the ones I've used do.
    Yep—found it. I didn't look in all the required directories... including the one literally named Windows Preinstallation Environment.

    I started following this one Microsoft tutorial after making the sysprep generalize the image. I then used DISM to capture the image and then used dism again from the tutorial linked above to apply the image to my bare VM.

    Wa—la. It works. :)
      My Computer


  6. Posts : 14,051
    Windows 11 Pro X64 22H2 22621.1848
       #6

    Excellent, thank you.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:26.
Find Us




Windows 10 Forums