Deployment Solution

 View Only
  • 1.  PCTransplant keeps grabbing recycle bin

    Posted Apr 10, 2013 07:58 AM
    For some reason PCT is grabbing the recycle bin when the user data is migrated to the new hardware. We are going Windows 7 to Windows 7. I have edited the template to only grab app settings and personal documents in there user profile. However, it keeps grabbing C:\$Recycle.Bin. I even added this in the filter but it keeps capturing it.


  • 2.  RE: PCTransplant keeps grabbing recycle bin

    Posted Apr 10, 2013 10:16 AM

    Hi NoodleNT,

    Quickly workaround: Clear the Recycle Bin before PCT execute the personality capture. You could try to use an executable: http://www.optimumx.com/downloads.html#EmptyRecycleBin

    Another way is using PowerShell.

    For Current User:
    #xp/2003
    $shell = New-Object –ComObject Shell.Application
    $rb = $shell.NameSpace(0xA).Self
    $rb.InvokeVerb("Empty Recycle &Bin")

    #Vista and later
    $shell = New-Object -Com Shell.Application
    $shell.NameSpace(0xA).Items() | Remove-Item -Recurse

    For all Users:
    $disks = Get-WmiObject Win32_LogicalDisk -Filter "DriveType=3"

    foreach ($disk in $disks)
    {
     if (Test-Path "$($disk.DeviceID)\Recycle")
     {
      Remove-Item "$($disk.DeviceID)\Recycle" -Force -Recurse
     }
     else
     {
      Remove-Item "$($disk.DeviceID)\`$Recycle.Bin" -Force -Recurse
     }

    There is another scripts available to clear Recycle Bin.

    Please let us know if this is an option to you.



  • 3.  RE: PCTransplant keeps grabbing recycle bin

    Posted Apr 10, 2013 10:23 AM

    I was doing something like that after the migration on the new machine but why is it grabbing it to begin with?



  • 4.  RE: PCTransplant keeps grabbing recycle bin

    Trusted Advisor
    Posted Apr 10, 2013 11:33 AM

    You might have a rule in place that will grab files or file types out of the whole disk applied before your exclusion filter.

    It took weeks of fidling for us to get priorities set properly.  Ours got complicated as we wanted to capture particular types of data no matter where it lived on the drive and not just from the user profiles.



  • 5.  RE: PCTransplant keeps grabbing recycle bin

    Posted Apr 10, 2013 12:22 PM
    That was the case at first. I had all the file extensions selected but then realized I didn't need that. That helped but every now and then it grabs stuff outside the user profile. Very strange.


  • 6.  RE: PCTransplant keeps grabbing recycle bin

    Trusted Advisor
    Posted Apr 10, 2013 01:33 PM

    Are you capturing any applications?  The application definitions also include file types associated to that application so I wonder if it's finding those files in the recycle bin.

    Can you put your recycle bin filter higher up in the priority list?