Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Need Help! Modify bootmgr windows 8

- - - - -

  • Please log in to reply
28 replies to this topic

#1
congnt92

congnt92

    Junior

  • Member
  • Pip
  • 71 posts
  • Joined 01-April 13
  • OS:Windows 7 x86
  • Country: Country Flag
Hi all
I want to modify bootmgr windows 8 where value bcd change to bc1, bc2... How can I do it?


How to remove advertisement from MSFN

#2
congnt92

congnt92

    Junior

  • Member
  • Pip
  • 71 posts
  • Joined 01-April 13
  • OS:Windows 7 x86
  • Country: Country Flag
Nobody can help me? :(

#3
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 498 posts
  • Joined 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
You will need bmzip and PEChecksum by Jeffrey Bush

First decompress bootmgr

bmzip bootmgr bootmgr.exe

Joakim has found out how to Modify bootmgr of Windows 8

Here you have the adresses for bootmgr.exe version 6.2.9200.16384 (RTM)
So use a HexEditor and change following bytes in bootmgr.exe.

0000066B: 0F 90
0000066C: 88 90
0000066D: A3 90
0000066E: 02 90
0000066F: 00 90
00000670: 00 90

0002957A: 74 EB

000295A1: 75 EB


At adress 8345C you have the \Boot\BCD string that you can change.

Then use PEChecksum to update the Exe checksum

PEChecksum bootmgr.exe

And Finally recompress bootmgr

bmzip /c bootmgr.exe bootmgr

Attached Files


Edited by JFX, 10 May 2013 - 02:13 AM.


#4
congnt92

congnt92

    Junior

  • Member
  • Pip
  • 71 posts
  • Joined 01-April 13
  • OS:Windows 7 x86
  • Country: Country Flag
thanks JFX. I hex edit successed. God bless you :angel :angel :angel But after modified bootmgr, when I boot setup windows 8, prompt stopped about 5 seconds. Then the installation can be continue. How do I fix it ?

Posted Image

Edited by congnt92, 11 May 2013 - 06:46 AM.


#5
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 498 posts
  • Joined 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
Are you sure that delay comes from bootmgr?
It boots instantly for me!

#6
congnt92

congnt92

    Junior

  • Member
  • Pip
  • 71 posts
  • Joined 01-April 13
  • OS:Windows 7 x86
  • Country: Country Flag
I'm sure. Because if I use bootmgr original, no matter what happend. You can send me your bootmgr file after modified?

#7
bphlpt

bphlpt

    MSFN Addict

  • Member
  • PipPipPipPipPipPipPip
  • 1,826 posts
  • Joined 12-May 07
  • OS:none specified
  • Country: Country Flag
Might be better to post yours so we can see what you did wrong, and suggest ways so you can do it correctly next time.

Cheers and Regards

Posted Image


#8
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,849 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

Might be better to post yours so we can see what you did wrong, and suggest ways so you can do it correctly next time.

It might be even better if noone re-distributes non-redistributable files through the board.

Noone ever heard of hashing a file (let's say MD5) to check if it's the same as another one? :unsure:


jaclaz

#9
congnt92

congnt92

    Junior

  • Member
  • Pip
  • 71 posts
  • Joined 01-April 13
  • OS:Windows 7 x86
  • Country: Country Flag
Thanks all. Here my bootmgr after modify. I don't know what did I do wrong ?

Attached Files


Edited by congnt92, 13 May 2013 - 08:48 PM.


#10
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 498 posts
  • Joined 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
@congnt92
You did nothing wrong, you edit it correctly.
But still i can't reproduce your problem.

#11
congnt92

congnt92

    Junior

  • Member
  • Pip
  • 71 posts
  • Joined 01-April 13
  • OS:Windows 7 x86
  • Country: Country Flag
thanks JFX. Now, I think I should be content with what I already have because the error does not affect the installation process. Thanks again, JFX.

#12
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 498 posts
  • Joined 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Here you have the addresses for bootmgr.exe version 6.3.9600.16384 (RTM)



0000065E: 0F 90
0000065F: 88 90
00000660: AE 90
00000661: 02 90
00000662: 00 90
00000663: 00 90

0002B1C1: 74 EB

0002B1EB: 75 EB

At address 8AF90 you have the \Boot\BCD string that you can change.
 

@Mods

Maybe this topic would be better places in WinPE or Multi boot sub forum.


  • congnt92 likes this

#13
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,849 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

Just wanted to thank JFX :thumbup for providing a working compiled bmzip.exe and clear, easy to follow, instructions on it's use.  :)

 

It took me some (too much :() time to FAIL :w00t: :ph34r: in replicating with the tools provided directly or indirectly here:

http://reboot.pro/to...mgr-recompiler/

and all of 3 (three) minutes to succeed   :yes: with the version of the tool JFX provided.

 

 

jaclaz



#14
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 498 posts
  • Joined 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
JFYI, instead of PEChecksum.exe one can also use Unsigntool.
It strips the no longer needed digital signature and fixes the PE Header checksum.

#15
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 498 posts
  • Joined 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

So for everyone how doesn't like command line or hex editing, I've updated my old zbootmgr tool.

 

http://1drv.ms/1plzVcu


Edited by JFX, 22 August 2014 - 07:42 AM.

  • congnt92 likes this

#16
KNARZ

KNARZ

    Junior

  • Member
  • Pip
  • 89 posts
  • Joined 20-August 04

nice move JFX. thanks.



#17
nisharhmd7

nisharhmd7
  • Member
  • 1 posts
  • Joined 15-November 12
  • OS:XP Pro x86
  • Country: Country Flag

Nice tutorial sir thanks for sharing



#18
congnt92

congnt92

    Junior

  • Member
  • Pip
  • 71 posts
  • Joined 01-April 13
  • OS:Windows 7 x86
  • Country: Country Flag

So for everyone how doesn't like command line or hex editing, I've updated my old zbootmgr tool.

 

http://1drv.ms/1plzVcu

 

Thanks for sharing :)

But I don't know why running this tool for modity bootmgr windows 8.1, I get "Unsupported OS, newer ntdll.dll needed!" error

 

 

Here you have the addresses for bootmgr.exe version 6.3.9600.16384 (RTM)



0000065E: 0F 90
0000065F: 88 90
00000660: AE 90
00000661: 02 90
00000662: 00 90
00000663: 00 90

0002B1C1: 74 EB

0002B1EB: 75 EB          At address 8AF90 you have the \Boot\BCD string that you can change.

 

With bootmgr windows 8.1 update (6.3.9600.16415). At address 0000065E: is 01 not 0F. Can I change it to 90 ?

And now, Windows 10 was came. I can't modify bootmgr windows 10 by this way.

Can you update the method to modify bootmgr windows 8.1 update and bootmgr windows 10?

Thanks


Edited by congnt92, 19 December 2014 - 01:59 AM.


#19
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 498 posts
  • Joined 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

"Unsupported OS, newer ntdll.dll needed!"

 
Means your running this tool not under Windows 8, and your ntdll.dll has not the functions to decompress and recompress bootmgr.
You can put ntdll.dll from a win8 install next to the program an try again.
 
If the offset has changed, then please don't change these bytes.
If I have some time I take  a look at the new version.
But seriously you don't need a win10 bootmgr, do you?

  • congnt92 likes this

#20
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,849 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

 

But seriously you don't need a win10 bootmgr, do you?

 

Did you actually mean "But seriously you don't need a win10, do you?" :unsure:

 

;)

 

jaclaz


  • congnt92 likes this

#21
congnt92

congnt92

    Junior

  • Member
  • Pip
  • 71 posts
  • Joined 01-April 13
  • OS:Windows 7 x86
  • Country: Country Flag

 

"Unsupported OS, newer ntdll.dll needed!"

 
Means your running this tool not under Windows 8, and your ntdll.dll has not the functions to decompress and recompress bootmgr.
You can put ntdll.dll from a win8 install next to the program an try again.

 

 

I run this tool under windows 8.1 spring update. Version Bootmgr in windows 8.1 spring update is 6.3.9600.16415 not 6.3.9600.16384. May this is reason why i get that error.

 

 

If the offset has changed, then please don't change these bytes.

 

As you say, in ver 6.3.9600.16415, We only need to change \Boot\BCD to custom value. What about these

 

0000065E: 0F 90
0000065F: 88 90
00000660: AE 90
00000661: 02 90
00000662: 00 90
00000663: 00 90

0002B1C1: 74 EB

0002B1EB: 75 EB

 

 

Thanks



#22
congnt92

congnt92

    Junior

  • Member
  • Pip
  • 71 posts
  • Joined 01-April 13
  • OS:Windows 7 x86
  • Country: Country Flag

 

 

But seriously you don't need a win10 bootmgr, do you?

 

Did you actually mean "But seriously you don't need a win10, do you?" :unsure:

 

;)

 

