Skip to content

Small "Pin To TaskBar" exe for Command Line, tested on Windows 10 Version 20H2 (Win10 19042.964). Reverse engineering of syspin.exe "PE injection into Progman" method.

License

Notifications You must be signed in to change notification settings

0x546F6D/pttb_-_Pin_To_TaskBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pttb - Pin To TaskBar

Pin To TaskBar for command line:

  • Minimal reverse engineering of syspin.exe from https://www.technosys.net/products/utils/pintotaskbar
  • With only "Pin to taskbar" and "Unpin from taskbar" functionalities included
  • By default, pttb force Re-Pin any .exe/.lnk that is already pinned, but as a result: the programs gets re-pinned in last position
  • Tested on Windows 10 Pro 64bit - Version 20H2 / build 19042.964 / locale en-US
  • Syspin.exe was decompiled using Retargetable Decompiler from https://retdec.com
  • Another helpful reverse engineering project of syspin.exe in C++ (much more faithful to the source) : https://github.com/airwolf2026/Win10Pin2TB

Compiled with MSYS2/MinGW-w64:

$ gcc -o pttb pttb.c -Lmingw64/x86_64-w64-mingw32/lib -lole32 -loleaut32 -luuid -s -O3 -Wl,--gc-sections -nostartfiles --entry=pttb

Usage:

> pttb Path\to\.exe\or\.lnk\to\PinToTaskbar
> pttb -u Path\to\.exe\or\.lnk\to\UnPinFromTaskBar
> pttb -r (Refresh taskbar by Pinning & UnPinning itself, in order to reflect changes made to:
           HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband)

Notes:

To view the source code in your browser with original tabbing (4 white-spaces instead of browsers default 8), add '/?ts=4' to url.
Works on Firefox/Chrome based browser, except for edge..
https://github.com/0x546F6D/pttb_-_Pin_To_TaskBar/blob/main/pttb.c/?ts=4

About

Small "Pin To TaskBar" exe for Command Line, tested on Windows 10 Version 20H2 (Win10 19042.964). Reverse engineering of syspin.exe "PE injection into Progman" method.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published