Setting up WTware for capturing the terminal through a fence. Diskless terminals (diskless terminal). PXE - everything is wanted! Mastering multi-targeting by local barriers

Golovna / Korisne PZ

Let's hope that if you try to repeat the author's actions, they can bring you to spend the guarantee of possession and inspire you to get out of the way. The material was induced exclusively with a knowledge-based method. If you choose to do the work described below, it is important to read the article to the end, if only once. The editors of 3DNews do not carry any positive results for any possible clues.

Earlier, we already knew about the process of mass laryngeal at least finished image Hard disk with Windows 7 installed in front of the screen on impersonal machines. We vikoristovuvali mi for tsy vyazku s DRBL and Clonezilla. Key nedolik given approach pogaє vіdsutnostі gnuchkosti, pov'yazanom z vymushennym vymozhennyam vykoristannya konfіguratsії same kolієntskih pc's. Developing the topic of interest, we looked at the creation of a universal PXE resuscitator. What type of PC has to start when starting from the server operational memory live-image of your OS and work with it.

By a similar rank, we can take advantage of the average Windows installation(), mount a shared folder with installation files and run the installer. Pratsyuyut in a similar rank company services Microsoft RIS or WDS Windows presence server. In a small number of client machines, you can get by with cost-free solutions. The butt of the "classic" implementation of such a scheme can be seen. A DHCP/TFTP/SMB server will be enabled on one of the computers running Windows Vista/7.

About the help before the hall was already mentioned in the previous materials. Let's briefly go through them again. First of all, the BIOS of all computers can have some vanity turned on. In another way, all machines need to be united for a certain hour in an isolated local area, a gigabit bag. Obviously, its configuration is responsible for satisfying the needs of 32-bit Windows 7, so the installation of the OS itself is not possible. Ale zagal of descriptions of the pіdіyde і method for Windows Vista. Maybe it's too early to talk about "vіsіmka".

We need the Windows Automated Installation Kit (WAIK) again. Take the ISO image, unpack it, or mount it and install this set of utilities. At the main menu select Microsoft Windows AIK → Deployment Tools Command Prompt. We see a console in front of us, for which we need to send a command:

Copype.cmd x86 C:\WinPE

This command copies to the directory C:\WinPE files needed to create a pre-installation image for 32-bit Windows 7. For a 64-bit version, you need to specify the parameter amd64 deputy x86. Create another folder C:\TFTP\, as if it were the root folder for the TFTP server, and create a directory in it Boot. The rest of the files will be saved. To remove the stench, it is necessary to install the basic wim- Windows image PE and copy their stars.

Imagex /mountrw winpe.wim 1 mount copy mount\Windows\Boot\PXE\*.* C:\TFTP\Boot

Team imagex just unpack files from the wim-image to the mount subfolder. You can edit it, or, for example, add your own, and then repack it into a single archive. We'll do a little later, but for now, close and re-open Deployment Tools Command Prompt, copy one more important file that vіdmontuєmo image.

Copy x86\boot\boot.sdi C:\TFTP\Boot cd /d C:\WinPE imagex /unmount mount

Copy file winpe.wim catalog C:\TFTP\Boot under im'yam boot.wim and let's proceed to the creation of an exciting windows menu(BCD).

Copy winpe.wim C:\TFTP\Boot\boot.wim cd /d C:\TFTP\Boot bcdedit -createstore BCD

In the simplest case, it is enough for us to specify the parameters for the RAM disk.

bcdedit -store BCD -create (ramdiskoptions) /d "Ramdisk options" bcdedit -store BCD -set (ramdiskoptions) ramdisksdidevice boot bcdedit -store BCD -set (ramdiskoptions) ramdisksdipath \boot\boot.sdi bcdedit -store BCD -create "PE Boot Image" /application osloader

Give respect to seeing the rest of the team. New GUID is missing, which one needs to be copied and submitted { guide) commands below.

bcdedit -store BCD -set (guid) systemroot \Windows bcdedit -store BCD -set (guid) detecthal Yes bcdedit -store BCD -set (guid) winpe Yes bcdedit -store BCD -set (guid) osdevice ramdisk=\Boot\boot .wim,(ramdiskoptions) bcdedit -store BCD -set (guid) device ramdisk=\Boot\boot.wim,(ramdiskoptions)

