SCCM removal of app-v applications from client machines script based

The standard way to remove Advertised app-v applications from client machines is to set expiration of the advertisement /deletion with setting “remove this package from client when no longer advertised” and it should work though it takes a while but this procedure doesn’t work.

Recently had an issue with App-v Applications(machines having both msi and app due to which some settings may not work ) where in these apps are not removed from client machines though advertisement is “expired” and checked “ Remove this package from client when no longer advertised” from package properties . Also deleted the advertisement to see if the app-v package disappears or not but no result.

Note : Streaming option is not enabled on DP.

Searched everywhere and tried many possibilities to make this work but did not find anything for the root cause.

For full post ,please read on http://eskonr.com/2012/06/sccm-removal-of-app-v-applications-from-client-machines-script-based/