作者 主題: 請問windows2000的regedit....  (閱讀 9929 次)

0 會員 與 1 訪客 正在閱讀本文。

Relena

  • 可愛的小學生
  • *
  • 文章數: 21
    • 檢視個人資料
請問windows2000的regedit....
« 於: 2002-05-19 17:22 »
大家好,想請問一下在windows2000中,更改安裝序號而不想重新安裝的話,是要更改哪一個機碼呢?

huckly

  • 酷!學園 學長們
  • 俺是博士!
  • *****
  • 文章數: 3420
    • 檢視個人資料
    • http://blog.huckly.net
請問windows2000的regedit....
« 回覆 #1 於: 2002-05-20 14:08 »
在 2000 的 server 或是 professional 安裝磁片中 tools 目錄下
有個 sysprep.exe
執行他就可以更改安裝序號了
IT doesn't matter

Relena

  • 可愛的小學生
  • *
  • 文章數: 21
    • 檢視個人資料
請問windows2000的regedit....
« 回覆 #2 於: 2002-05-20 21:08 »
嗯!了解,非常感謝^^

Relena

  • 可愛的小學生
  • *
  • 文章數: 21
    • 檢視個人資料
請問windows2000的regedit....
« 回覆 #3 於: 2002-06-04 19:50 »
可是…找不到sysprep.exe這個檔說…是版本差異嗎?

Ken

  • 鑽研的研究生
  • *****
  • 文章數: 524
    • 檢視個人資料
    • http://square.2y.net
請問windows2000的regedit....
« 回覆 #4 於: 2002-06-04 19:53 »
去www.microsoft.com/technet search sysprep就有了

Relena

  • 可愛的小學生
  • *
  • 文章數: 21
    • 檢視個人資料
請問windows2000的regedit....
« 回覆 #5 於: 2002-06-04 20:17 »
假使我找一台新pc灌windows 2000再將以下的機碼copy至舊的pc上,序號是不是算更新了呢?

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion下的DigitalProductId,ProductId

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion下的ProductId

beethobear

  • 鑽研的研究生
  • *****
  • 文章數: 539
    • 檢視個人資料
請問windows2000的regedit....
« 回覆 #6 於: 2002-06-04 20:20 »
http://www.microsoft.com/technet/prodtechnol/winxppro/reskit/prbc_cai_ussz.asp

Running Sysprep
After you install the operating system, you can use Sysprep to prepare for the transfer of the operating system to other similarly configured computers.

To run Sysprep manually, first install the operating system, configure the computer, and install any applications you want to include, then run Sysprep without using the -reboot command-line parameter. After the system shuts down, duplicate the image of the hard disk to the similarly configured computers.

If you are running Sysprep with the -mini parameter, the MiniSetup Wizard runs when users start their duplicated computers for the first time. You can preassign all or some of the Sysprep configuration parameters by using Sysprep.inf. The Sysprep folder (which contains Sysprep.exe and Setupcl.exe) is automatically deleted after MiniSetup is completed.

To prepare a Windows XP Professional installation for duplication

From the Start menu, click Run, and then type:
cmd

At the command prompt, change to the root folder of drive C, and then type:
md sysprep
Insert the Windows XP Professional operating system CD into the appropriate CD-ROM drive. Open the Deploy.cab file in the \Support\Tools folder.
Copy Sysprep.exe and Setupcl.exe to the Sysprep folder.
If you are using Sysprep.inf, copy this file to the Sysprep folder. For Sysprep to function correctly, Sysprep.exe, Setupcl.exe, and Sysprep.inf must all be in the same folder.

At the command prompt, change to the Sysprep folder by typing:
cd sysprep
At the command prompt, type:
sysprep /optional_parameter
If you don't use -reboot as one of your optional parameters, click Shut Down from the Start menu when a message appears requesting that you shut down the computer. You are now ready to use a third-party disk-imaging tool to create an image of the installation.

Note

You can add a Cmdlines.txt file to the Sysprep\i386\$oem$ folder to be processed by Setup. This file is used to run post-setup commands, including commands for application installation. For more information about Using Cmdlines.txt, see "Adding Applications" earlier in this chapter.
Selecting Disk-imaging Tools
Use a third-party disk-imaging tool to create a Windows XP Professional image. To ensure the best outcome when you are using a third-party disk-imaging tool with Windows XP Professional, make sure the tool meets all the requirements for your environment and make sure the tool can do the following:

