GithubHelp home page GithubHelp logo

Comments (9)

fideliochan avatar fideliochan commented on June 2, 2024 1

@undergroundwires IIRC, restarting explorer.exe was enough.

from privacy.sexy.

undergroundwires avatar undergroundwires commented on June 2, 2024

Hi, thanks for the report.

It works on older versions but snipping tool is not provided as separate store app but as part of MicrosoftWindows.Client.Core (Windows Feature Experience Pack) on modern versions of Windows.

I will not add functionality delete this package. It includes a lot of other useful things and would have big impact to delete it. I think we can add group policy to achieve this.

But we can disable it:

reg add "HKCU\Control Panel\Keyboard" /v "PrintScreenKeyForSnippingEnabled" /t "REG_DWORD" /d "0" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\TabletPC" /v "DisableSnippingTool" /t "REG_DWORD" /d "1" /f

Let me know if it works.

We can introduce this as new script: Disable Snipping Tool as this tool is historically known to have vulnerabilities 1 and disabling would reduce your attack surface.

from privacy.sexy.

fideliochan avatar fideliochan commented on June 2, 2024

Hi! Did not work but thanks for help.

from privacy.sexy.

undergroundwires avatar undergroundwires commented on June 2, 2024

Restart your computer and please get back if it worked.

It did not work for me until reboot but works fine afterwards.

I see that this is what control panel option (Settings > Accessibility > Keyboard > Use the Print screen key to open screen capture) does too. It sets HKCU\Control Panel\Keyboard!PrintScreenKeyForSnippingEnabled to 0 (tested on Windows 11 Pro 23H2) and does something else to not require restart explorer.exe.

I see that users of other screenshot software posted related issues flameshot-org/flameshot#1551, greenshot/greenshot#482.

from privacy.sexy.

fideliochan avatar fideliochan commented on June 2, 2024

Sadly, no still does not work.

from privacy.sexy.

undergroundwires avatar undergroundwires commented on June 2, 2024

Thank you for coming back. Try this:

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "DisabledHotkeys" /t "REG_SZ" /d "S" /f

After running this, try directly if it works, if it doesn't work, try restarting explorer:

taskkill /f /im explorer.exe & start explorer

If it doesn't work try system restart.

Check if it works, and feel free to let me know if restarting explorer or computer was needed.

from privacy.sexy.

fideliochan avatar fideliochan commented on June 2, 2024

Yes! After restarting it works now thanks!

from privacy.sexy.

undergroundwires avatar undergroundwires commented on June 2, 2024

I will update the code in a patch release, did you need to restart the computer or was restarting explorer.exe enough?

from privacy.sexy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.