Настройка tftp сервера на windows server 2008 r2

Как и в Windows Server 2003, в Windows Server 2008 R2 сервер TFTP используется как часть Windows Deployments Services для загрузки установоч...

Как и в Windows Server 2003, в Windows Server 2008 R2 сервер TFTP используется как часть Windows Deployments Services для загрузки установочных образов Windows по сети. Однако, в ряде случаев, TFTP сервер может понадобиться для задач, не имеющих отношения к WDS. Каким образом можно установить и настроить сервер TFTP?

Для установки TFTP требуется запустить Server Manager и добавить новую роль Windows Deployment Services. На этапе выбора компонентов нужно выбрать Transport Server.

После завершения установки требуется создать на диске папку, которая будет являться корневой для TFTP сервера (например, «C:TFTPRoot«).

В реестре в ветке HKLMSYSTEMCurrentControlSetservicesWDSServerProvidersWDSTFTP требуется создать новый параметр RootFolder типа String и указать в качестве значения путь к ранее созданной папке.

Также следует обратить внимание на параметр реестра ReadFilter, который по умолчанию разрешает загрузку файлов только из папок «boot» и «tmp«. Если требуется загрузка файлов из других каталогов или корня, измените значение данного параметра (например, на ‘*‘).

Теперь запустите службу WDS:
WDSUTIL /Start-TransportServer

Не забудьте перевести службу Windows Deployment Services в режим автоматического запуска (например, с помощью оснастки «Службы» services.msc), чтобы не запускать ее вручную при каждой загрузке сервера.

Проверьте, что в брандмауэре Windows созданы необходимые правила для работы TFTP.

На этом настройка TFTP сервера завершена.

  • Remove From My Forums
  • Question

  • Hi,

    Can anyone please let me know, how to install TFTP Server in Windows 2008 R2.

    I installed Windows Deployment Service to get TFTP (got this info in some forum), but I did not see TFTP Service in the Service Manager.

    I am a newbie so plz let me know the steps in details.

    Thanks in advance.

