{"id":103730,"date":"2020-05-06T07:00:00","date_gmt":"2020-05-06T14:00:00","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/oldnewthing\/?p=103730"},"modified":"2020-05-05T20:04:43","modified_gmt":"2020-05-06T03:04:43","slug":"20200506-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20200506-00\/?p=103730","title":{"rendered":"How can I prevent the user from using Snip and Sketch to take screen shots?"},"content":{"rendered":"<p>A customer wanted to know how they could disable the Snip and Sketch feature of Windows 10. They tried deploying policy to block the execution of <code>C:\\<\/code><code>Program\nFiles\\<\/code><code>WindowsApps\\<\/code><code>Microsoft.<\/code><code>ScreenSketch_10.<\/code><code>1907.2471.0_x64__<\/code><code>8wekyb3d8bbwe\\<\/code><code>ScreenSketch.exe<\/code>, but that didn&#8217;t help.<\/p>\n<p>Okay, first of all, <code>ScreenSketch.exe<\/code> is not Snip and Sketch. Screen Sketch is a feature of the Windows Ink Workspace that lets you draw directly on the screen. It&#8217;s not the Snip and Sketch tool. Snip and Sketch (as of this writing) is part of the <code>ShellExperienceHost.exe<\/code> process, and if you block that process, you lose all sorts of things like the taskbar Calendar, the wireless network chooser, and a number of other shell features.<\/p>\n<p>(Note that the above information is not contractual. The implementation details of various shell features may, and indeed have, changed over time.)<\/p>\n<p>We asked why the customer felt the need to disable the Snip and Sketch feature.<\/p>\n<p>The customer liaison explained that they had a program that displayed proprietary information and didn&#8217;t want their employees making screen copies of the data.<\/p>\n<p>Disabling the Snip and Sketch feature is not going to solve your problems. There&#8217;s also the Snipping Tool, the PrtSc key, and all number of third party screen capture utilities. And even if you manage to get them all, the employee could just take out a digital camera and snap a photo.<\/p>\n<p>That said, the customer could modify their proprietary program to call the <code>Set\u00adWindow\u00adDisplay\u00adAffinity<\/code> function to indicate that the window contents should not be included in screen captures, as I noted <a href=\"https:\/\/devblogs.microsoft.com\/oldnewthing\/20130603-00\/?p=4193\"> some time ago<\/a>. The desktop compositor will prevent those pixels from being included in <code>Bit\u00adBlt<\/code> and other screen capture functions.<\/p>\n<p>UWP applications can set the <a href=\"http:\/\/go.microsoft.com\/fwlink\/p\/?LinkId=624047\"> <code>Application\u00adView.<\/code><code>Is\u00adScreen\u00adCapture\u00adEnabled<\/code> property to <code>false<\/code><\/a> to exclude a view from screen capture functions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Programs can already specify that their windows should not be captured.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[25,104],"class_list":["post-103730","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-code","tag-tipssupport"],"acf":[],"blog_post_summary":"<p>Programs can already specify that their windows should not be captured.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/103730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=103730"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/103730\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=103730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=103730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=103730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}