Access NTFS partitions.
Make sure your disk-imaging tool is compatible with Windows XP. Disk-imaging tools that are designed for use with the version of NTFS supported by Windows 2000, might not be compatible with the version of NTFS supported by Windows XP.

Handle long file names.
Create packages with short file names (for server environments that cannot read long file names).
Open packages to add/remove files (such as new/updated drivers) without having to recreate the entire package.
Reducing the Number of Reference Images
With Sysprep, you can minimize the number of images that you need to use for preinstalling Windows XP Profezssional from multiprocessor (MP) to uniprocessor (UP) computers or from uniprocessor to multiprocessor computers. However, this only works for APIC or ACPI APIC computers.

Note

More interrupts are available with APIC systems than with programmable interrupt controller (PIC) uniprocessor systems. As a result, computers with APIC HALs have faster response times, and they can support more hardware devices than computers with PIC HALs.
You can use one of several methods to create images for installations on multiprocessor systems and deploy the images on uniprocessor systems, or to create images for installations on uniprocessor systems and deploy the images on multiprocessor systems. Each method has advantages and disadvantages, as outlined in the following sections. Choose the method that works best for you and your preinstallation environment.

Table 2.16 illustrates the compatibility of computers based on their HAL type. One image is required for each compatibility group. In this table, multiprocessor is abbreviated MP and uniprocessor is abbreviated UP.

Table 2.16   HAL Compatibility

Compatibility ACPI PIC ACPI–APIC UP ACPI–APIC MP Non–ACPI UP PIC Non–ACPI APIC UP Non–ACPI APIC MP
ACPI PIC            
ACPI APIC UP          
ACPI APIC MP          
Non-ACPI UP PIC          
Non–ACPI APIC UP          
Non–ACPI APIC MP          

Multiprocessor to uniprocessor
For this process, the image is created on a multiprocessor reference computer. This image can be used on other multiprocessor computers or on uniprocessor computers.

Advantages of multiprocessor to uniprocessor   You can create a single entry in the Sysprep.inf file that then prompts Windows XP Professional to determine, after MiniSetup is complete, if a single processor or multiple processors are running. The correct kernel files are then used.

Disadvantages of multiprocessor to uniprocessor   This process requires that, when you create the reference image, you include each of the Hal.inf files and other related Hal files in the distribution folders.

Important

This image can only be used in one of the following configurations depending on the HAL type you are using:
From an ACPI APIC MP–based reference computer for use on other ACPI APIC MP or ACPI APIC UP–based computers.
From a non–ACPI APIC MP–based reference computer for use on other non–ACPI APIC MP or non–ACPI APIC UP–based computers.
To create a multiprocessor to uniprocessor image

Copy the Hal.inf and associated Hal files to the location you are using for your Plug and Play device drivers in your distribution folders, for example, \$OEM$\$1\Sysprep\Hal.
In Sysprep.inf, add:
[Unattended]
UpdateUPHAL = "hwid,%SystemDrive%\Sysprep\Hal\Hal.inf"
In the preceding example, hwid is either MPS_UP or ACPI APIC_UP.

Install the operating system from the distribution folders to a multiprocessor computer.
Run Sysprep with the Sysprep.inf created in step 2.
Image the computer.
Place the image on comparable destination computers.
Uniprocessor to multiprocessor
For this process, the image is created on a uniprocessor reference computer with an APIC HAL. This image can then be used on computers with compatible hardware and compatible HALs (either APIC UP HALs or APIC MP HALs).

Advantages of uniprocessor to multiprocessor   You do not have to install the Hal files on the computer.

Disadvantages of uniprocessor to multiprocessor   Before the computers can be shipped, the Sysprep.inf file must be replaced depending on the type of computer being shipped: uniprocessor or multiprocessor.

Important

This image can only be used in one of the following configurations, depending on the HAL type you are using:
From an ACPI APIC uniprocessor–based reference computer for use on other ACPI APIC uniprocessor or ACPI APIC multiprocessor–based computers.
From a non–ACPI APIC uniprocessor–based reference computer for use on other non–ACPI APIC uniprocessor or non–ACPI APIC multiprocessor–based computers.
To create the uniprocessor to multiprocessor image

