Microsoft small business knowledge base

Article ID: 138549 - Last Review: February 21, 2014 - Revision: 3.1

This article was previously published under Q138549
This article has been archived. It is offered "as is" and will no longer be updated.


The Windows NT 3.5 and 3.51 FTP service can be configured for three different download logging options using the following registry parameter:
   Value Type: REG_DWORD
   Default: 0 (don't log file accesses)
   Description: This value controls the logging of file accesses. This
                value can be one of the following:

                0 = Don't log file accesses
                1 = Log file accesses to FTPSVC.LOG
                2 = Log file accesses to FTyymmdd.LOG, where yy is the
                    year, mm is the month, and dd is the day. A new log
                    file will be opened every day as necessary.

If option 2 is used, and the LogFileDirectory is on an NTFS partition where not Everyone has full permissions, then the FTP server mail fail to open a new logfile each day.


The FTP server creates a new thread for each user that logs in. The thread impersonates the user account that is specified in the logon. This may be "guest" or "anonymous", for example.

When the first file is retrieved or stored after the system date has changed to a new date, the thread that is attempting to do the logging is also used to open a new log file. If this thread is impersonating a user who does not have adequate permissions to the LogFileDirectory, then the file cannot be opened and the server will stop logging until it is stopped and restarted.


Microsoft has confirmed this to be a problem in Windows NT version 3.5 and 3.51. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. This article does not apply to Windows NT 4.0


The best known workaround is to give everyone who will be using the FTP service at least "add" permissions to the LogFileDirectory. The LogFileDirectory is specified with the following registry entry:
Value Type: REG_SZ
Default: %SystemRoot%\System32
Description: This value specifies the target directory for log files.
This value is only used if LogFileAccess is not 0.

File Manager can be used to set permissions on this directory.

  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51
kbnosurvey kbarchive kbnetwork KB138549
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support