Clean Up Previously Applied Profiles

When having issues applying new profiles on devices, it can be helpful to remove all remnants of previously applied profiles and then attempting to apply the new profile again after. It can also be helpful to apply the profile using the Recast Agent Route.

Steps to Remove Previous Profile Remnants

1. Right click the device or collection and click on "Right Click Tools".

2. Select "Kiosk Manager".

3. Click "Remove Profiles".


4. Click Finish.

5. After you see the profile has been successfully removed, you can click "Close".

6. Next, you can run one of the two following scripts against the device or collection to clean up any remaining remnants.

Script if Recast Agent or Right Click Tools is installed on the device

# Removes Remnants of previously applied kiosk profiles post profile removal 
Remove-Item -Path "C:\Program Files\Recast Software\Configurator" -Force -Recurse
Remove-Item -Path "C:\Program Files\Recast Software\Shell" -Force -Recurse
Remove-Item -Path "C:\ProgramData\Recast Software\Configurator" -Force -Recurse
Remove-Item -Path "HKLM:\SOFTWARE\Recast Software\Configurator" -Force -Recurse
Remove-Item -Path "HKLM:\SOFTWARE\Recast Software\Shell" -Force -Recurse

Script if no other Recast Components are on the device

# Removes Remnants of previously applied kiosk profiles post profile removal including license files
Remove-Item -Path "C:\Program Files\Recast Software\Configurator" -Force -Recurse
Remove-Item -Path "C:\Program Files\Recast Software\Shell" -Force -Recurse
Remove-Item -Path "C:\ProgramData\Recast Software\Configurator" -Force -Recurse
Remove-Item -Path "C:\ProgramData\Recast Software\Licenses" -Force -Recurse
Remove-Item -Path "HKLM:\SOFTWARE\Recast Software\Configurator" -Force -Recurse
Remove-Item -Path "HKLM:\SOFTWARE\Recast Software\Shell" -Force -Recurse


7. Lastly, attempt to apply the profile again after removing all of the previous remnants.