Answers

  • Hi,

    The Trivial File Transfer Protocol (TFTP) client allows the transfer of files using the TFTP protocol between a TFTP client and a TFTP server. The TFTP protocol is implemented using the User Datagram
    Protocol (UDP) to send and receive data. The TFTP protocol implements its own reliability scheme using UDP.

    The TFTP protocol does not support any authentication or encryption mechanism, and as such can introduce a security risk when present. Installing the TFTP client is not recommended for systems that access the Internet.

    The TFTP client is optional software, and marked as deprecated on Windows Vista® and later versions of the Windows operating system.A TFTP server is no longer provided by Microsoft for similar security issues.

    You could install TFTP client under the Features Tab under the server manager.

    Regards,
    James


    James Xiong

    TechNet Community Support

    • Marked as answer by

      Tuesday, March 27, 2012 1:43 AM

  • WDS includes a simple TFTP server, but it’s hosted in the same svchost.exe process as the rest of WDS so you won’t see a separate service listed just for TFTP.

    If you just need a TFTP server and not the rest of the functionality that WDS provides you might consider just installing the WDS transport server role, which won’t install quite as much of the other parts of WDS.

    There’s a small amount of documentation on how to do this, written more from the perspective of using transport server to PXE boot, located here:

    http://technet.microsoft.com/en-us/library/dd348475(v=ws.10).aspx#boot

    In particular, make sure you configure the registry key HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesWDSServerProvidersWDSTFTPRootFolder to the root directory that you want to be accessible via TFTP.

    Also note that the TFTP server that ships with WDS only supports read operations, and not write operations.

    • Marked as answer by
      James Xiong
      Tuesday, March 27, 2012 1:44 AM

  • James, WDS ships with a TFTP server as part of the suite of services that are required to boot from the network. The information you’ve posted above is not correct.

    Hi Aaron,

    Thanks for your clarification. Towards the WDS TFTP Server, we could find the following statement below:

    You use the Windows Deployment Services Trivial File Transfer Protocol (TFTP) server to download the files that are needed to do a network boot using the Pre-Boot Execution Environment (PXE).

    From:
    WDS TFTP Server

    I understand that the we could select Deployment Server and Transport Server during the WDS setup processing. However, neoraghav would like to install TFTP server from the Server Manger towards the Windows Server 2008 R2. I noticed the statement as followed:

    The TFTP client is optional software, and marked as deprecated on Windows Vista® and later versions of the Windows operating system. A TFTP server is no longer provided by Microsoft for similar security issues.

    From:
    Trivial File Transfer Protocol (TFTP) Overview

    I should make my reply as clear as possible. Sorry for confusion. :-(

    Regards,

    James


    James Xiong

    TechNet Community Support

    • Marked as answer by
      James Xiong
      Tuesday, March 27, 2012 1:44 AM

  • The TFTP server included with WDS is not a fully function TFTP server. In particular, it doesn’t support write requests (WRQ), as this isn’t needed to support PXE boot.

    • Marked as answer by
      James Xiong
      Tuesday, May 22, 2012 1:16 AM

Barvinok

Сообщения: 572
Зарегистрирован: Вт ноя 30, 2004 4:06 pm
Откуда: Ростов-на-Дону
Контактная информация:

Demon

Сообщения: 17
Зарегистрирован: Чт мар 15, 2012 4:51 pm

Re: windows 2008 server tftp сервер

Сообщение

Demon » Пн мар 19, 2012 12:36 pm

не надо ниче ставить стороннего.
Снесите службы развертывания, удалите ваш сервер из авторизированных на DHCP сервере. Далее заново устанавливаете службы развертывания только с 1 компонентом транспортный сервер (сервер развертывания не устанавливать !). После установки заходите в HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesWDSServerProvidersWDSTFTP и создаете параметр типа string c названием RootFolder, в нем указываете путь к папке где лежат образы (это будет корневой директорией tftp сервера). И значение параметра ReadFilter меняете на *. Ну и напоследок запускаете службу Сервер служб развертывания Windows (ставите ей автостарт). Да и проверьте что в фаерволе создались правила для служб развертывания Windows.
после всего надо перезагрузиться и всё будет!

anado

Сообщения: 1
Зарегистрирован: Ср мар 21, 2012 8:18 am

Re: windows 2008 server tftp сервер

Сообщение

anado » Ср мар 21, 2012 8:41 am

aka писал(а):Поставить втварь из exe дистрибутива — тогда будет работать наш tftp.

после такой операции ни tftp dhcp — не настроены. Хотя обычные ПК IP получают и терминал с флешки грузится, а вот если указать что бы терминал брал сетевые настройки с DHCP иили брать конфигурацию с TFTP — то не грузится.

Dim-soft

Сообщения: 494
Зарегистрирован: Пт янв 13, 2006 9:57 am

Re: windows 2008 server tftp сервер

Сообщение

Dim-soft » Пт май 04, 2012 6:01 am

tftp от 2008 R2 лучше чем от wtware ?
у меня сама wtware грузиться, а если пробую грузить файлы больше 100мб — не грузиться до конца, пишет много ошибок
меняю на tftpd32 — все ОК

aka

Разработчик
Разработчик
Сообщения: 11521
Зарегистрирован: Ср окт 01, 2003 12:06 am
Откуда: Роcсия, Тольятти
Контактная информация:

Re: windows 2008 server tftp сервер

Сообщение

aka » Пт май 04, 2012 11:40 am

Может быть лучше. Мы наш tftp только на загрузке втвари проверяли, а в втвари нету файлов больше 100мб.

aka

Разработчик
Разработчик
Сообщения: 11521
Зарегистрирован: Ср окт 01, 2003 12:06 am
Откуда: Роcсия, Тольятти
Контактная информация:

Re: windows 2008 server tftp сервер

Сообщение

aka » Пт май 04, 2012 7:50 pm

Лучше скачать втварь в .zip и конфиги по папкам разложить. И конфигуратор работать не будет. Тебе наш tftp только стомегабайтными файлами не нравится?

Dim-soft

Сообщения: 494
Зарегистрирован: Пт янв 13, 2006 9:57 am

Re: windows 2008 server tftp сервер

Сообщение

Dim-soft » Пн май 07, 2012 7:12 am

aka писал(а):Тебе наш tftp только стомегабайтными файлами не нравится?

да, всем устраивает, но стал прикручивать загрузку winpe по сети для целей ремонта (не весь парк — тонкие клиенты, 20% windows) и столкнулся с такой проблемой. Пока решаю резервацией в DHCP и загрузкой с соседнего сервера, но хотелось бы просто зажать shift и выбрать нужный пункт в pxe.cfg.

aka

Разработчик
Разработчик
Сообщения: 11521
Зарегистрирован: Ср окт 01, 2003 12:06 am
Откуда: Роcсия, Тольятти
Контактная информация:

Re: windows 2008 server tftp сервер

Сообщение

aka » Ср май 16, 2012 4:01 pm

Ошибка при передаче больших файлов вылезла у нашего TFTP при передаче нашего пакета гуглхрома. Найдено, починено, проверено на передаче дистрибутива втвари размером 108МБ.

Dim-soft

Сообщения: 494
Зарегистрирован: Пт янв 13, 2006 9:57 am

Re: windows 2008 server tftp сервер

Сообщение

Dim-soft » Чт май 17, 2012 11:09 am

aka писал(а):Ошибка при передаче больших файлов вылезла у нашего TFTP при передаче нашего пакета гуглхрома. Найдено, починено, проверено на передаче дистрибутива втвари размером 108МБ.

на 5.1.11 на пробу сумел запустить 600мб iso от ubunta ;) с tftp все ок.