Try a bunch of varto zavantazhitsya z "clean" image of Windows PE. Prote deyaki corrected until the new requirement will be made. First, you may need a driver for the media card or the hard disk controller. In a different way, it would be nasty bulo b robiti automatic connection to the partition folder and then launch the installer. I'm looking forward to seeing the WAIK console and installing a captivating image.

Cd /d C:\WinPE imagex /mountrw winpe.wim 1 mount

To add drivers (for looking at *.inf and supporting files, obviously) the following command is made:

Dism /image:mount /add-driver /driver:Way to folder or inf file

It is also necessary to edit a simple text file [ C:\WinPE\]mount\windows\system32\startnet.cmd. This script is disabled at the start of PE-honed and mounted merezhu folder in the ranks logical drive to start the Windows 7 installer.

Wpeinit net use z:\\192.168.0.51\Win7Install password /user:username z:\setup.exe

192.168.0.51 - the same IP-address of the server, from which the installation is to be fixed. On the new one, you need to copy all the files from the Windows 7 installation image to a folder (in our case, Win7Install) and open access to it. Deputy passwordі username you need to enter a password for that name local koristuvach. You can create a lot of oblique notes on the right. In the end, do not forget to close the wim-file and copy it to the TFTP server directory. The console can be closed.

Imagex /unmounts /commit mount copy winpe.wim C:\TFTP\Boot\boot.wim

Previously, we were already aware of the same file with updates for automating the process of installing that primary customizing Windows 7. Do to this particular type we also have the right to conquer yoga ability. To prepare the file, speed it up faster Windows utility System Image Manager from WAIK. After starting, select File → New answer file in the menu, then prompt to select the installation image of the system. Vіn be found in the catalog sources, the zvіdki will be needed to install the OS (in our butt Win7install/sources) - select file with extensions clg and your edition of the OS as a name (for example, install_Windows 7 PROFESSIONAL.clg).

AT Windows panels Image - component tree, which can be configured. To do this, click on any of them with the right mouse button and in the splicing menu, select the Add Setting to Pass * item - you will appear in the Answer File panel, so you can edit different parameters. For example, add ob_kov_ records, break the discs, install the update too soon. We will not report back to the information file - all the necessary information can be taken from Merezh or with advice. The finished file needs to be saved in the same installation directory sources under im'yam autounattend.xml.

Zovsim got a lot of money. It is necessary to configure DHCP and TFTP. In principle, you can win practically whether you are a program to implement these servers. We are quick for the butt universal utility Serva32/64. After starting the program, click on the Settings button, go to the DHCP tab and tick the DHCP server item. Below, click on Bind DHCP to this address and in the list select the IP address of the network interface on which the server will work. Naturally, addresses can be static and remotely given.

In the IP Pool 1 st addr field, it is possible to specify the IP address range address, and in the Pool size - the number of DHCP clients. Don't forget to enter the Subnet mask. Nareshti, the Boot File seems to have a different path to the PXE-enabled file. Our vipad can have buti pxeboot.com or pxeboot.n12. At the first stage, to start the venture, you will be prompted to press the F12 key, otherwise the launch from local networks will be continued. If F12 is daily, then you need to enter another zavantazhuvach (maybe you can change yoga to pxeboot.com).


On the TFTP tab, the TFTP Server and Bind TFTP to this address checkboxes are similarly enabled, the root folder of the server is indicated (we have C:\TFTP) the Option negotiation option is enabled, and PXE Compatibility is disabled. Everything is now pressed OK, having saved it by ourselves, and the utility is restarted. Flip the firewall so it doesn't block ports (UDP 67-69). You can try zavantazhitsya as much as possible on one of the client machines. To identify problems, use the logs that Serva generates. Everything is ready, the Windows 7 installer will automatically start, a little further away from the robot, it doesn’t interfere with anything that comes with USB / DVD / HDD.


Axis, vlasne, everything. Mi rozіbrali dosit simple butt fencing installation Windows 7. How can yoga be improved? Well, better, you can add additional options at zavantazhuvach Windows, shob vin for zamovchuvannyam zavantazhuvavsya s local noses, and not through the mesh. In a different way, syslinux zavantazhuvach, about which it was said the past time, you can calmly tweak with the Serva32 / 64 utility. Configuration file format ( pxelinux.cfg/default) the same one. Thirdly, don't make the Windows update file more viable and automatic Windows installation. Zagalom є kudi dig. Ale ce mi is enough for an independent wedding and in parting, traditionally, good luck with the merging experiments.

