*************************************************************
****     How to use the tool of NBDMIFIT Version 2.14    ****
****                                                     ****    
**** This tool works for the platforms from 2007 to 2018 ****
*************************************************************

Note: 
1. The user must write down these information before put the spare board to the system:
	SN
	SKU Number
	Product Name
	System Board CT number
	System Configuration ID (PCID) for 2014 and older platforms
	Feature Byte and Build ID for 2015 newer platforms

2. The user should change BIOS boot mode to legacy or UEFI Hybrid to boot to DOS USB key
   and run nbdmifit.bat to correct the date and find out what tools to run next.
   If Nbdmifit.bat fails to run or legacy mode is not supported, boot to EFI USB drive then follow the menu.

3. When running wndmifit.exe, the user should select button "Commit only",
   then run Brand in EFI mode to commit vPro, before go back to windows/WinPE to lock MPM by running lockmpm.bat.

4. To save time by removing step to boot back to WinPE to run lockmpm.bat, the user can run p2lockmpm.bat after
   running wndimmit.exe. It will set the MPM counter to 9. After run Brand to commit vPro, reboot and see no 
   warning or error message during POST, the user can remove the power to lock MPM.

Preparations:
-------------

1.   Write down the CT number on the label below memory sticks

2.   Make an MS DOS bootable FAT32 USB hard disk.

3.   Unzip the zipped tool file and copy all onto the root directory of USB hard disk.

4.   Remove Power-on password if there is any.

5.   Suggest change the system boot-order to "USB Hard Disk FIRST" from F10 setup.

6.   To commit/brand any 2011 and newer platforms, the EFI Boot needs to be enabled from F10 BIOS Setup.

	Boot to F10 BIOS Setup > System Configuration > Boot Options > select "UEFI Boot Mode" > 
   	Save > Yes > Exit.

	*Note:  When this committing process is finished, please change back to original mode:

7.   To program any 2012 and newer platforms, boot to windows and run wndmifit.exe.

8.   If the MPM mode is locked on 2012 and newer platforms, escalate to 2LS to get SMC blob to unlock MPM



Operation Steps (5 and 6 for bNB) :
----------------
1.   Make sure power is off.

2.   Attach the USB hard disk to the system.

3.   Boot system to USB hard disk MS DOS. 

4.   Run NBDMIFIT.BAT.

5.   Follow the display menu to configure system (Part Number, Serial Number, UUID, etc.)

	Program ConfigID for bNB 2011 platforms, (get PCID from PCID label for 2012 and newer platforms):
	Change only bit 3 of byte 2 after default value is displayed as below:
	A0001C02: TPM on
	A0001402: TPM off

	*** System date/time has to be valid to generate UUID.***


6.   The tool will try to commit/brand the blank board, to enable or disable AMT/vPro.


     1). For the platforms from 2007 to 2010:

	The program will prompt with a menu to choose. 
	The system will reboot a few times, and display the config state at final.


     2). For 2011 and newer products:

	Need to boot to USB drive EFI mode (refer to item 5 in Preparations section, for how to enable EFI boot)

	Boot the system > F9 > “External USB Hard Drive" > 
	(Don't press ESC to skip startup.nsh) ME config menu screen (for Full ME) > 
	follow on-screen instruction, choose 1/2 to enable vPro/AMT or 3/4 to diable vPro/AMT > 
	key 9 and Enter, to reboot > After reboot, press F9  > boot back to efi to check status


	*Note:  When this committing process is finished, please change back to original mode:



To use WinPE for Elipad 900, HP Pro Tablet 10 EE G1, and 2012 and newer bNB notebooks:
----------------
	Download WinPE32-2.10-2.zip
	Extract the file
	Run: FormatUsbDisk.cmd
	Run: MakeWPE32.cmd x: (x: is the USB drive)
	Select “Y” to confirm when prompted
	Boot to this USB Drive


To use WinPE for Elipad 1000, Pro Tablet  608 G1:
----------------
	Download WinPE64-2.10-2.zip
	Extract the file
	Run: FormatUsbDisk.cmd
	Run: MakeWPE64.cmd x: (x: is the USB drive)
	Select “Y” to confirm when prompted
	Boot to this USB Drive


To reset MPM counter on 2012 and newer bNB notebooks: 
----------------
	If MPM is unlocked and its counter is greater than 5, the user should reset MPM counter as below:

	Boot to windows or winPE
	Cd \wndmifit
	rMpmCnt.bat
or	rMpmCnt.bat 64 when run on WinPE64

To lock MPM on 2012 and newer notebooks: 
----------------
	If MPM is unlocked, the user can lock MPM as below:

	Boot to windows or winPE
	Cd \wndmifit
	lockmpm.bat
or	lockmpm.bat 64 when run on WinPE64

To unlock MPM on 2012 and newer notebooks with UUID FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF: 
----------------
	If MPM is locked, the user can unlock MPM as below:

	Rename the file to the FSMC.bin in wndmifit to SMC.bin
	Save the file to FAT32 USB key and insert to the system (or save the file to the root of drive D: HP_TOOLS)
	Press "Windows Key + UP Key + Down Key" and turn on the system

To program these platforms:
	HP 240 G1/G2, HP 250 G1/G2, HP 255 G1/G2.
	HP Envy x2 (18F6).
	HP Pavilion X2 Detachable (8021).
	HP Pavilion X2 Detachable (813E).
	HP Pavilion X2 Detachable (815D).
	HP Pavilion X2 Detachable (8181,8182).
	HP Pavilion X2 Detachable (827B,827C).
	HP Pavition 11x2 (2188).
	HP Pro Tablet 408 G1.
	HP Pro Tablet 610 G1 (22B8).
	HP Pro Tablet 610 G1 (22B9).
	HP Pro x2 410 G1.
	HP Stream 7/8 Tablet.
	HP x2 210 G1 (8173).
----------------
	Boot the system > F9 > “USB Hard Drive (UEFI) - …” > Follow the menu to run the correct option 


To program HP ENVY 8 Note (x8160):
----------------
	Boot to windows/winpe
	cd \Win
To enable the Build ID and Feature Bytes, you need to execute:
	Hpbi205fx64.exe /s /r 100
Then execute the command again without any option:
	Hpbi205fx64.exe
	Run Hpbi205fx64.exe /ctn xxxxxxxxxx to program battery CT number

Feature Byte and Build ID strings to program on HP mt41, not required on all other platforms:
----------------
		No WWAN & No Camera			WWAN + Camera installed
Feature Byte:	6a7M7j8X9Faaac.eM			6a7M7j8X9FaUaaac.43
Build ID:	13WWMTBE3ae#SABA#DABA			13WWMTBE302#SABA#DABA

