DOCUMENT:Q234029 TITLE :Err Msg: "Temp Directory Not Accessible" After Applying TSE SP4 PRODUCT :Windows NT Server, Terminal Server Edition PROD/VER:4.0 OPER/SYS:WINDOWS NT KEYWORD :kbbug4.00 kbfix4.00 ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows NT Server version 4.0 SP4, Terminal Server Edition ------------------------------------------------------------------------------- SYMPTOMS ======== After you apply Windows NT Server 4.0, Terminal Server Edition Service Pack 4 (SP4), error messages similar to the following may be displayed: temp directory not accessible CAUSE ===== This behavior occurs because Terminal Server SP4 does not reset the permissions or delete existing temporary folders that are orphaned after a dirty shutdown. This behavior change was added in SP4 to improve security by preventing new users from viewing work that may have been abandoned by previous sessions because of a dirty shutdown. RESOLUTION ========== To resolve this problem, obtain the latest service pack for Windows NT Server 4.0, Terminal Server Edition. For additional information, please see the following article in the Microsoft Knowledge Base: Q152734 How to Obtain the Latest Windows NT 4.0 Service Pack The individual hotfix has been posted to the following Internet location as Q234029.exe: x86: ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/usa/nt40tse/Hotfixes-PostSP4/Temp-fix/x86/ Alpha: ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/usa/nt40tse/Hotfixes-PostSP4/Temp-fix/Alpha/ \* \* MSONLY: \* The RESOLUTION section above states whether this fix is available as a hotfix or \* in the latest service pack. For comparison/testing purposes, the original hotfix \* is available as Msgina.dll and Winlogon.exe on the http://hotfix Web site. WORKAROUND ========== To work around this behavior, please see the following Microsoft Knowledge Base article: For additional information, please see the following article(s) in the Microsoft Knowledge Base: Q186524 Using Terminal Server's FLATTEMP Command STATUS ====== Microsoft has confirmed this to be a problem in Windows NT Server 4.0, Terminal Server Edition. This problem was first corrected in Windows NT Server 4.0, Terminal Server Edition, Service Pack 5. MORE INFORMATION ================ Normally, Terminal Server session temporary folders are removed by WINLOGON when a user logs off or the session is reset. However, a dirty shutdown orphans the temporary directories for any active or disconnected sessions. A dirty shutdown occurs when the server crashes because of hardware problems, software problems, or power disruption. In addition, a regression introduced in SP4 winlogon may cause a dirty shutdown when a server is restarted without a user logged on to the console. Note that the hotfix listed in this article does not address the issue of folders not being deleted at logoff; it only ensures that if the folder already exists and a user logging on gets assigned the same temporary folder, that permissions for the existing folder will be set correctly for the new user. EMP folders may still exist. For more information, please see the following Microsoft Knowledge Base article: 230449 Service Control Handler May Not Receive SERVICE_CONTROL_SHUTDOWN Notification Additional query words: wts tse terminalsrv ============================================================================ THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.