Delete Terminal Services profile from custom directory


  • We have Terminal Servers running Windows Server 2003. 

    We have TS Profile Path set to D:\TSProfilesXXX1 using Group Policy.

    Now, we are planning to delete all the old TS profiles from C:\Documents and Settings and D:\TSProfilesXXX1 folders.

    Found Utility DELPROF from Microsoft, however, it works for C:\Documents and Settings by default and does not seem to be working for D:\TSProfilesXXX1.

    Any Help here ???

    MCSE Certified

    • Edited by IamBharat Wednesday, June 11, 2014 10:37 PM ..
    Wednesday, June 11, 2014 10:36 PM


  • Hi,

    Thank you for your posting in Windows Server Forum.

    For your issue, you can delete the cached copy of roaming profile by GPO setting. Please check the GPO setting “Computer Configuration | Administrative Templates | System | User Profiles | Delete cached copies of roaming profiles.”
    More information.
    User Profiles

    To manually remove you can also use registry setting. If you’re connecting to a remote computer and not cleaning up a local registry, click on Registry in the File menu and select Connect To Network Registry. Enter the name of the computer you deleted profiles from and browse down in the registry to these two locations:

    •HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\
    •HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\

    Detail information.
    Clean up Terminal Services profiles with DELPROF

    Hope it helps!


    Dharmesh Solanki

    Monday, June 16, 2014 6:07 AM