Doc

Сообщения: 2
Зарегистрирован: Вт июн 03, 2014 12:47 pm

Re: windows 2008 server tftp сервер

Сообщение

Doc » Вт июн 03, 2014 12:51 pm

Добрый день, понимаю что тем стара но все таки не подскажите как сделать так чтобы в виндово tftp можно было писать.
по дефолту как я понимаю он только на чтение

Doc

Сообщения: 2
Зарегистрирован: Вт июн 03, 2014 12:47 pm

Re: windows 2008 server tftp сервер

Сообщение

Doc » Вт июн 03, 2014 7:55 pm

просто хочу настроить CISCO в автоматическом режиме скидывать туда конфиги, и нехочу городить оделенный сервак под это когда уже есть с поднятым ftftp

aka

Разработчик
Разработчик
Сообщения: 11521
Зарегистрирован: Ср окт 01, 2003 12:06 am
Откуда: Роcсия, Тольятти
Контактная информация:

Re: windows 2008 server tftp сервер

Сообщение

aka » Вт июн 10, 2014 5:52 pm

На наш TFTP нельзя писать. В протоколе TFTP нет никаких механизмов авторизации. Небезопасно.

  • Remove From My Forums
  • Question

  • Hi,

    Can anyone please let me know, how to install TFTP Server in Windows 2008 R2.

    I installed Windows Deployment Service to get TFTP (got this info in some forum), but I did not see TFTP Service in the Service Manager.

    I am a newbie so plz let me know the steps in details.

    Thanks in advance.

