Как изменить значения реестра Windows PE из Windows PE

1567
Fabian

У меня есть образ Windows PE (Win7), который я могу загрузить, но имя хоста устанавливается случайным образом. Я знаю, что могу изменить это поведение, установив следующие ключи реестра:

SOFTWARE\ControlSet001\Control\ComputerName\ComputerName\ComputerName = computername 

а также

SYSTEM\Microsoft\Windows NT\CurrentVersion\WinPE\SetComputerName = 0 

Это работает, если я смонтировать образ WIM на втором компьютере, смонтировать ульи, отредактировать ключи и снова размонтировать все, а затем применить файл WIM.

Но мне нужно внести эти изменения в работающий экземпляр Windows PE. Я уже пытался смонтировать ульи там, но это работает только для куста СИСТЕМЫ, а не улья ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ.

1

1 ответ на вопрос

1
harrymc

You could try PE Network Configurator :

PE Network Configurator or PENetCfg is a stand-alone utility that allows you to start and configure networking in Microsoft WinPE and BartPE.

With PENetCfg you can do the following:

  • Enable and start networking support if it's not started yet.
  • List all Ethernet adapters on the running machine and set TCP/IP properties (IP Addresses, Default Gateways, DNS Servers, WINS Servers
    • any number of them) and switch between using static and dynamic (DHCP) TCP/IP settings at any time.
  • Select Link Speed/Duplex Mode of a broad range of Ethernet adapters.
  • Add any Domain, workgroup, or Server to browse its resources and map and disconnect network drives.
  • Change computer name and join workgroup.
  • Release and renew the IP address of any Ethernet adapter.
  • Change the MAC address of any Ethernet adapter on the fly.
  • Use network profiles to automate configuring network settings. For more information about using the network profiles, see the included readme.txt in the downloaded package.

The computer name can be preset in the file PNETCFG.INI under [NetID]. For example :

[NetID] ComputerName=the-name Workgroup=workgroup 

I have never used this application and cannot guarantee that it still works with the latest Windows builds.

Похожие вопросы