You can place the files in a folder on another computer, after which you can start the PC with the files. Bring pratsyuvati, ale tse simpler, lower zavantazhennya from the disk.

For the cob, you need a working computer from access to the Internet. Install package automatic installation Windows (Windows Automated Installation Kit (WAIK)), which can be purchased free of charge from http://go.microsoft.com/fwlink/?LinkId=136976. From the Start menu, open Command Utilities Windows rows PE (Windows PE Tools Command Prompt) and so you install 32-bit Windows version 7, dial

  • copype.cmd x8b C:\output

or, for 64-bit (x64) version,

  • copype.cmd amd64 C:\output

and press Enter. Batch file to automatically create foot C:\output. After copying the files, type the following command to add the Windows Preinstallation Environment (PE) Utility image:

  • imagex /mountrw C:\output\winpe.wiro 1 C:\output\mount

Next, open Windows Explorer and create a folder in the middle of c:\output and name it boot Copy all files from C:\output\mount\Windows\Boot\PXE new folder C:\output\boot. Next, see the Windows PE image:

  • imagex /unmount C:\output\mount

Copy the boot.sdi file from the WAIK installation folder to the C:\output\boot folder. If you are installing the 32-bit version of Windows 7, get boot.sdi from C:\Program Files\Windows AIK\Tools\PETools\x86\boot, or if you are installing the 64-bit (x64) version, then get it from C:\Program Files\Windows AIK\Tools\PETools\amd64\boot.

Return to the window command line And copy the winpe.wim file to the boot folder, renaming it to boot.wim:

see C:\output\winpe.wim c:\output\boot\boot.wim

If you need to enter more commands to create a Boot Configuration Data (BCD) file, then bcdedit.exe, the same utility, as well as to create a boot configuration data file (BCD). Simply download makebcd.bat from http://files.creativelement.com/annoyances/makebcd.bat and run it on your PC. To copy and paste the GUID, right-click on any area of ​​the command row window, select Mark (Mark), see the text in the curved arms, swipe over the command, then press Enter to copy the text. Right-click again on the mouse, select Paste to paste the text, and press Enter to continue. Yakshcho everything is good, a message will appear Operation successfully vikonana (The operation completed successfully).

The last step is to install the Trivial File Transfer Protocol (TFTP) server program, for example Tftp32, so that the computer can instantly connect to a working PC to retrieve files. Install Tftp32 and run tftpd32.exe. Click Browse, select the C:/output folder and click OK to install the Current Directory. Next, select the tab DHCP server (DHCP server), click Help (Help) and fill in the fields to access the prompts. In the Boot file field, type boot. sdi. After that press Save.

After setting up the PXE server, it is necessary to activate the PXE capture measure custom BIOS your PC. You need the hostname and IP address of the computer that is the PXE server.

AOMEI PXE Boot is a free software for booting computers from ISO by local lines. Being more forgiving of the wiki, this program allows you to capture a custom disk image (ISO) for remote capture of a number of computers, mind you, that they are connected to one local media. To rob AOMEI PXE Boot with a superbly brown tool for such tasks, as in the future, the development of support and supplements, especially at enterprises.

It's easy to install AOMEI PXE Boot: you install the program on the system, how to win as a server, mount ISO and check for client machines. The first part of the story is that AOMEI PXE Boot supports synchronously occupied a number of computers at the same time. Let's find out more about this wonderful program, and I'm sure that you can beat it to capture computers from ISO on a local network.

AOMEI PXE Boot: the main recognition and a few words about Windows PE

It is important to note that AOMEI PXE Boot is the first choice for troubleshooting problems with computers in the area. You can hack a program to capture a system that is not functioning in an obscured environment. For those who want AOMEI PXE Boot, it is best to use Linux enchanting disk images, or Windows PE. The rest is an operating system with intermediary services, as a victory for zavantazhennya computer at the same time as the installation center. Based on the Vista kernel, Windows PE is not a complete operating system. Natomista won't give a safe medium for fixing malfunctions from the computer and I will become a worker.

