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

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!
Thanks.
Dharmesh Solanki

Similar Messages

  • Accessing Terminal Services Attributes from Active Directory LDAP property userParameters

    After many years of complaints, Microsoft has done little to address the overwhelming outcry for information on the accessing the Terminal Services properties through LDAP.
    I found this document that fully describes the Encode/Decode mechanism for the userParameters attribute.
    https://msdn.microsoft.com/en-us/library/ff635189.aspx
    The property is used for more than terminal services, but even Microsoft is confused about it's use it would seem.  I won't go into details, but for all those trying to access the terminal services attributes, this document should help.
    I have not yet converted the mapping into a JAVA module, so please don't ask for help.  I just need a more public place to put this, than the currently buried location at microsoft, to make for easier retrieval from the web community of java developers.

    Hi,
    What about other changed attributes? Are other attributes retrieved by DirSync control turn to be encrypted form?
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • User profiles from Active directory when loggedin then userdisplay, useredit shows blank white screen in SharePoint 2013

    User profiles from Active directory when loggedin then userdisplay, useredit shows blank white screen in SharePoint 2013 
    I can login with the these AD users and AD direct import is working just fine. We are not using UPS.
    With admin user when I click on the user it shows up proper data. But when I login with the same user it does not show me userdisplay/useredit and shows blank data. Also another strange thing is when I add new item in list with these AD users created by
    modified by is blank and its really strange. I checked user information list, tried to rerun user sync with direct AD import option but no success.
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi Amit,
    According to your description, my understanding is that the page is blank when the use accessed /_layouts/15/userdisp.aspx and the created by field was blank when the user created a new list item in SharePoint 2013.
    I tested the same scenario per your post, however I cannot reproduce your issue.
    For troubleshooting this issue, I recommend to verify the things below:
    Check the permission of the user in the corresponding site collection to see if he can access /_layouts/15/userdisp.aspx.
    Delete the user from AD and SharePoint, then re-add the user to AD and grant proper permission to the user in SharePoint to see if the issue still occurs.
    Did this issue occur with all the users? Add a new user in AD and test the same scenario.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Field explorer does not open on my terminal services profile

    Dear Sirs,
    For some reason I am unable to open my field explorer in any crystal report on my terminal services profile. I have checked with other profiles and the problem does not exist. The problem is specific to my profile. I can also create new reports and access fields however if I use the filed explorer button I cannot access fields, parameters or formulas from there. Problem just started this morning. We have been using crystal reports X1 for last 12 months. Would it be a terminal server issue?
    I would appreciate whatever help you can give me.
    Regards,
    Philip Brady
    Finance Director
    National Electrical Wholesalers (Irl) Ltd

    Hi Philip
    This can be an issue with the terminal server that you are using. Please refer to the Crystal Reports XI supported platforms guide if the server that you are using is supported or not.
    You can download the guide from the below link:
    [download CR XI supported platforms guide|http://www.2shared.com/file/4065156/f2ef25e1/cr_xi_supported_platforms.html]
    Hope this helps!!
    Regards
    Sourashree

  • AD User Recon of Terminal Services Profile Attributes

    I am trying to get some of the Terminal Services Profile attributes to Reconcile to OIM during the AD User Reconciliation scheduled task. Other attributes sync fine, but the Remote Manager is never called to run the Recon vbs script. Looking at the Java for the AD User Recon scheduled task, I can find the method that should be called; getBLOBAttributeValues(). Funny thing is I can't find even one call to that method in any of the java code in the xliADRecon.jar file.
    OIM 9.1.0.2 BP07
    AD Connector 9.1.1.4
    Looup.AD.BLOBAttribute.Values is configured with the attributes to sync
    Lookup.ADReconciliation.FieldMap is configured with the attributes
    The Resource Object has the fields defined for Reconciliation
    The Process Definition has the fields mapped to the Process form attributes
    Everything seems to be in place except there is no call to the getBLOBAttributeValues() method to call the reconciliation script via the remote manager.
    What am I missing?
    And BTW ... Provisioning of the attributes works fine, using the RManager.
    Thanks,
    Bill

    Hi,
    Please go through below article might helpful in your case.
    How to read msTSProfilePath, msTSHomeDrive and msTSHomeDirectory properties from AD (VB.NET)
    http://blogs.msdn.com/b/alejacma/archive/2010/10/13/how-to-read-mstsprofilepath-mstshomedrive-and-mstshomedirectory-properties-from-ad-vb-net.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Getting Terminal Service Profile Path

    We are provisioining users to the Active Directory. However, using Xpress/Java, how can the AD's Terminal Services Profile Path can be retrieved by IDM. Basically, i would like to retrieve this information before the the account is deprovisioned.
    Edited by: user6420881 on 3/10/2010 23:45

    I dont see much hope with Java/Xpress to set the Terminal Services group of attributes.
    There is no LDAP attribute named 'Terminal Services Profile Path' which is the problem. All these Terminal Services "attributes" are bundled up as a set of User Parameters. I think MS had to do this for historical reasons with NT4.
    Unless the AD Gateway service has support for Terminal Services builtin (check the documentation) the only way I can see to set these is by Using Powershell or some MS script based solution called as an After Update or After create action. But that's setting only IDM -> AD.
    Reading these strings back to IDM is hard.. maybe a Powershell script can decode the TS blob and store the strings in CustomAttributes ???
    I know this TS stuff is a pain.

  • How to change path of Users Terminal Services Profile for multiple AD users on server 2003?

    Hello experts. I am working on a file server migration. All data has been migrated, I am currently working on redirecting users to the new file server. I
    am able to select multiple users at once in ADUC -> right-click -> properties -> profile and here I can change the home folder and roaming profile path for each all users to point towards the new file server. 
    The issue I have run in to is that we have roaming profiles for terminal services users. So, there are hundreds of users that have their terminal services profile
    configured in AD -> Right-click user (one at a time) -> properties -> terminal services profile. Here, the profile path is configured for each user as \\OLDserver\Profiles\%username%
    and I need to change it to \\NEWserver\profiles\%username%. 
    I know that you can configure this path via group policy, I set up a GPO; Computer / Administrative Templates / Windows Components / Terminal Services / “Set Path
    for TS Roaming Profiles” as \\NEWserver\profiles and applied this GPO to an OU containing the TS servers.
    The problem is, the GPO is not working... When I log in to the TS and add a document to My Documents, it is still saving under \\OLDserver\profiles\Username.
    So, the settings in AD are trumping the GPO I believe. What is the best way to accomplish my goal? Thanks in advance!

    > to change it to \\NEWserver\profiles\%username%.
    That is "profile" in opposite to...
    > add a document to My Documents, it is still saving under
    > \\OLDserver\profiles\Username.
    ...this one which is Folder Redirection and has NOTHING to do with
    server based profiles.
    > So, the settings in AD are trumping the GPO I believe.
    No, it isn't. When you do not enable FR and you access "Documents", you
    will never see an UNC path but the local c:\users\xyz\documents folder.
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • OIM: Terminal Services Profile Path

    Hi,
    I am using OIM and AD with the OOTB AD connector.
    I have made a pre-populate adapter that generates a Terminal Services Profile Path for a user. I would like the path to be added to users when they are created.
    I have added an entry in the the AD User Form, pre-populate tab. Field name: Terminal Profile Path. Adapter: My generate Terminal Services Profile Path adapter.
    Unfortunately, the Terminal Profile Path field is not pre-populated in the process form.
    I have also tried to add a process task triggered by the create user task, and made my adapter a Process Task Adapter. This did not work either.
    Just to test it, since there is no column for Terminal Services in the usr table, I created a Terminal Services Profile Path UDF. When I fill in the path in the UDF manually, the Terminal Profile Path field is not pre-populated in the process form.
    I have made pre-populate adapters for other UDFs and had no troubles with that. Does anyone know if there is something special about this Terminal Services Profile Path field?
    Thanks!!

    Thanks Rajiv,
    When I use a process task, the task is invoked, and I get:
    Status: Rejected
    Response: 62: Unknown response received.
    But I thought I didn't really need to use a process task, and that it would be sufficient with a pre-populate adapter mapped to the right field. But it seems like I'm not using the field in the correct way...?
    Thanks!

  • How to ge the value for attribute for terminal services attribute in Active Directory from userParameters attribute

    I am using dirsync to get  the attributes value that have changed in Active Directory(changelog).
    The following link explains how the dirsync is used to get attribute values :
    'http://blogs.technet.com/b/isrpfeplat/archive/2010/09/20/using-the-dirsync-control.aspx'
    I am changing the attribute Local path under Remote Desktop Services Profile of a user. I have ran a client which uses dirsync to get the changed objects in AD.
    In the client the attribute that is changed is `userParameters` and the value is in encrypted form. 
        CtxCfgPresent                                   P☺CtxCfgPresent???? ☻☺CtxWFProfi
        lePath?↑→☺CtxWFHomeDir?????????????"☻☺CtxWFHomeDirDrive?☺CtxShadow????☺CtxMaxDis
        connectionTime????☺CtxMaxConnectionTime????☺CtxMaxIdleTime???? ☻☺CtxWorkDirector
        y?☺CtxCfgFlags1????"☻☺CtxInitialProgram?
    Is there a way to get  the actual value form the userParameters.

    Hi,
    What about other changed attributes? Are other attributes retrieved by DirSync control turn to be encrypted form?
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Accidentally deleted the root user from my directory Mac 10.7.5

    While trying to disable the root user (because I heard that it should be used sparingly) I think that I deleted it from the directory. Whenever I try a sudo command I get sudo: Command not found. I'm pretty sure this is a problem and some help would be nice.
    Thank You!

    Back up all data.
    Boot into Recovery by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.
    Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with proxy servers, or with networks that require a certificate for authentication.
    When the OS X Utilities screen appears, follow the prompts to reinstall the OS. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.

  • Delete my Skype name from Skype directory

    hello!..
    i want to delete my skype account and completely remove my skype name on skype directory...i already follow all the steps on how to...and now im waiting and wanting for its complete removal...will somebody help me please?....
    thanks a lot...

    Hi, mv4, and welcome to the Community,
    Only Skype Customer Service can perform the account closing/removal process.  You will need to contact Skype Customer Service again, referencing any support ticket number you have received, to follow up.  We here in the Community are not authorized to process this or any other account-related service request.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • How to delete old provisioning profiles from mac OSX lion

    hi everyone
    i want to delete my old provisioning profiles
    i did it from prgarnizer of xcode but it give me error when i run app on iphone
    "This provioning profile have no valid signature"
    i search about it then get to know that it store in
    library->mobiledevices-provisioning profile folder
    but i had a problem i.e my mac mini with mac osx lion 10.7.2 don;t have that directory
    so please let me know that where it is in that
    thanks in advance

    Use Organizer via Xcode and then on your device, use Settings/General/Profile....delete.
    See the walk-thru in TN 2250 - 'Perform Common Tasks' as well...

  • Cannot delete icon services cache from trash.

    Hi everyone, I have a 15" macbook 2014 running yosemite. I was having trouble with a download that was stuck on pause so I thought I would empty the cache for the mac store. I trashed a file named com.apple.iconservices.store. That was fine I rebooted and OS X recreated cache as normal. After that I am not able to delete folder from trash because it says the files inside the folder are in use. the files have names like this 1AEDA0FE-C8DB-52F8-3A88-57A134262EB1.isdata. I have managed to unlock the folder by changing the permission settings and I removed a file and changed its name thinking it wouldn't recognize the file. I still get an in use prompt even with a bogus name. Any suggestions? should I just ignore this file in the trash? seems like if it is going to be a problem I should just revert back to an older time machine since it has only been a week at this point. thanks.

    Hi Jaron,
    Thanks for participating in the Apple Support Communities.
    If you have cache or data files in the Trash that cannot be deleted, try the methods in this article such as holding Option when emptying the Trash:
    You can't empty the Trash or move a file to the Trash - Apple Support
    If the Trash still can't be emptied after trying the methods in this article, try Using Disk Utility to verify or repair disks on your Mac's startup disk.
    Regards,
    Jeremy

  • Deleting mulitple ipads profiles from itunes

    Over the years I have had multiple devices.When I bring up Itunes and find my iphone I still see all the devices I have ever had. I do I cut down the number of profiles only the current devices I have now? I guess the biggest issue is having 8 devices coming up in "find My Iphone" when I really only need to see 4. Thanks

    You should be able to login to your account and edit the list of products associated with it : https://supportprofile.apple.com/

  • Is there really no way to delete a profile from my macbook pro?

    I got a new macbook pro recently. I was planning to move data from my old mac but couldn't resist to turn it on right away. In doing this I ended up having to set the profile up on my new mac. One step in this process is to move data from a different mac. Since I hadn't read up on the details of this step yet I chose to skip it. When I finally was ready to move the data from my old mac I was forced to create a another new profile.
    I now have two profiles on my new mac and I'm desperate in trying to figure out how I can remove the old profile.
    Is there really no way to delete an existing profile from my mac?

    r_hqt,
    the way to delete a user account is to log in as the administrative user which you wish to keep, and open the Users & Groups pane in System Preferences. If the padlock in the lower-left corner of the System Preferences window is locked, click on the padlock to unlock it (by giving it your administrative user’s password). Select the user account that you would like to delete, and press the “-” button at the bottom of the list of user accounts. Relock the padlock if desired, and exit System Preferences.

Maybe you are looking for

  • User Defined Fields & AD Connector

    Hello All I am having a bit of trouble understanding the flow of information from Xellerate User to AD connector table/provisioning and was hoping someone could help me out. Basically, I have a set of user defined fields that I need to get provisione

  • Printing Prenumbered Bill of Exchange under RFFOUS_C

    Hi collegues, We are developping a sapscript to create a prenumbered bill of exchange that is to be printed with advice, all in the same page. We have use sapscript F110_EN_CHECK to make copy ZF110_CHECK but we are not managing to print it correctly

  • I need help making a layer clickable

    I am trying to make the layer "click to call" clickable but cant do it.   Please help.   Thanks!

  • Using f:view as jspx root

    Hi, I'm trying to integrate Icefaces (Ajax tag lib from Icesoft) to jdev and their example pages start with the f:view tag with namespace as in: <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://w

  • How to change iClouds account.

    HOw to change iClouds account?