Install the operating system on a uniprocessor computer.
Run Sysprep.
Create the image of the computer.
In Sysprep.inf, add:
[Unattended]
UpdateHAL = "hwid,%windir%\inf\hal.inf"
In the preceding example, hwid is either MPS_MP or ACPI APIC_MP.

Place the image on comparable destination computers.
On multiprocessor computers, use the Sysprep.inf file created in step 4 to replace all previous Sysprep.inf files.
You can use any tools you normally use to manipulate files on the hard disk when creating new computers from an image.

Using Sysprep to Extend Disk Partitions
When installing Windows XP Professional, you might find it necessary to extend the partition of the destination computer. You can use Sysprep with the appropriate entries in the answer file to extend an NTFS partition. You might want to extend an NTFS partition for the following reasons:

To create images that can be extended into larger disk partitions and take advantage of hard disks that might have greater capacity than the original hard disk on the reference computer.
To create images on smaller hard disks.
Review the following steps and choose the method that works best for you, based on the third-party tools that you are using to create an image of the operating system.

Caution

Make sure that you do not accidentally delete the Setupapi.log and Hyberfil.sys files (if applicable) when modifying the image. These files are recreated when the MiniSetup Wizard runs on the destination computer. Deleting these files on an active system can cause the system to function improperly.
When used in an answer file, the ExtendOemPartition key causes Setup to extend the destination partition into any available unpartitioned space that physically follows it on the hard disk.

The values for ExtendOemPartition are 0, 1, and extra size in MB

where:

0 Setup does not extend the partition.
1 Setup extends the partition to fill out the hard disk.
extra size in MB Setup increases the current partition size by this amount.
ExtendOemPartition automatically leaves the last cylinder on the hard disk free to allow dynamic disk support. ExtendOemPartition can be set to a number other than 1 to indicate a specific disk size for extending the hard disk. This is useful if more than one partition is requested on a computer.

Important

Only NTFS partitions can be extended. If the destination partition you plan to extend is FAT or FAT32, run convert.exe /fs:ntfs from the command line before running Sysprep. The file system is converted when the image is applied to the destination computer before the MiniSetup Wizard starts. Setup does not extend FAT16 and FAT32 partitions.
ExtendOemPartition can be used with both the Unattend.txt and Sysprep.inf Setup files.
When used in Sysprep.inf for imaged computers, the destination computer's hard disk must be the same size or larger than the reference computer's hard disk.
To enable the extension, the partition to be extended must have contiguous unpartitioned space available.
To extend a hard disk partition when using a third-party disk-imaging product or a hardware-imaging device that supports the version of NTFS that is used by Windows XP Professional

Create a partition on the reference computer hard disk that is just large enough to install Windows XP Professional with all the components and applications that you intend to add. This helps keep the size of the reference image file to a minimum.
If the destination partition you plan to extend is FAT or FAT32, run convert.exe /fs:ntfs from the command line before running Sysprep. The file system is converted when the image is applied to the destination computer before the MiniSetup Wizard starts.
Note

ConvertNTFS does not work in Sysprep.inf because this is a text mode-only function and Sysprep does not go through text mode.
In the [Unattended] section of Sysprep.inf, include the statement:
ExtendOemPartition = 1

You can also set the additional size in megabytes to extend the partition.

Install Windows XP Professional on the reference computer. Sysprep shuts down the system automatically.
Generate the image.
Place the image on the destination computer where the destination computer has the same size system partition as the reference computer.
Restart the destination computer.
When you place the reference image on a destination computer, drive C is converted to NTFS when the computer starts. The computer then restarts and starts MiniSetup. During MiniSetup, Windows extends drive C to the rest of the unpartitioned space on the hard disk. The destination computer then restarts, and the end user can log on and begin using Windows XP Professional.

The MiniSetup Wizard starts and the partition is extended.

To extend a hard disk partition when using a disk-imaging product that does not support NTFS used by Windows XP Professional

In the [Unattended] section of Sysprep.inf, include the statement:
ExtendOemPartition = 1

Or additional size in megabytes to extend the partition.

Use Cmdlines.txt to convert short file names.
Run Sysprep.
The following actions occur when you restart the destination computer:

The computer initially starts in conversion mode to convert the system partition on the destination computer to NTFS.
The computer automatically restarts.
The MiniSetup Wizard starts, and the partition is extended almost instantaneously.
Installing Windows XP Professional on Nonnetworked Computers
Even if you don't have a network, you can still install Windows XP Professional and various applications on client computers, one computer at a time.

