ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Windows Embedded Standard 7 Image Builder
    카테고리 없음 2020. 3. 5. 07:19

    . Setup Windows Deployment Services role on Windows Server. Add boot and install images. Boot up 'boot image' using PXE. Select 'install image' and deploy it.I'm not covering very rich Windows Deployment Services and Microsoft Deployment Toolkit functionality here; the description above is only to show the problem. The problemThe problem is you cannot initially deploy Windows Embedded Standard (WES) this way. Why?WDS and MDT require fully functional install.wim (install image) to deploy an OS successfully.WES is component system unlike traditional Windows; thus there is no fully functional install.wim.Instead of that there is small-size special install.wim (you can check it - mount IBW ISO disk and find the file - it is small indeed) and component share folder ('Distribution Share' in WES7 and 'Catalog' in WE8S).

    1. Windows Embedded Standard 7 Iso

    In case of WES' general deployment process Image Builder Wizard (IBW) deploys initial small install.wim and then deploys selected components from that component share. There will be only one components share folder in your intranet, no need to install entire share to each development computer;. Once the components share is updated each development computer that uses the share obtains the latest components;. You'll need to update only one share instead of each development computer's share;. You'll be able to prototype with IBW quickly. No need to create USB boot disk each time the share updates;. Nobody can alter that components share because it will be mounted as read-only.The solution.

    Let's select one Windows version, for example, Windows Embedded 8 Standard x86. Let's select Windows Server version as well. You need Windows Server because it natively supports WDS role. I used Windows Server 2012 R2. In this example Windows Server will be used as standalone server, not including it in any domain. Download and install all the latest updates for your server system. Download and install WE8S toolkit.

    Windows Embedded Standard 7 Image Builder

    Install all the components available. Run Windows Embedded Developer Update, add Windows Embedded Catalog folder, search and install all updates available (you can exclude language packs as you wish). Create new user account. Deny interactive logon for that account using Group Policy tool.

    This account will be used only to create network shared catalog folder, the folder will be read-only and contain only Windows components, so you can use simple password or create empty password. If you used empty password, go to Group Policy tool and allow to use empty passwords for network shares. Share catalog folder (C:Windows Embedded Catalog by default) for user account created above as read-only folder.

    Windows Embedded Standard 7 Iso

    Check twice you gave only 'Read' right for that account. Write down resource's network name.

    Run Image Configuration Editor (ICE). Select Tools - Create Media - Create IBW image with full Catalog.

    Select x86 architecture and specify folder C:IBWx86. Once finished, go to folder and delete catalog from it (we don't want to use this catalog because WEDU doesn't update it automatically). When finished, share C:IBWx86 the same way as Windows Embedded Catalog.

    Embedded

    Now you have two shared folders. One of them contains catalog files, another contains IBW files. Return back to ICE and select Tools - Create Media - Create Windows PE image. Select C:winpe folder, x86. We need to change startnet.cmd script inside Windows PE image.

    Run command line as administrator, mount c:winpemediasourcesboot.wim using DISM. Locate windowssystem32startnet.cmd inside mounted image, remove its content and put the following lines (replace 'SERVERNAME' to your server name, 'username' to user account name, 'password' to its password):wpeinitnet use n: 'SERVERNAMEWindows Embedded Catalog' /user:username passwordnet use m: 'SERVERNAMEIBWx86' /user:username passwordm:setup /catalog:n:. Save the file, dismount image with commit. Add the boot.wim to WDS boot images using WDS snap-in. Give it understandable name and description.

    Create virtual machine with PXE boot capabilities or use physical machine to test the solution. Boot the machine from WDS, select boot image added to WDS above. Once start, it will mount shares and start IBW.

    Test network IBW deployment.How it worksIn the solution above we have the following key elements. Shared folder with catalog components.

    Shared folder with IBW files. Windows PE image that mounts the folders on startup and executes IBW. It points IBW to mounted catalog folder using /catalog command line switch. You have no troubles with catalog folder updates because you always use original updated folder.

    But when WEDU does update tools itself, you'll need to update your C:IBWx86 folder.Of course now you can have multiple development stations using shared components folder. To do that setup, select custom setup during development tools installation and then exclude Development Share (for WES7) or Catalog (for WE8S).

    After setup finishes, mount network share with components, run Image Configuration Editor, say 'Select development share' ('Select catalog' for WE8S) and select network share with components.There may be one issue with ICE for WES7. It requires elevation to run.

    Thus if you have mounted network share as normal user you won't be able to see network drive under elevated environment. So you need to mount network share under elevated environment itself.

    To do that, in 'Specify Distribution Share' dialog box, go to Desktop, make right-mouse click on Computer and then select Map Network Drive, then map network drive as usual.ImprovementsOf course this is not ideal solution. Consider possible questions and improvements. Use only one shared folder instead of two (Windows directory junctions can help to put put different locations on a file system to one shared folder). Create Windows PE images for different architectures. I understand this isn't good practice to install development tools on server system, so you can decide to create separate virtual machine on server host to do that (Definitely, Hyper-V will be the fastest way). Of course you need an error handling. What if server is unavailable?

    It is good practice to give user friendly error message and exit to command line, for example.

Designed by Tistory.