Reset the Container - How to manually reset it?

Deleting the virtual directory on the file system and deleting the virtual key in the registry is not enough to reset the Container manually.

What needs to be done and in which sequence to emulate a manual “Reset the Container” function?

Try Tasks → Containment → Reset Container.

Thanks, I know but I wanted to know how to perform a reset of the container from a “programming” point of view. What steps do I have to “program and execute” (to do by hand) so that the container is reset in the same way as clicking on “Reset the Container”.
Deleting the virtual directory and registry key alone is not enough to fully reset the container by hand.

Sorry, I have no idea how to accomplish a reset outside of the application itself. But somebody must know…?

Quite sure somebody knows but will he/she answer the question? :-\