There are no occasions to consider that AOMEI PXE Boot will not work with any other disk rank. In the next hour of testing, I noticed that it was far away to take advantage of the Damn Small Linux (DSL) client system, vicory, and take advantage of the ISO image.

How to take advantage of computers for ISO help by local measure

Now, if you know about AOMEI PXE Boot, finish it off, the time has come to talk, how does this thing work. Process, vlasne, and two stages. The first part includes setting up a client computer to get started as much as possible, and the other part consists of setting up and running the program on the system that runs the server.

Catch the respect that offending computers can be connected to one line. In my opinion, the server was connected to the network with a droto-free channel, but the client's machine was connected by a wire.

Part 1: Setting up the client computer(s) for the acquisition.

How do I pass the name, first, what is necessary to work, to fix the client computer or computers for entrapment through I will carry out a merezha. To make sure, you need to take access to BIOS menu computer. Below you can find out about those how to grow (the process is more or less the same, regardless of the computer’s picker):

1. Open the client computer and press to navigate to the BIOS menu (typically Del, Esc, F8 or F12). In the BIOS, go to the "Boot" submenu and select "PXE" in the "Boot Options Priorities" section (on current computers "Legacy LAN", "Realtek PXE B02 D00", "Network boot from Intel" or so) as the first advanced add-on . You may also need to enable the PXE ROM option, as it is disabled.

2. AOMEI PXE Boot only supports Legacy capture mode, so you also need to enable the UEFI Boot option, as it will not support motherboard computer. This option can be found in the Boot submenu.

All that is necessary to work on client computer. Don't forget to save the changes made before the BIOS configuration. Now let's move on to the server.

Part 2: Obtaining an ISO and running the program on a server computer

This part is really simple. For starters, download and install AOMEI PXE Boot (about 5 MB) on a computer that will serve as a server. Krim tsgogo, you are also responsible for capturing a disk image for capturing a client computer or a computer. See below for an explanation of what you need:

1. Open AOMEI PXE Boot. On the first screen of the program, select the Boot from custom image file option and go to your ISO file (you can also select another option for Windows takeover PE or Linux ISO from the AOMEI website if you want). Once the image is selected, press the "Start Service" button to start the service.

2. Now AOMEI PXE Boot displays information about the activity that is on the server and client computers. No more work is needed on the server. Sobachit real diї, move far away. І, zrozumіlo, addendum і, obviously, the server, due to running.

You have to start the client computer and check in, while the wines are occupied as much as possible, with the ISO-image, which you request through AOMEI PXE Boot on the server computer. The axis will be replaced by a working distribution of Damn Small Linux, which works on the client computer:

Closing words

As an administrator of the merezhі, and just joke and efficient way(and without overheads) for remote development and management of the AOMEI PXE Boot OS, you can use the same as you need. Tse yakіsny іnstrument, which is ridiculously simple at the nailed and working perfectly good.

Have a wonderful day!

Technology PXE rely on standard protocols, including TCP/IP and Dynamic Host Configuration Protocol.

It’s a good reason for someone from the IT service providers or the HelpDesk corporate service to have installed disks for software products, as well as disks with diagnostic tools and drivers, and go to the problematic PC.

Three folds corporate funds it was found and the rozvyazannya of this task. In the middle of the 90s, the Intel rock, a number of other manufacturers of hardware technology software, began to promote the specifications, created on the basis of recognized standards, which took away the name of Wired for Management (WfM).

These specifications, directed at lowering the total number of vacancies, allowed system administrators to get to the PC for monitoring, updating and configuring, and standardizing communication software security and additions remote care. Need for standardization hardware security(including microcircuits, BIOS, memory, life-cycle and wired boards) in coristuvac PCs. Specification WfM supports a wide range of mesh technologies for PCs, including the Desktop Management Interface, remote launch (also called launch by local or service costs) and Preboot Execution Environment(PXE).

PXE turns us back to that hour, if not all computers have small internal hard disks. As a rule, PXE transmits computer information from firmware, that is, from memory that is available only for reading, or from a ROM chip, and not from a magnetic carrier. Engagement with microprograms allows you to get rid of problems that cause problems with electromechanical attachments (physical disk), which makes it more stressful, allows you to pardon the disk reading and speed up the acquisition process. In addition, PXE can be used to capture a computer through a mesh.

