Archive for the ‘Windows’ Category
Posted by jpluimers on 2026/05/13
The Scoop repository lists this first time Scoop install command at [Wayback/Archive] ScoopInstaller/Scoop: A command-line installer for Windows. – installation:
Run the following command from a non-admin PowerShell to install scoop to its default location C:Users<YOUR USERNAME>scoop.
iwr -useb get.scoop.sh | iex
[Wayback/Archive] ScoopInstaller/Install: 📥 Next-generation Scoop (un)installer is very similar:
Run this command from a non-admin PowerShell to install scoop with default configuration, scoop will be install to C:Users<YOUR USERNAME>scoop.
irm get.scoop.sh | iex
# You can use proxies if you have network trouble in accessing GitHub, e.g.
irm get.scoop.sh -Proxy 'http://<ip:port>' | iex
The Scoop homepage at [Wayback/Archive] Scoop.sh is not much better:
Read the rest of this entry »
Posted in Batch-Files, CommandLine, Development, Power User, PowerShell, PowerShell, Scoop, Scripting, Software Development, Windows | Leave a Comment »
Posted by jpluimers on 2026/05/07
A few years back this trick was shown to screw up %windir%\system32 [Wayback/Archive] Patrick Doyle on Twitter: “@SwiftOnSecurity @RoseAreaZero Delete any file in three easy steps: > takeown /F "example.ext" > icacls "example.ext" /grant "%USERNAME%":F > del "example.ext"“.
Like [Wayback/Archive] SwiftOnSecurity (@SwiftOnSecurity) / Twitter (see the long thread further below), I was expecting that Windows would either prevent you from doing this at all, or allow for easy recovery with System File Protection (now Source: Windows File Protection).
That didn’t prevent or recover it back then.
I wonder if that has been changed by now.
From the above Tweet:
Delete any file in three easy steps:
> takeown /F "example.ext"
> icacls "example.ext" /grant "%USERNAME%":F
> del "example.ext"
Read the rest of this entry »
Posted in Batch-Files, Development, Power User, Scripting, Security, Software Development, Windows, Windows 10, Windows 11, Windows Development | Leave a Comment »
Posted by jpluimers on 2026/04/21
This batch file works for modern Click-to-Run (sometimes called ClickToRun, Click2Run or C2R) based Office installations (note the odd lowercase microsoft shared which indeed is the actual directory name):
if exist "%CommonProgramFiles%\microsoft shared\ClickToRun\OfficeC2RClient.exe" (
"%CommonProgramFiles%\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user
) else (
echo could not find the Office Updater
)
This for sure does not work for MSI based Office 2013 and lower (which are updated through Windows Update anyway). Since I only have 2021 online (Click-to-Run) installs and higher to test with: those work fine.
Read the rest of this entry »
Posted in Batch-Files, Development, Office, Office 2021, Office Development, Power User, Scripting, Software Development, Windows, Windows Development | Leave a Comment »
Posted by jpluimers on 2026/04/17
More than 10 years ago, I needed a MIME decode for Windows as I was developing some software which implemented S/MIME could sign automatically generated emails and verify incoming ones.
I wrote more about the latter part in Some notes on OpenSSL, S/MIME, email, various RFC standards and their relations.
Now finally the post about what I wanted to schedule for posting back then as well: my question looking for a [Wayback/Archive] MIME decoder for Windows – Super User:
Read the rest of this entry »
Posted in *nix, *nix-tools, base64, Development, Encoding, Linux, MIME, Power User, Software Development, Windows, WSL Windows Subsystem for Linux | Leave a Comment »
Posted by jpluimers on 2026/04/09
Some links on the [Wayback/Archive] FILTERXML function – Microsoft Support.
It is only available on Windows (because of the underlying XPath libraries used, I think it is MSXML), and “only” as of Excel 2013, but still can be useful.
Some links below on FILTERXML and related XPath information so I can more easily find their content back.
Notes:
FILTERXML only supports XPath 1.0
- The quotes are huge, for one because I don’t use Excel enough to be an expert, but have enough software experience to sometimes want to use complex concepts in Excel. Having all this in one place helps me with that goal.
- You need to ensure your data is either XML in a well-formed document format, or you can translate your data to well-formed XML.
The links and quotes starting with the question that sparked my interest:
Read the rest of this entry »
Posted in Development, Excel, Office, Office 2013, Office 2016, Office VBA, Power User, Scripting, Software Development, Windows, XML, XML/XSD, XPath | Leave a Comment »
Posted by jpluimers on 2026/04/08
I could not find a reliable per-user setting that works with just logoff/logon for Windows 11 like I found for Windows 10 in Disabling the Windows 10 and Windows 11 news (and weather) feeds.
So (for now?) there is only a global Globally which needs admin rights and a logoff/logon sequence:
:: requires admin
reg add "HKLM\Software\Policies\Microsoft\Dsh" /v "AllowNewsAndInterests" /t REG_DWORD /d "0" /f
echo logoff/logon to apply the change, or restart Explorer
Via:
Read the rest of this entry »
Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows, Windows 10, Windows 11 | Leave a Comment »
Posted by jpluimers on 2026/03/31
Forgot to schedule this one when I saw it two weeks ago: [Wayback/Archive] Sweep the Strait.
Apart from demonstrating that Trump never had a plan, does not and will not have a plan, it is cool to see Minesweeper developed in JavaScript, HTML and CSS mapped with some geodata onto a real map of the Strait of Hormuz.
Cool idea!
It has a function Windows 3.x UI with functional menu (Game -> New Game; Help -> How to Play)
At first, I thought the original developer is this:
However, in fact the developer is:
Read the rest of this entry »
Posted in CSS, Development, HTML, JavaScript/ECMAScript, Opinions, OS/2, Power User, Retrocomputing, Scripting, Software Development, Web Development, Windows, Windows 3.11 | Leave a Comment »
Posted by jpluimers on 2026/03/13
The notes are based on the NanoKVM PCIe as that is what I wanted to set-up on a Windows 11 compatible PC that could be remotely managed for someone not savvy enough to do that themselves. They had an old Supermicro based PC with IPMI which kind of does IPKVM when using the embedded video hardware, but back when I wrote this early 2025 – the year Windows 10 would become end-of-life – it was:
- a nightmare to figure out which Supermicro mainboards were Windows 11 compatible
- remote IPMI tooling ¹ was a pain to get working (the most important one is IPMIView which requires Java and even with Java installed would have issues connecting to various generations of IPMI)
- newer KVM tooling has way better
- user experience than classic ones like IPMI and iDRAC
- features like for instance WireGuard support which makes for way less network configuration
- open source software (for at least NanoKVM I mention here, but also for Pi-KVM which has the drawback of also requiring a Raspberry Pi)
Since none of the modern remote KVM hardware tooling seems to be able to do passthrough video, the solution I researched for was to split the outgoing video signal (either Displayport or HDMI), then optionally convert Displayport to HDMI and finally route that HDMI into the remote KVM hardware.
Links
Read the rest of this entry »
Posted in Displays, Hardware, IPMI, KVM keyboard/video/mouse, Power User, SuperMicro, Windows, Windows 11 | Tagged: 339 | Leave a Comment »
Posted by jpluimers on 2026/03/10
TL;DR: There is no simple character that works on both MacOS and Windows.
[Wayback/Archive] sorting – Simple to enter Unicode character that would sort after Z in most cases? – Stack Overflow (thanks [Wayback/Archive] sorin and [Wayback/Archive] degenerate):
A
On Windows, none of these options work because they all sort before A.
A solution I ended up using is an Arabic character:
ٴ This folder comes after z in windows
Source
According to [Wayback/Archive] What Unicode character is this ?, the above mentioned character is U+0674 : ARABIC LETTER HIGH HAMZA.
Note that on Windows the ٴ character displays at the start of the filename, but on MacOS in Finder it ends up behind the extension (as Arabic script is right-to-left) and is very hard to remove. On the MacOS Terminal it ends up on the left and is easy to modify.
Read the rest of this entry »
Posted in Encoding, Power User, Unicode, Apple, Windows, Mac OS X / OS X / MacOS | Leave a Comment »