Disable copy and paste or printing within your virtual application

Let me first say ThinApp is by absolutely no means a security product, it is an application virtualization product. But ThinApp, as an application virtualization product, certainly can help to make your environment more secure. For example when using ThinApp for your applications you can deploy critical patches much faster as it would be possible with traditional software deployment tool like SCCM or LanDesk.

That said customers still ask how they can disable certain functions within ThinApp to make their applications more secure. These functions are copy and past as well as cut and paste and of course printing. Obviously ThinApp can handle these requirements as one of the most versatile application virtualization solution on the market.

Disable copy and paste / cut and paste

To disable copy and paste within your virtual application you have to modify the package.ini in the [BuildOptions] section. To disable this functionality just add the following line:



If the user then tries to copy or cut and paste something he gets the following message by default.


You can change this message by adding just another line and modify the message as wanted.

DisableCutPasteMsg=Administrator has disabled Cut and Paste for application %1s

The variable %1s will be replaced by the name of the process of which you want to copy or cut content from. In this example it is firefox.exe

Disable printing

To disable printing from a ThinApp package you also have to add just another line to your package.ini build options.



When a user tries to print from the virtual application while this option is set he gets the following result.


If this tip may come in handy you should pay Christoph Harding’s (@cdommermuth) blog called That’s my view (http://www.thatsmyview.net) a visit. He brought this customer requirement to my attention.