PowerToys: Windows system utilities to maximize productivity
github.com
github.com
Sysinternals used to be Mark Russinovich's external company that provided expert Windows debugging. His blog was impressive, and my little finger tells me he knew more about Windows internals than Microsoft did.
So Microsoft acquihired Sysinternals, and his tools continue to be supported :)
[1] https://docs.microsoft.com/en-us/sysinternals/
[2] https://docs.microsoft.com/en-us/sysinternals/downloads/proc...
As for Process Explorer, the open-source Process Hacker is even better: https://github.com/processhacker/processhacker
Why does procmon require Workstation service? Why official support forum search doesnt work https://social.technet.microsoft.com/Forums/en-US/home?searc... =
Internal Server Error - Read
The server encountered an internal error or misconfiguration and was unable to complete your request.
Reference #3.3e....C:\WINDOWS\system32>handle -s
Nthandle v4.21 - Handle viewer Copyright (C) 1997-2018 Mark Russinovich Sysinternals - www.sysinternals.com
Handle type summary: ALPC Port : 1437 Composition : 19 CoreMessaging : 10 Desktop : 16 Directory : 100 DxgkSharedResource: 2 DxgkSharedSyncObject: 1 EtwConsumer : 1 EtwRegistration : 1012 Event : 3591 File : 889 FilterCommunicationPort: 8 FilterConnectionPort: 9 IoCompletion : 1429 IoCompletionReserve: 63 IRTimer : 123 Job : 229 Key : 808 Mutant : 61 Partition : 3 PcwObject : 4 Process : 2540 RawInputManager : 63 Section : 1705 Semaphore : 1512 Session : 56 SymbolicLink : 369 Thread : 734 Timer : 81 TmRm : 26 TmTm : 13 Token : 979 TpWorkerFactory : 61 WaitCompletionPacket: 1846 WindowStation : 22 Total handles: 19822
Sysinternals PsExec will. It's a tool often used to run a process interactively as System, so you should be able to do the same.
I'm sure some of this is accessible somewhere in the internals of ProcExp but I've greatly enjoyed Process Hacker. My biggest gripe is that I press X and it actually closes itself so the graphs hadn't been capturing when I go back to look at it. :)
I asked Russinovich for his blessing and he said yes with no hesitation. I never did get too far with the project but I thought that was pretty cool of him.
They really should ship Windows with Notepad++, SysInternals and NirSoft. It would make it a much nicer experience especially in machines where you can’t install stuff due to regulation.
Also VS Code is possibly more user friendly and AFAIK supports more non-developer extensions.
E.g. I can't recall ever seeing good support for markdown in Notepad++.
Maybe get a better computer? (not trying to be glib, seriously I wonder what are you running on). I run on a 2017 Mac Book Pro and it is very very fast for me.
Also, personal opinion: VS Code gets a big +1 from me due to it recently adding remote development capabilities (eg connect to host over SSH, do dev/compile stuff there).
>Maybe get a better computer?
thanks i almost forgot i was on HN for a second there
Two seconds is eternity for text editor.
My machine is a 16GB i7-4930K. It's no slouch, unlike the startup time for VS code.
I can't be waiting 2 seconds for my text editor to load, when i have one that loads instantly.
The whole point of notepad.exe and notepad++ is that its super fast.
PowerShell ISE is pretty sluggish and honestly not very good and gets included on every machine though.
And Ill jump on the notepad2 or sublime vs ++ train. ++ has always bothered me for some reason.
> So Microsoft acquihired Sysinternals, and his tools continue to be supported :)
That is not the reason MS hired him. He used to openly challenge and piss them off [0]. Just like what Steve Jobs did to Disney CEO at the time. It's a very slippery slope.
choco install sysinternals --params "/InstallDir:c:/tools/sysinternals"
choco install nirlauncher --params /Sysinternalshttps://en.wikipedia.org/wiki/Microsoft_PowerToys#Windows_95
HKCU\*\shell\Command Prompt Here\command = %WINDIR%\system32\cmd.exe(File Explorer's ribbon follows your Win+X setting that if you have PowerShell your default, that shows up instead of classic Command Prompt.)
https://devblogs.microsoft.com/oldnewthing/20050202-00/?p=36...
* Everything: https://www.voidtools.com/
An awesome and terribly fast file finder. You can add a global Shortcut, like WIN+<something>. I use it all the time.
* Licecap: https://www.cockos.com/licecap/
A gif recorder. Useful to spice up your bug reports!
* WinDirStat: https://windirstat.net/
Low on Diskspace? Find out, where it's gone!
* Bulk Rename Utility: https://www.bulkrenameutility.co.uk
It's a bit arcane, but it renames everything in every format you can think of with a bit of practice.
* Text Crawler: https://www.filepuma.com/download/textcrawler_3.0.3-9304/
Grep everything in a directory. Use it for complex Regex searches on windows. Unfortunately new versions are limited by a trial.
* Greenshot: https://getgreenshot.org/
The better snipping tool.
* CurrPorts: http://www.nirsoft.net/utils/cports.html
The better TCPView
* Process Explorer: https://docs.microsoft.com/en-us/sysinternals/downloads/proc...
You know it already.
Edit: Forgot to mention TinyTask, a macro recorder in 30kb or so: https://www.tinytask.net
For file renaming lately ReNamer Lite by den4b has been great. It seems to have all the power of other rename tools with a GUI that makes it very easy to accomplish what you are trying to do.
* Greenshot
can be both replaced by the IMO far superior ShareX https://getsharex.com/
- Text Crawler
you can do the same thing with notepad++ and it's free
* spacesniffer: http://www.uderzo.it/main_products/space_sniffer/
* Licecap -> Gifcam . Similar functionality, slightly more modern UI
* Greenshot -> Jing . Mostly because I'm used to Jing and have it mapped to Ctrl + Print Screen
* Open Hardware Monitor . My Sandy Bridge laptop likes to go into Jet Engine mode and this gives me details as to what the hardware is doing. Combined with procexp and I have a clear view that svchost.exe has gotten away from itself again and its time for a reboot
The productivity focused short version is:
DexPot[0] for creating hotkey driven virtual desktops (similar to how i3 launches and switches between them)
Ditto[1] for multiple clipboards (searchable and has multiple paste types, much better than what comes with Windows 10)
Keypirinha[2] for launching apps and folders with fuzzing searching (IMO much better than what comes with Windows 10)
AutoHotKey[3] for remapping global hotkeys and filling in gaps for specific things you want to do
wsltty[4] for a low input latency rock solid terminal (best paired with tmux for tabs / splits and buffer searches)
There's in depth blog posts and videos on how all of these work in the link at the start of this comment. I've been using Windows as a primary dev environment for ~20 years and the last half of that has been using it for Linux based development (initially with VMs but now with WSL and Docker).
[0]: https://www.dexpot.de/?lang=en
[1]: http://ditto-cp.sourceforge.net/
I have a couple of 16:10 ones surrounding it.
It's not quite ready for daily use yet. Behaviour across multiple monitors I've found unpredictable, the layout editor doesn't really work, and it does some peculiar things (like grabbing hold of the task bar Search window and trying to tile it, fortunately without resizing).
[edit: it also substantially slows switching between virtual desktop on my machine]
Anyone have insight into who Janea Systems [4] is or the history of this project?
[1] https://github.com/microsoft/PowerToys/blob/master/doc/plann...
[2] https://github.com/JaneaSystems/powertoys
They do some interesting work.
FancyZones does look more polished but I wonder if it has multiple monitor support.
(I haven't used Taekwindow since XP so I'm not sure if it still works with modern incarnations)
I have Monitor 1 full width, but monitor 2 split as 2 virtual monitors 60% | 40%.
I seem to spend a fair amount of time organising my Terminal windows just so on my second screen; would like to make this more efficient.
I use High Sierra with 3 external displays, and my windows are almost always in different places when I unplug, plug back in. All monitors are the same model (this might make a difference), but I always plug them into the same port they were connected to previously.
One hypothesis I have is the order I unplug / plug in the monitors matters.
Edit: after some quick testing, I can't seem to reproduce any issues while just briefly leaving my monitors unplugged.
The issue I notice the most is that windows get put back on the wrong monitor. e.g. window A from monitor 1 is now on monitor 2 and window B from monitor 2 is now on monitor 1.
It does: your monitors are likely reporting identical EDIDs. Or, to put it another way, your monitor's manufacturer is incompetent. (Which is sadly quite common.)
Now all the windows stay on the integrated display and I have to restore them myself ... sigh.
This genuinely took zero configuration on my part, besides perhaps going into the Display control panel and changing the zoom level for the 4K display.
Some among them know how to get it right, but the majority just open chrome before plugging in and zoom to 500% afterwards.
Projectors obviously have no idea about the final DPI and TVs often lie, because same board is used across a range of models. It is the TV equivalent of "To be filled by O.E.M." .
My point is less technical: when a new display device appears, the computer can't know how that image is reaching users. It could be VR goggles or it could be a jumbotron in a stadium. A better design would focus making it easier for the user to tune the scale, rather than assuming that the Mac knows best.
(Not up to the OS to override programs and show them where it thinks you want them; “how do I save window position?” used to be a popular question for Windows dev).
Why the onus is put on each application to turn this on is not clear to me.
WinApi provides calls to do the same which iirc goes in the registry, but it's not automatic.
Then it says “huh, screens 1,2 and 3 have disappeared. Better gather all the windows to the primary desktop”.
I have to either disable energy saving, or accept that I need to move my stuff back to screens 2 and 3 every time I’m away for 15 minutes
The PowerToys tool lacks many things, including multiple monitor support, tabs, etc
Agree 'FancyZones' is pretty undercooked at this stage. Promising though.
However the template system is in XAML which is fine if you're au fait with that but can be a bit fiddly to get what you want.
The only other issue I have with it is that the full version - which is definately worth the money - is distributed via the windows store which forces you to have an account with Microsoft. Overall though, excellent.
You can try Windows 7-targeted free version, which lacks some features, but is distributed via a website: https://rink.hockeyapp.net/apps/6037e69fa4944acc9d83ef7682e6...
I am curious though, why do people dislike Windows Store? It is much like mobile stores, provides automatic updates and sandboxes apps (where possible).
It means I have to sign in to windows: I have to deal with it nagging me to change my standard logon to a microsoft logon. I then have to worry about all the other apps and their permissions, privacy implications now and in the future.
I have to give my credit card details to microsoft. I can't easily take the software with me if I need to use another machine/laptop/tablet etc without having to, again, sign into windows in some way and have all of the above congnitave overhead *n machines. Hell even if I make another local user account for testing or whatever I can't even use your software as I again have to sign into windows even though its working for my main logon.
It all adds up to another thing that needs managing/thinking about, which pretty much takes the convienience of (your software, in this case) away.
If you wanted to make it restrictive and painful for your users, you have succeeded!
A bit surprised by the remark about credit card number: of many tech companies, Microsoft is among the last I'd expect to mishandle it.
The credit card being in Microsoft's hands is just another surface that my card is exposed to, perhaps I'm being over zealous worrying on that front.
Are you in academia?
>It is much like mobile stores
I do believe you've answered your own question, haha.
The main reason (in my head) is I do not want to contribute to this non-local, always-connected, environment that's constantly etching away at users' privacy.
As for the mobile store aspect, I don't think the typical power user really enjoys the mobile store. I'm always having to disable auto-updates because developers will make changes that I do not want, push malicious updates, or an update simply breaks the application for me.
Additionally, Microsoft has a habit of building and abandoning these types of programs.
Oh, and the last thing-- I'm not even sure if I can use the store anymore after running those telemetry killers for Win10.
As I type, I realize I could probably write a paper on why I dislike the app store. In fact, I might. I understand the store probably helps your app get seen, but an app targeting powerusers seems best suited elsewhere. However now that there is a free version, you're in the only market you have left - people who don t know there's a free version or cant figure out how to find/use/install it and are willing to pay.
* https://www.ztree.com/html/ztreewin.htm
If anyone ever used xtree gold back in the day - it's the exact same thing, but works with modern windows. Because it's all keyboard based and no mouse, all file operations can be done quickly via muscle memory.
Also another vote for everything mentioned below. Fastest file search there is. Even if I know where something is, it's still quicker and easier to use Everything to find it.
I'm glad they've revived the idea and allowed their developers to publish this repo. I hope they keep adding to it (even though I don't use Windows anymore...)
I was disappointed to find out that this is not the original PowerToys, which offered far more functionality. This appears to be something else, using the same name.
What enterprise is asking for all this junkware to be installed - it makes absolutely no sense for this to be on domain networks. I keep on reading that Microsoft listens "closely" to their customers - and am like - really?
I can. Have you looked at it? Its a 22.2 MB shortcut help screen and some window tiling helper, 22.2 MB of total fluff. Its a direct opposite of what a Power user would want. Original 205 KB PowerToys/Tweak UI were meant for advanced users wanting an easier access to hidden features.
It can result in some epic internal battles.
Once these junkware apps are provisioned once it's a much bigger pain to get them out of default profile land. In other words, you'd better boot straight into audit mode, have everything lined up right to clean this stuff up. And yes, that is Remove-AppxProvisionedPackage . How about adding Remove-AllJunk with some sane defaults?
And why have to do this? I'm the one paying per seat on these installs - and instead of solving problems I am given a bunch of problems.
Get-AppXProvisionedPackage -Online | Select PackageName
Remove-AppXProvisionedPackage -Online -PackageName <PackageName>
Your Remove-AllJunk is basically
Get-AppXProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online
You realize even just an automatic update blows things up?
https://support.microsoft.com/en-us/help/2769827/sysprep-fai...
"You want to remove some of the side-loaded Appx packages from your image and customize it further. You boot into the reference computer and run one of the following PowerShell commands to remove the provisioning of the Appx package: Remove-AppxProvisionedPackage –PackageName <PackageName> Remove-ProvisionedAppxPackage –PackageName <PackageName> When you run sysprep operation in this scenario, the operation may fail with the following error:
System Preparation Tool 3.14 A fatal error occurred while trying to sysprep the machine"