Answers

  • Hi,

    The Trivial File Transfer Protocol (TFTP) client allows the transfer of files using the TFTP protocol between a TFTP client and a TFTP server. The TFTP protocol is implemented using the User Datagram
    Protocol (UDP) to send and receive data. The TFTP protocol implements its own reliability scheme using UDP.

    The TFTP protocol does not support any authentication or encryption mechanism, and as such can introduce a security risk when present. Installing the TFTP client is not recommended for systems that access the Internet.

    The TFTP client is optional software, and marked as deprecated on Windows Vista® and later versions of the Windows operating system.A TFTP server is no longer provided by Microsoft for similar security issues.

    You could install TFTP client under the Features Tab under the server manager.

    Regards,
    James


    James Xiong

    TechNet Community Support

    • Marked as answer by

      Tuesday, March 27, 2012 1:43 AM

  • WDS includes a simple TFTP server, but it’s hosted in the same svchost.exe process as the rest of WDS so you won’t see a separate service listed just for TFTP.

    If you just need a TFTP server and not the rest of the functionality that WDS provides you might consider just installing the WDS transport server role, which won’t install quite as much of the other parts of WDS.

    There’s a small amount of documentation on how to do this, written more from the perspective of using transport server to PXE boot, located here:

    http://technet.microsoft.com/en-us/library/dd348475(v=ws.10).aspx#boot

    In particular, make sure you configure the registry key HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesWDSServerProvidersWDSTFTPRootFolder to the root directory that you want to be accessible via TFTP.

    Also note that the TFTP server that ships with WDS only supports read operations, and not write operations.

    • Marked as answer by
      James Xiong
      Tuesday, March 27, 2012 1:44 AM

  • James, WDS ships with a TFTP server as part of the suite of services that are required to boot from the network. The information you’ve posted above is not correct.

    Hi Aaron,

    Thanks for your clarification. Towards the WDS TFTP Server, we could find the following statement below:

    You use the Windows Deployment Services Trivial File Transfer Protocol (TFTP) server to download the files that are needed to do a network boot using the Pre-Boot Execution Environment (PXE).

    From:
    WDS TFTP Server

    I understand that the we could select Deployment Server and Transport Server during the WDS setup processing. However, neoraghav would like to install TFTP server from the Server Manger towards the Windows Server 2008 R2. I noticed the statement as followed:

    The TFTP client is optional software, and marked as deprecated on Windows Vista® and later versions of the Windows operating system. A TFTP server is no longer provided by Microsoft for similar security issues.

    From:
    Trivial File Transfer Protocol (TFTP) Overview

    I should make my reply as clear as possible. Sorry for confusion. :-(

    Regards,

    James


    James Xiong

    TechNet Community Support

    • Marked as answer by
      James Xiong
      Tuesday, March 27, 2012 1:44 AM

  • The TFTP server included with WDS is not a fully function TFTP server. In particular, it doesn’t support write requests (WRQ), as this isn’t needed to support PXE boot.

    • Marked as answer by
      James Xiong
      Tuesday, May 22, 2012 1:16 AM

  • Remove From My Forums
  • Question

  • Hi,

    Can anyone please let me know, how to install TFTP Server in Windows 2008 R2.

    I installed Windows Deployment Service to get TFTP (got this info in some forum), but I did not see TFTP Service in the Service Manager.

    I am a newbie so plz let me know the steps in details.

    Thanks in advance.

Answers

  • Hi,

    The Trivial File Transfer Protocol (TFTP) client allows the transfer of files using the TFTP protocol between a TFTP client and a TFTP server. The TFTP protocol is implemented using the User Datagram
    Protocol (UDP) to send and receive data. The TFTP protocol implements its own reliability scheme using UDP.

    The TFTP protocol does not support any authentication or encryption mechanism, and as such can introduce a security risk when present. Installing the TFTP client is not recommended for systems that access the Internet.

    The TFTP client is optional software, and marked as deprecated on Windows Vista® and later versions of the Windows operating system.A TFTP server is no longer provided by Microsoft for similar security issues.

    You could install TFTP client under the Features Tab under the server manager.

    Regards,
    James


    James Xiong

    TechNet Community Support

    • Marked as answer by

      Tuesday, March 27, 2012 1:43 AM

  • WDS includes a simple TFTP server, but it’s hosted in the same svchost.exe process as the rest of WDS so you won’t see a separate service listed just for TFTP.

    If you just need a TFTP server and not the rest of the functionality that WDS provides you might consider just installing the WDS transport server role, which won’t install quite as much of the other parts of WDS.

    There’s a small amount of documentation on how to do this, written more from the perspective of using transport server to PXE boot, located here:

    http://technet.microsoft.com/en-us/library/dd348475(v=ws.10).aspx#boot

    In particular, make sure you configure the registry key HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesWDSServerProvidersWDSTFTPRootFolder to the root directory that you want to be accessible via TFTP.

    Also note that the TFTP server that ships with WDS only supports read operations, and not write operations.

    • Marked as answer by
      James Xiong
      Tuesday, March 27, 2012 1:44 AM

  • James, WDS ships with a TFTP server as part of the suite of services that are required to boot from the network. The information you’ve posted above is not correct.

    Hi Aaron,

    Thanks for your clarification. Towards the WDS TFTP Server, we could find the following statement below:

    You use the Windows Deployment Services Trivial File Transfer Protocol (TFTP) server to download the files that are needed to do a network boot using the Pre-Boot Execution Environment (PXE).

    From:
    WDS TFTP Server

    I understand that the we could select Deployment Server and Transport Server during the WDS setup processing. However, neoraghav would like to install TFTP server from the Server Manger towards the Windows Server 2008 R2. I noticed the statement as followed:

    The TFTP client is optional software, and marked as deprecated on Windows Vista® and later versions of the Windows operating system. A TFTP server is no longer provided by Microsoft for similar security issues.

    From:
    Trivial File Transfer Protocol (TFTP) Overview

    I should make my reply as clear as possible. Sorry for confusion. :-(

    Regards,

    James


    James Xiong

    TechNet Community Support

    • Marked as answer by
      James Xiong
      Tuesday, March 27, 2012 1:44 AM

  • The TFTP server included with WDS is not a fully function TFTP server. In particular, it doesn’t support write requests (WRQ), as this isn’t needed to support PXE boot.

    • Marked as answer by
      James Xiong
      Tuesday, May 22, 2012 1:16 AM

Понравилась статья? Поделить с друзьями:
  • Настройка uefi bios gigabyte для установки windows 10 с флешки
  • Настройка tftp сервера на windows 2016
  • Настройка uefi bios asus для установки windows 10 на ssd
  • Настройка symantec endpoint protection для windows 10
  • Настройка ttl windows 7 для теле2