Regardless of the fact that WfM has been driven by new standards for management, such as Intel Active Management Technology, the ability to support PXE, merezhevі administrators like before, vvazhayut more brown.

PXE technology is recognized for automated remote care Koristuvalny PCs and working stations. It relies on standard internet protocols, TCP/IP and Dynamic Host Configuration Protocol (DHCP). Computers that support PXE may sound the circuit board, as it is left active and connected to the local network only, if the life of the PC itself is disabled. This board looks at the traffic of the local network at the request of a special sequence of data - a unique address for the PC access control to the carrier, repeated six times. If lace board otrimu tsey "charіvniy package", won't turn on the PC. To do this, it turned out that the support for launching a local network must be activated in the BIOS of this PC. Launching a local network in some old PCs may not be supported, shards of wine will help electrical connection between the mesh and system boards - the hardware is powerful, as it cannot be beaten by one more BIOS update. However, the majority of corporate PCs are able to support hardware security.

As soon as the local PC is connected, the motherboard is activated and the configuration is changed. In order to be able to use PXE, you need a decent server infrastructure. If the PXE client is enabled, then so be it. First, the client accepts an IP address like a DHCP server. Unfortunately, PXE requires the presence of such functions, which may not work on all DHCP servers, so more software, as it supports PXE, also includes a DHCP intermediary service. This intermediary service does not assign IP addresses without intermediary, but allows DHCP to be used.

After connecting to the DHCP server, the system determines the location of the PXE capture server, which sends the necessary files to you. The DHCP server will hand over the file to the file, and the PC will then hand over it from the Trivial File Transfer Protocol (TFTP) server.

As soon as PXE is activated (to start, if the PC is captured), on the screen there is a prompt that prompts you to choose: enable PXE or continue the normal sequence of capture from the local hard drive chi optical wear. PXE propagates a list of investment options, which may include various instrumental tips and tricks for diagnostics, which are used for such operations, like scanning for viruses, rechecking the integrity hard drives, inventory of the installed software, update drivers or install a completely new one operating system on PC. Everything can be done remotely and basically automatic mode practically unimaginably vykonannya yakihos diy manually.

The PXE technology transfers the fascination of a computer with microprograms, that is, from memory, available only for reading, or from a ROM chip, and not from a magnetic carrier. Tse speed up the process of zavantazhennya, zbіshuє yogo nadіynіst that allows zdіysnyuvati її through the mesh.

  1. Merezhna fee for listening to local traffic
  2. Merezhna fee fixes in data the "magic package" that is transmitted, and serves food on the PC through the power socket on the system board
  3. PXE client asks for DHCP IP address or proxy server
  4. DHCP transfers the name of the capture file
  5. PXE download file from capture server
  6. The PXE client grabs a file from a TFTP server. The PXE client checks for capture from the captured file

In this article, the methods of capturing a computer through a network of different images of floppy disks / HDD disks are published (it is possible to use a different image of diskettes / HDD disks 1.44 Mb). Tse mozhe zadobitisya for the presence under the hand of another investigative wear, or for the sake of exploitation in the singing minds. If the methods have been successfully tested at least once in a real situation, and if you know otherwise, then submit your options to the site administrator. As you know how to use the best methods, give your options to the authors of the methods or publish them.

Method 1: Thinstation and RIS server

I present an article about the venture through a network, as if writing a participant in the OSZone conference.

Peredmova

Vinikla I have such a situation. They brought a computer, the ice is alive, Asus S200, that little thing seems to be a good thing. The disc was split according to the literate (two splits), and on the other Windows distribution, Zavdyaki in front of the front, having eased the task.

Also, maybe a computer without a flop CDROM. Є mesh card SIS900. The BIOS has the ability to take advantage of HDD, USB Floppy, USB Flash, USB CDROM and as much as possible.

At the time of the cob of torment, there was only a flash drive from him, but he was eager to get out of it. Distant USB CD or Floppy did not go far. There was no more merezhne zavantazhennya. To the point, as it turned out, it really helped the USB flop. USB CD not recognized.