To install Windows XP Professional on nonnetworked computers

Choose a setup method, and then start Setup.
Add custom information and additional files.
Install applications. If you have no applications to install, skip this step.
Important

Each client computer must have a CD-ROM drive.
Choose a setup method and then start Setup
Setup can typically be started from an MS-DOS bootable floppy disk, from a set of Windows XP Professional Setup floppy disks that you can create from the Web, or from the Windows XP Professional operating system CD. Starting from a CD is available only on computers that support the El Torito No Emulation CD boot specification. Choose from the setup methods provided later in this section.

Note

Windows XP Professional Setup floppy disks are not provided with Windows XP Professional. To create a set of bootable floppy disks, access the Microsoft Windows Update Web site and download an application that enables you to create a set of bootable floppy disks. For more information about creating a set of bootable floppy disks, see http://www.microsoft.com.
To install from the Setup floppy disks

Start the computer by using the Windows XP Professional Setup floppy disks.
When Setup is complete, you can add applications and run Sysprep.
For more information about how to install applications, see "Customizing the Installations" earlier in this chapter.

To install from Windows 98, Windows Me, Windows NT Workstation 4.0, or Windows 2000

Start the computer.
From the Start menu, click Run, and then type:
path to distribution folder winnt32 /unattend:Unattend.txt

In the preceding path, Unattend.txt is the answer file that contains answers to installation questions that you want to automate.

When Setup is complete, you can add applications and run Sysprep to prepare for creating an image.
For instructions about how to install applications, see "Adding Applications" earlier in this chapter.

To install by using CD Boot

Start the computer from the Windows XP Professional operating system CD. Setup begins automatically.
When Setup displays the message that it is examining the hardware configuration, insert the floppy disk containing the Winnt.sif file.
When the floppy drive light goes off, remove the floppy disk. Setup begins copying files to the hard disk.
For more information about how to install applications, see "Adding Applications" earlier in this chapter.

Note

The /udf parameter cannot be used with the CD Boot method.
Add customized information and components
During this step, you can add customized information (such as your company's name) and components (such as custom Help files and other documentation).

To add customized information and components

Create a file called Oeminfo.ini and copy it to the %systemroot%\System32 folder. The systemroot folder is usually C:\Windows.
BEETHOBEAR  !!
--------------------------------------------------------

duncanlo

  • SA 苦力組
  • 俺是博士!
  • *****
  • 文章數: 7312
    • 檢視個人資料
請問windows2000的regedit....
« 回覆 #7 於: 2002-06-04 21:44 »
引述: "huckly"

在 2000 的 server 或是 professional 安裝磁片中 tools 目錄下
有個 sysprep.exe
執行他就可以更改安裝序號了


網路上說光碟內的1.0有問題,
到ms抓1.1版的!

huckly

  • 酷!學園 學長們
  • 俺是博士!
  • *****
  • 文章數: 3420
    • 檢視個人資料
    • http://blog.huckly.net
請問windows2000的regedit....
« 回覆 #8 於: 2002-06-05 11:33 »
感謝新任學長 通知
我試過幾次  果然有問題
很抱歉 告訴
Relena 錯誤 訊息
IT doesn't matter

duncanlo

  • SA 苦力組
  • 俺是博士!
  • *****
  • 文章數: 7312
    • 檢視個人資料
請問windows2000的regedit....
« 回覆 #9 於: 2002-06-05 12:13 »
sysprep 1.1+ghost 2002 ==> Good!

duncanlo

  • SA 苦力組
  • 俺是博士!
  • *****
  • 文章數: 7312
    • 檢視個人資料
請問windows2000的regedit....
« 回覆 #10 於: 2002-06-05 12:20 »
忘了告訴你,
不用sysprep也可以!

就是我在"硬體設定檔"那篇有說到,
用光碟開機後先選安裝再選修復,
重開後他也會要求你序入win2k序號,
我試過輸入和你當初安裝時不一樣的可以過!

提供給你參考一下!
不過即然你已經用sysprep作了,
那就...多練習一下好了...

sysprep+ghost的方式比較適合多台同硬體的電腦要作Clone!
因為它可以產生新的sid...

Relena

  • 可愛的小學生
  • *
  • 文章數: 21
    • 檢視個人資料
請問windows2000的regedit....
« 回覆 #11 於: 2002-06-08 18:23 »
嗯!謝謝大家^^