Home > Windows Tips > > Install Trivial File Transfer Protocol (TFTP) on Windows 2000
Win IT Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Install Trivial File Transfer Protocol (TFTP) on Windows 2000


Scott McKenzie
09.17.2004
Rating: -4.40- (out of 5) Hall of fame tip of the month winner


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


This tip was submitted to the SearchWin2000.com tip exchange by member Scott McKenzie. Please let other users know how useful it is by rating it below.


Windows 2000 does not include a standard TFTP server that can be installed via Add/Remove Windows Components, unlike DNS, DHCP, etc. However, a TFTP server is provided as part of the Remote Installation Services (RIS) package. You don't need (or want) to install all of RIS just to get TFTP. The instructions below allow you to manually install only the TFTP server service.

Prerequisites

  • A Windows 2000 Server CD
  • A copy of the "Instsrv.exe" utility from the Windows 2000 Resource Kit tools.

Installation

  • On the Windows 2000 Server CD, in the I386 folder, find the file "TFTPD.EX_." Note: Be sure this is coming from a CD that includes the latest Service Pack, or from a local I386 folder that has been slipstreamed with the latest SP, in case there were any security or bugfix updates to TFTPd.
  • Copy the file to C:
  • From the command line:
    • Decompress the installer file:
      expand c:	ftpd.ex_ %systemroot%system32	ftpd.exe
    • Delete the installer file:
      del c:	ftpd.ex_
    • Install TFTP as a service using Instsrv.exe from the Resource Kit:
      (path)instsrv.exe TFTPd %systemroot%system32	ftpd.exe
  • Open regedt32
    • Go to HKEY_LOCAL_MACHINESystemCurrentControlSetServicesTFTPd
    • Edit menu, Add Key
      • Key Name: Parameters
      • Class: (leave blank)
    • Expand TFTPd, Select Parameters
    • Edit menu, Add Value
      • Value Name: Directory
      • Data Type: REG_SZ
      • String: C: ftproot (or whatever directory you want to use)
    • Exit regedt32
  • Create the directory C: ftproot
    • Disable inheritance of permissions and remove the default permissions
    • Add permissions for local Administrators:Full Control
    • For read-only TFTP, add Everyone:Read permissions
    • For read-write TFTP, add Everyone:Read and Write permissions
    • Security Warning: This will allow anyone to store files on your TFTP server. If you require unauthenticated TFTP uploads (for instance, to be able to save configs from a router), you may wish to consider configuring a local IPSec policy on the TFTP server host to allow connections only from trusted devices.
  • Open Computer Management, Services and Applications, Services
    • Locate TFTPd
    • Change Description to "Microsoft Trivial File Transfer Protocol Server"
    • Click Start, verify that it starts correctly

Test the functionality of your new TFTP server

  • Put a test text file, "remote.txt" in C: ftproot (or the directory you used)
  • From the command line, download your test file with the built-in MS TFTP client:
    tftp (hostname) get remote.txt c:local.txt
  • You should see a confirmation message similar to "Transfer successful: 6 bytes in 1 second, 6 bytes/s."

Rate this Tip
To rate tips, you must be a member of SearchWinIT.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Windows Technology Updates, Reviews and Solutions

Laptop Discounts with free coupon codes, huge savings at Notebook Review

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts