Convert install.esd to install.wim

I haven’t put up new post for quite some time, this is definitely worth keeping it.

Recently I started to look at creating a system image for Winodws 10, it will be used for the desktop/laptop deployment.  It is not funny that you have to do so much to get it to work when you don’t have SCCM in your environment.

One thing that was blocking my way, there is no more install.wim for creating the package, the latest build of Windows 10 download only comes with install.esd under the source directory.  Although you can ask Uncle Google, and there will be many software options to convert, extract, decrypt…etc many many terms, but I don’t like any of them as I don’t feel comfortable downloading a script or software that wasn’t verified, you just don’t know what it’s embedded.

I am luckily enough to find these information from a Technet article.

  1. you need to copy the install.esd file onto a local storage location.
  2. run cmd in elevated mode.
  3. execute this command – dism /Get-WimInfo /WimFile:install.esd (this should pointing to the physical path)
  4. note down the Index number for the operating system you would like to deploy
  5. then execute this command – dism /export-image /SourceImageFile:install.esd /SourceIndex:1 /DestinationImageFile:install.wim /Compress:max /CheckIntegrity
  6. if it ran ok, you will get install.wim extract in the same folder.  now you can use this to work with MDT.

Have fun!

Problem deploying software installation from Active Directory

I’m trying deploy Teamviewer client installation from Active Directory Group Policy, out of 120 computers only about 50 of them received from the new group policy.  After many researches, here’re the few things I found that would stop the software from installing.  (Hint: Always use GPMC.MSC or RSOP.MSC to review the result).

1.  firewall

2. slow link detection and network wait

3. disable Media Sensing feature in registry

http://support.microsoft.com/kb/326152

http://support.microsoft.com/kb/239924

Event ID 2017, Source SRV

Problem:

After several days of backing up clients to a windows 7 machine acting as a BDR, the clients are no longer able to connect. Rebooting the BDR resolves the issue for a few days.

Looking in the System Event viewer the following entry will be shown.

Error 2017

“The server was unable to allocate from the system nonpaged pool because the server has reached the configured limit for nonpaged pool allocations.”

Cause:

Windows 7 is not designed to handle the large traffic generated by backing up multiple clients.

Resolution:

The following registry keys can be adjusted to help windows 7 manage the high traffic.

Set the following registry key to ‘1? (default value is 0 – zero):

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache

Set the following registry entry to ‘3’ (default value is 1):

HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size

A restart is required after making the changes.

Windows 7 should not be used as a backup destination.  Windows 7 is a workstation OS and not intended by Microsoft to be used as a file server.

Creating System Image in Windows 8

Remember how you can create a system image in Windows 7, so it can be used to restore your entire system back to normal.  Since Windows 8 has moved things around, this tool is now kind of hidden from us.  Here’s the tip to find it.

Press “Windows+Q”, search for “system image,” no results come up. Search for “backup” and Windows 8 brings you to its new File History feature (which itself is pretty neat for saving copies of your files, “Previous Version” they use to call).

So where is the system image tool?  Search for “file recovery”, You will find the “Windows 7 File Recovery” link under Setting from the right side menu. It’s not a very intuitive name, because it sounds like you’d be recovering Windows 7 files, but that’s where the legacy backup tools are.

From there, you can set up a backup as you might have in Windows 7 and also find the “Create a system image” and “Create a system repair disc” options.

Choose “Create a system image” to clone your entire computer to another drive (or DVDs or a network location). Or, in the previous screen, choose to “Set up backup” and Windows will create both a system image and backup your data on a schedule. That’s the best of both worlds: you’ll have the option to recover individual files and folders (in case they’ve been accidentally deleted or overwritten) or restore the whole system (in case the whole thing crashes).