remove reference to decommisioned server from offline files and folders on multiple XP clients.

Answered remove reference to decommisioned server from offline files and folders on multiple XP clients.

All Replies

  • Wednesday, June 27, 2012 5:35 PM
     
     

    I need to remove reference to decommisioned server from offline files and folders on multiple XP clients. I would like to do this without having to format the entire offline cache, if it is possible. I did find a technet post, which describes a similar issue.

    http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/7b5dbb75-fb17-4e52-bb38-4785b47b3177

    But have been unable to get the syntax for this code right, therefore I would be most grateful for any help or ideas.

    Cheers

    Anand

    What have you tried.

    The script posted was pretty simple and pretty exact:

    $cs=Get-WmiObject -List win32_offlineFilesCache -computer mypc
    $cs.deleteItems($item2Delete,2147483648)

    $itemtodelete is the file you want to purge.


    ¯\_(ツ)_/¯

  • Wednesday, June 27, 2012 5:39 PM
     
     Answered
    Here is a good article to start with. It will help you to understand how to navigate the offline files:
    http://blogs.technet.com/b/heyscriptingguy/archive/2009/06/02/how-can-i-work-with-the-offline-files-feature-in-windows.aspx

    ¯\_(ツ)_/¯

  • Monday, July 09, 2012 2:58 PM
    Moderator
     
     

    As there has been no activity in this thread for a few days, we assume the issue is resolved. We will mark it as "answered" to assist others in similar situations. If you disagree, please reply with further information. You can unmark the answer if you wish. If a reply helped answer your question, please mark it as the answer.


    Richard Mueller - MVP Directory Services