Snipping Tool Command-line to Capture Screen Region in Windows 10

The Windows 10 Creators Update, slated for release in March-April 2017, will include the capability to capture a screen region using Win + Shift + S shortcut key, as mentioned in article Screenshot a Portion of the Screen in Windows 10 [Winkey+Shift+S].


Create Snipping Tool Shortcut to Capture Screen Region Using Snipping Tool

If you find the Winkey + Shift + S inconvenient, you can instead create a shortcut and assign a preferred hotkey to it, such as Ctrl + Shift + S. This can be made possible using Snipping Tool’s new, and undocumented switch named /clip.

The Winkey + Shift + S simply invokes the Snipping Tool in the background. So, all you need to do is create a shortcut with the following target:

C:\Windows\System32\SnippingTool.exe /clip

snippingtool.exe /clip command-line

snippingtool.exe /clip command-line

Assign a hotkey — such as Ctrl + Shift + S — or anything as you’d like. You can pin the shortcut to the taskbar if required. Clicking the shortcut or pressing the assigned hotkey would invoke capture mode (rectangular snip) — by starting the Snipping Tool in non-interactive mode.

snippingtool.exe /clip command-line

Select a region on the screen to copy it to clipboard. Open Paintbrush and paste the captured image.

snippingtool.exe /clip command-line

Snipping Tool defaults to the last used Snip mode?

Update: The following section applies to Windows 10 versions older than v1809. If you’re using v1809 or higher, you don’t need this script, as the command launches rectangular snip mode always.

Note that the Snipping Tool defaults to the capture mode you last used when running the tool interactively (i.e. without /clip parameter). For example, if you had selected a “Window Clip” the last time when you run Snipping Tool the next time either interactively or using /clip, it defaults to Window Snip. That’s a little glitch Microsoft needs to fix.

[Script] Launch SnippingTool.exe /clip in Rectangular Snip mode always

However, here is a script I wrote which Starts Snipping tool in Rectangular Snip mode always, no matter which mode you last used.

'Capture a rectangular screen region to clipboard - using Snipping Tool non-interactively.
'Created for by Ramesh Srinivasan on January 20 2017.

Dim WshShell : Set WshShell = WScript.CreateObject("Wscript.Shell")

'Set the Snipping Tool capture or Snip mode in this value.
strSnipMode = "HKCU\SOFTWARE\Microsoft\Windows\TabletPC\Snipping Tool\CaptureMode"

'CaptureMode DWORD values
	'1 - Free-form Snip
	'2 - Rectangular Snip
	'3 - Window Snip

'We set CaptureMode to 2 for Rectangular Snip
WshShell.RegWrite strSnipMode, 2, "REG_DWORD"

'Launch the Snipping Tool to capture screen region
WshShell.Run "snippingtool.exe /clip",,True
Set WshShell = Nothing

Script Usage

1. Copy the above lines to Notepad. Save the file with .VBS extension, say snip.vbs.

2. Place the script in a permanent folder, like d:\scripts

3. Create a desktop shortcut to the script, using the following target:

wscript.exe d:\scripts\snip.vbs

4. Right-click on the shortcut and click Properties

5. Assign the Snipping Tool (snippingtool.exe) icon to the shortcut.

6. Assign a shortcut key for the script shortcut, like Ctrl + Shift + S

6. Optionally, pin the script shortcut to your Start menu or Taskbar.

Clicking this shortcut will launch the rectangular snip mode using which you can capture any region on the screen. The clipboard image can be pasted into Paint.

Note that the new Snipping Tool command-line argument and the Winkey + Shift + S feature are available in Windows 10 Creators Update preview build 14997 / 15002 onwards, and these features would make it to the final release which is expected in March or April 2017.

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support, my reader. It won't take more than 10 seconds of your time. The share buttons are right below. :)

About the author

Ramesh Srinivasan founded back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.

2 thoughts on “Snipping Tool Command-line to Capture Screen Region in Windows 10”

  1. Is there any SIMPLE way to get things working like this:

    1. I hit PrtScr
    2. I drag out a rectangle
    3. It’s instantly saved to a file (not the clipboard)

    No windows open. No menus to pick. No prompts. No need to open Paint. Nothing to paste in. Nothing to save. No need to destroy my existing clipboard. No scripts. No program code to write. No filenames to enter. No folders to pick. No special executables to download/install/update/configure. Instantly done.

    Windows+PrtScr is close, except:
    A. Needs 2 hands
    B. Can’t draw a rectangle
    C. More keys to remember


Leave a Comment