Create your own spx n in combination with 1 automatic installation disk (x86)

Source: Internet
Author: User
Tags lenovo

"Xinso"

I. Production method:

The following uses gigabyte and HP as examples. Other methods can be bubble-based and flexible:

1. Copy a copy of the most common oem xp, such as gigabyte, to D: \ 1to2

2. Create an HP folder in D: \ with the following content:
HP \ oembios. Bin, oembios. dat, oembios. Sig
HP \ catroot \ {F750E6C3-38EE-11D1-85E5-00C04FC295EE} \ oembios. Cat
HP \ dllcache \ oembios. Cat

3. capture images of hp oem files:
Imagex/capture D: \ hp d: \ 1to2 \ i386 \ hp. Wim "HP"
4. Copy imagex.exe to D: \ 1to2 \ i386 \
5. Create a disable. Reg in D: \ 1to2 \ i386 \ as follows (remember to store ):

Windows Registry Editor Version 5.00

; Disable file protection
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon]
"Sfcsetting" = DWORD: ffffff9d
"Sfcdisable" = DWORD: ffffff9d

6. Create a detection program msg. CMD in D: \ 1to2 \ i386 \ as follows (remember to save ):
@ Echo off
% SystemRoot % \ system32 \ biossave.exe
Pause
Type % systemdrive % \ bios. mem | find "Hewlett-Packard" & goto HP
Goto end

: HP
Pause
% SystemRoot % \ system32 \ imagex/apply % SystemRoot % \ system32 \ hp. Wim 1% SystemRoot % \ system32 \
Pause
Goto end

: End
Biossave.rar (15.3 KB)

7. Modify D: \ 1to2 \ i386 \ dosnet. INF.
(1) Add svcpack below [optionalsrcdirs:
(2) Add below cmd.exe:
D1,imagex.exe
D1, HP. Wim
D1,biossave.exe
D1, disable. Reg
D1, MSG. cmd

8. Modify D: \ 1to2 \ i386 \ txtsetup. Sif
Add the following content under cmd.exe:
Imagex.exe = 100, 0
HP. Wim = 100, 0
Biossave.exe = 100, 0
Disable. Reg = 100, 0
MSG. cmd = 100, 0

9. Create a folder D: \ 1to2 \ i386 \ svcpack

10. Create the file D: \ 1to2 \ i386 \ svcpack \ deploy. cmd. The content is as follows:

@ Echo off
Regedit % SystemRoot % \ system32 \ disable. Reg
Pause
Set key = HKLM \ Software \ Microsoft \ Windows \ CurrentVersion \ runonceex
Reg add % key % \ index/V addindex/D "% SystemRoot % \ system32 \ msg. cmd"/F
Pause
Exit

11. Create the svcpack. inf file, compress it into svcpack. In _, and copy it to D: \ 1to2 \ i386 \ overwrite the file.

[Version]
Buildnumber = 2600
Minorversion = 1
Majorversion = 5
Signature = "$ Windows NT $"

[Setupdata]
Catalogsubdir = "\ i386 \ svcpack"

[Setuphotfixestorun]
Deploy. cmd

[Productcatalogstoinstall]

12. Start the installation with your own serial number. In the last phase of-13 minutes (run deploy. CMD adds the runonceex command in the registry to execute MSG upon initial login. CMD) "Operation completed successfully" appears. When you log on to the desktop for the first time (execute the detection program MSG. CMD) The imagex is executed because the startup code is detected. This is not started for the first time, because the four oembios of the OEM have just been replaced. * file. after the restart, check [system information]. If "shelving is not enabled (30 days left)", congratulations, the replacement is started successfully.

When the system is installed for the first time, the detection program msg. CMD detects the startup code Hewlett-Packard and then runs
Imagex/appply \ windows \ system32 \ hp. Wim 1 \ windows \ system32 \
Replace the Startup File with HP's

The preceding values are 1 to 2. For example, 1 to n:
1. Make the brand *. Wim and copy it to c: \ 1to? \ I386 \
2. Add the *. Wim file name to the directory .exe of dosnet. inf and txtsetup. Sif.
3. Modify the detection program content, such as adding Lenovo:
@ Echo off
% SystemRoot % \ system32 \ biossave.exe
Pause
Type % systemdrive % \ bios. mem | find "Hewlett-Packard" & goto HP
Type % systemdrive % \ bios. mem | find "Lenovo" & goto Lenovo
Goto end

: HP
Pause
% SystemRoot % \ system32 \ imagex/apply % SystemRoot % \ system32 \ hp. Wim 1% SystemRoot % \ system32 \
Pause
Goto end

: Lenovo
Pause
% SystemRoot % \ system32 \ imagex/apply % SystemRoot % \ system32 \ Lenovo. Wim 1% SystemRoot % \ system32 \
Pause
Goto end

: End

Ii. Resolution of serial numbers:
1. Prepare the serial numbers of each brand. Note the following values:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Internet Explorer \ Registration]
"Productid" = "76486-oem-0011903-00117"
"Digitalproductid" = HEX: A4, 4f, 45, 4D, 2d ,\
30,30, 31,31, 39,30, 33, 2d, 30,30, 31,31, 37,00, 2d, 00,00, 00,41, 32,32, 2d, 30,30, 30 ,\
30,31, 00,00, 00,00, 00,00, 00, 6a, 98, 2f, 8e, CC, 8f, 28, DC, 83,71, 62, A9, 85,80, 00,00 ,\
, 00, B7, A9, 5C, EF, 00, 00, 00, 00, 00 ,\
, 18 ,\
, 00, 1C, 8e, 44, F8, 00, 00, 00, 00, 00 ,\
, 00, 00, 00, 3B, 3D, BC

[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion]
"Productid" = "76486-oem-0011903-00117"

[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion]
"Productid" = "76486-oem-0011903-00117"
"Digitalproductid" = HEX: A4, 4f, 45, 4D, 2d ,\
30,30, 31,31, 39,30, 33, 2d, 30,30, 31,31, 37,00, 2d, 00,00, 00,41, 32,32, 2d, 30,30, 30 ,\
30,31, 00,00, 00,00, 00,00, 00, 6a, 98, 2f, 8e, CC, 8f, 28, DC, 83,71, 62, A9, 85,80, 00,00 ,\
, 00, B7, A9, 5C, EF, 00, 00, 00, 00, 00 ,\
, 18 ,\
, 00, 1C, 8e, 44, F8, 00, 00, 00, 00, 00 ,\
, 00, 00, 00, 3B, 3D, BC

[HKEY_LOCAL_MACHINE \ SYSTEM \ Setup \ pid]
"PID" = "76486oem"

2. Different brands have different content, but in order to simplify the detection program command, a single name is recommended, such as PID. Reg. And then put it together with dpcdll. dll and pidgen. DLL to the brand for. Wim

3. Add the following command under each brand under msg. CMD:

: Gigabyte
% SystemRoot % \ system32 \ imagex/apply % SystemRoot % \ system32 \ Gigabyte. Wim 1% SystemRoot % \ system32 \ (replace oembios .*)
Regedit/S % SystemRoot % \ system32 \ PID. Reg (replace serial number)
Goto end

: Greatwal
% SystemRoot % \ system32 \ imagex/apply % SystemRoot % \ system32 \ greatwal. Wim 1% SystemRoot % \ system32 \
Regedit/S % SystemRoot % \ system32 \ PID. Reg
Goto end

Create your own spx n in combination with 1 automatic installation disk (x86)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.