EMBR.EXE
~~~~~~~~
The EMBR.EXE command line utility is useful in helping a company
deploy BootIt Next Generation across its organization.

Example Deployment Scenario
~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 - Setup and prepare a base machine to be imaged.
2 - Image the hard drive partitions of the base machine.
3 - Deploy the images to the workstations.

The problem with the above scenario is that BING requires additional 
data from the EMBR.  The EMBR is located outside of any partition. 

About the EMBR
~~~~~~~~~~~~~~
The EMBR (Extended Master Boot Record) is a standard produced by 
TeraByte Unlimited in the mid 1990's that extends the capabilities of 
a standard PC.  You can obtain the specification from 
www.terabyteunlimited.com/specs/embr2.pdf. 

Using EMBR.EXE
~~~~~~~~~~~~~~
How to use EMBR.EXE in your deployment scripts depends on what 
software you are using to deploy the images as well as the BING 
configuration.  Below you will find various situations and how you 
can use EMBR.EXE.  They all assume the target HD is HD0:

Note on using a Default Boot Menu:
If the default boot menu created by BING would be sufficient for 
your environment then you can simply delete the DEFAULT.MNU file 
from the BING partition before imaging.  If BING does not find the 
DEFAULT.MNU file on startup, it will automatically create it to boot 
the OS's it finds without regard to partition ordering.

--------------------------------------------------------------------
Scenario 1 - Limit Primaries: ENABLED   Deployment Tool: THIRD PARTY
--------------------------------------------------------------------

Preparation:

 A) Obtain the ID of each partition.  To do this you can either 
    produce a PartInfo listing, look in the title bar of the 
    partitions properties using Partition Work, or run "EMBR 0 LIS".

 You need to obtain the IDs in order for the Boot Items you've setup 
 in BING to function correctly.  

Script Commands: 

 A) Run "EMBR 0 DEL"
 B) Run third party deployment tool
 C) Run "EMBR 0 CRE LIMIT CODE"
 D) Run "EMBR 0 PID <oldid> <newid>"

    When you restore, the IDs assigned to each partition will be based 
    on the mbr entry it occupies.  ID 1 is assigned to the first 
    partition, 2 to the second, etc..

    Refer to your notes or the PartInfo listing you produced earlier 
    and setup the script to adjust the IDs of the restored partitions 
    to match their prior values.  e.g. EMBR 0 PID 0x03 0xBF

 E) Run "EMBR 0 PFL <bingid> +0x4000" where <bingid> is the partition 
    id of the partition containing BING.


--------------------------------------------------------------------
Scenario 2 - Limit Primaries: DISABLED  Deployment Tool: THIRD PARTY
--------------------------------------------------------------------
Unsupported unless the third party tool is EMBR compatible.


--------------------------------------------------------------------
Scenario 3 - Limit Primaries: ENABLED   Deployment Tool: IFD/IFW    
--------------------------------------------------------------------

Note: If your are using IFD versions prior to 1.93 or IFW version 
1.54 then please use the free ImageAll utility to deploy BING.  
Using ImageAll does not require the use of EMBR.EXE.  See the 
ImageAll documentation for details on its use.

Preparation:

 A) Obtain the ID of the BING partition.  To do this you can either 
    produce a PartInfo listing, look in the title bar of the 
    Properties dialog using Partition Work, or run "EMBR 0 LIS".

Script Commands:
  A) Run "EMBR 0 DEL MBR"
  B) Run "EMBR 0 CRE LIMIT CODE"
  C) Run IFD/IFW to deploy the images.
  D) Run "EMBR 0 PFL <bingid> +0x4000" where <bingid> is the partition 
     id of the partition containing BING.


--------------------------------------------------------------------
Scenario 4 - Limit Primaries: DISABLED  Deployment Tool: IFD/IFW    
--------------------------------------------------------------------

Note: If your are using IFD versions prior to 1.93 or IFW version 
1.54 then please use the free ImageAll utility to deploy BING.  
Using ImageAll does not require the use of EMBR.EXE.  See the 
ImageAll documentation for details on its use.

Preparation:

 A) Obtain the ID of the BING partition.  To do this you can either 
    produce a PartInfo listing, look in the title bar of the 
    Properties dialog using Partition Work, or run "EMBR 0 LIS".

Script Commands:
  A) Run "EMBR 0 DEL MBR"
  B) Run "EMBR 0 CRE CODE"
  C) Run IFD/IFW to deploy the images.
  D) Run "EMBR 0 PFL <bingid> +0x4000" where <bingid> is the partition 
     id of the partition containing BING.