jaclaz

 

 

Same question with you! And still wating for the answers :D



#23
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 498 posts
  • Joined 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

congnt92, please re-download and try again.

 

http://1drv.ms/1plzVcu


  • congnt92 likes this

#24
congnt92

congnt92

    Junior

  • Member
  • Pip
  • 71 posts
  • Joined 01-April 13
  • OS:Windows 7 x86
  • Country: Country Flag

congnt92, please re-download and try again.

 

http://1drv.ms/1plzVcu

 

Thanks. I run it under windows 8.1 update 1 and windows 10 technical preview. It work fine on windows 8.1 update 1. It does not support for win 10.

And I still have a question.

- If we modify bootmgr manally (decompress, hex edit, checksum, recompress), the size of bootmgr (after modified) less original bootmgr about 3kb.

- If using your tool, bootmgr after modified is same size with original bootmgr.

Could you tell me why?

And it would be greater if your tool allow user create modified bootmgr with "ABC" string instead "BC0, BC1, ..." :D

And your tool work fine but I want to learn how to manually modified bootmgr as you guide me at #3 (decompress, hex edit, recompress ...). Can you guide me?

And thanks again, JFX.


Edited by congnt92, 19 December 2014 - 11:38 AM.


#25
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 498 posts
  • Joined 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Yeah, better let's wait for Win10 final  ;)

 

Well, bmzip.exe does compress better, so the new bootmgr will be slighlty smaller.

I use the same compression code MS uses, so the size will stay more or less equal.

 
Maybe next year I'll add "ABC" feature.

 

This should be the offsets for 6.3.9600.16415

0000CF0E: 0F 90
0000CF0F: 88 90
0000CF10: AE 90
0000CF11: 02 90
0000CF12: 00 90
0000CF13: 00 90

000194A9: 74 EB

000194D3: 75 EB          At address D84 you have the \Boot\BCD string that you can change.

  • congnt92 likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users