Reading the MS docks and forums from autoinstallation, having come across the fast RIS and the riddle about those who can get involved with the merging card and install everything. From i virishiv reverify. Having put RIS, having created an image, having configured DHCP and otrimav majestic bummer. The system was deftly zavantazhuvalas, went through the text part of the installation, and it got into the BSOD with the code 0x000000BB. Vіdpovіdno to tlumachennyh, naydenih on the Internet, for the correction you need nothing, replace the driver of the merging card in the distribution kit or replace merezhu card. zavantazhiv new version drivers, after reading KB315279 and asking for it, having done everything as described, and dancing with a tambourine ended with a BSOD with the same code.

Garazd, so as not to jump out, let's read the instructions. Vyvchav, vivchav that having spent on mozhlivist vikoristannya is practical, whether it be an image of a disk for entanglement through a mesh.

What do you need

  • Utility for creating interesting lace patterns from the most beautiful ones. Zavantazhuemo
  • perl. Let's get excited. (This version worked for me, otherwise try it yourself, I'm not grave in Perl)
  • Notepad from standard Windows or any other ASCII editor
  • thinstation. , file (8.86 Mb)
  • Installation disk with Windows 2000 Server
  • Straighten your arms, bajanna learn :)

Let's start

Krok 1

Zavantazhuyemo and unpacking the transformation utility. For clarity, in D: BootDisk.

Krok 2

Zavantazhuєmo and install Perl.

Krok 3

Create an image of a floppy disk or vikoristovuemo ready image.

  • If the image of the capture floppy is not a file, then we insert the capture floppy from MS-DOS and the D:\BootDisk\MKIMAGE.BAT DOS command is iconized. Standard 1.44 Mb drives are supported.
  • As an image already, modifikuєmo the creation file of the exciting image.
    1. Open notepad and copy / write down the next code
      @echo off
      cd mknbi-1.4.1-win
      perl.exe mknbi.pl --nosquash --format=nbi --target=dos ..\image.dos >..\dos.bin
      rem If you want universality, then comment on the top row (add REM)
      rem and comment out the lower one (we can see REM) (launching MKIMAGE2 image_name_with_extension)
      rem perl.exe mknbi.pl --nosquash --format=nbi --target=dos ..\%1 >..\dos.bin
      cd.
      :end
      Save yogo pid im'yam MKIMAGE2.BAT
    2. Copy the floppy image to D:\BootDisk\image.dos
    3. Run file MKIMAGE2.BAT

Krok 4

Ochіkuєmo completed robotic batch file. Verify that rozmir dos.bin more space image.dos approximately 4 kb.

Krok 5

Unpacking the station. From the archive we need the file TFtpdRoot\ thinstation.nbi.zpxe. Copy yoga to D: BootDisk with names dos.bin.zpxe. Tse zavantazhuvach PXE.

Krok 6

Nalashtovuєmo DHCP (for example, nalashtovany, then go to crocodile 7). I have a Win 2000 Server so I can describe it for a new one.

If DHCP is not set, then you need to set it back. ( Panel keruvannya> - Installed Remote Program- , then see Merezhev services, stock and check the box DHCP).

DHCP is enabled. Control panel - Administration, start DCHP equipment. Selectable DHCP server what mi want to nalashtovuvati. Potim z context menu collectable Create an area. At the master, who has appeared, enter the name of the region and comment. Let's make sense of the names, so that through the birth of a rock, another admin or yourself will be picked up. Let's enter a mailbox and a mailbox address, if you want to give it out via DHCP. The maximum capacity to deposit is for the number of cars that are installed at once. If in the range the address used static addresses, you can enter it on the next side to the list of excluded ones. Dali to your thought. After creating an area in the section Area settings, you need to configure the settings 066 server IPі 067 Name of the file for the thrill. U parameter 067 write it down dos.bin.zpxe.

Krok 7

Install and configure RIS

Control panel - Installed Remote Program - Adding that remote Windows component, check the box Remote Entry Service. After the installation is completed, let's go to Administration - Services and start the service Forgiveness FTP daemon.

Krok 8

Copy to C:\tftpdroot files dos.bin.zpxeі dos.bin.

Krok 9

Installed on the computer twill adapter via PXE and try to get involved.
If everything is fine, then on the computer DHCP servers, then the capturer will show what is assigned to the IP address, and the capture of the image has gone.

Zagalnі primіtki

To edit/create a floppy image, you can tweak WinImage, plug-in to Total Commander

© 2022 androidas.ru - All about Android