The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘Windows’ Category

When Delphi cannot output the .exe file because it is locked

Posted by jpluimers on 2025/08/20

Sometimes Delphi cannot output the .exe file because it is locked. In even rarer times, Delphi itself keeps the .exe file locked (this has done it for decades and I think this is caused by a bug in the debugger).

A long time ago, I answered how to figure out where the lock comes from. A decade later a comment was added (thanks [Wayback/Archive] Server Overflow) with a command-line tool you can use for that too (but sometimes returns less results). Both are in [Wayback/Archive] compilation – Delphi does not generate any exe file – Stack Overflow Read the rest of this entry »

Posted in Delphi, Development, Power User, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, Windows Development | Leave a Comment »

Quick batch file hack to download a file calling PowerShell to do the heavy lifting

Posted by jpluimers on 2025/08/12

I needed this download-file.bat a while ago, but forgot how I found out.

It’s in this gist too: [Wayback/Archive] Quick batch file hack to download a file calling PowerShell to do the heavy lifting.

Here we go: Read the rest of this entry »

Posted in .NET, Batch-Files, CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows, Windows 10, Windows 11, Windows 8.1 | Leave a Comment »

Hopefully by now the Chocolatey .nuspec extensions and limitations are documented in a more central way

Posted by jpluimers on 2025/08/08

Chocolatey extends the NuGet file format .nuspec based XML files as base for their packages with at the time of writing very sparse and limited documentation in what it extends, why it does that and what extra limitations it imposes on the fields used inside .nuspec files.

Hopefully by now that has improved, so this post is a reminder to myself to check that out eventually.

At the time of writing, the NuGet .nuspec documentation was at [Wayback/Archive] .nuspec File Reference for NuGet | Microsoft Learn and the file format at [Wayback/Archive] NuGet.Client/nuspec.xsd at dev · NuGet/NuGet.Client. Most fields are defined as primitive data types xs:boolean, xs:string and xs:anyURI (of the 19 available primitive XML SChema (W3C) types). Some composite data types are are composed from them using local and global complexType, most using xs:all, xs:attribute or single-type unbounded xs:sequence (which all imply no particular order).

Since an XML Schema allows to both use restriction and extension on data types (the eXtensible in XML!), making them more strict is a relatively straight-forward operation and has the benefit of having these in a central place.

In the past for more than 5 years [Wayback/Archive] Is there a specification for the package format? · Issue #379 · chocolatey/choco was just pointing to the NuGet .nuspec format, but after a request to re-open new comments were made pointing to a current issue (basically a stub, but still) and a Chocolatey nuspec.xsd file, yay!

Still it was a quest to figure out the additional rules they have added, especially since the documentation was sparse and sloppy.

Read the rest of this entry »

Posted in Chocolatey, Development, Power User, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, XML/XSD, XSD | Tagged: , , , , , , | Leave a Comment »

Windows: editing the RLU list of vncviewer.exe

Posted by jpluimers on 2025/08/04

Every now and then you make a typo when accessing remote systems through UltraVNC  vncviewer.exe (I did the worst: thinking I had hit Enter to select the most recent connection, but typing a password instead).

I could not find settings in the registry, nor a vncviewer.ini file, so I used Process Monitor and filtered all events for the most recently started vncviewer.exe to figure out where it would store configuration files.

Read the rest of this entry »

Posted in *nix, *nix-tools, Power User, VNC/Virtual_Network_Computing, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1 | Leave a Comment »

Some notes on testing locally modified chocolatey packages

Posted by jpluimers on 2025/08/01

A few notes after I helped updating [Wayback/Archive] Chocolatey Software | SetACL (Portable) 3.0.6.0 to version 3.1.2.0 and [Wayback/Archive] Updates glab from 1.22.0 to 1.24.1; fixes #2 by jpluimers · Pull Request #3 · corbob/ChocoPackages.

As the burden on maintainers (not just Chocolatey ones) is high, not all packages get updated soon after new underlying software versions arrive.

Which means the maintainers are often very happy when an occasional user helps and preferably sends in a pull request.

That brings me to the an important point IN DOCUMENTATION DO NOT LIMIT EXAMPELS TO ONLY ABBREVIATED PARAMETERS OR VERBS as that scares away occasional and novice users of your software.

Chocolatey documentation is no exception on this, hence this blog post meant for people other than maintaining chocolatey packages on a day to day base.

Read the rest of this entry »

Posted in CertUtil, Chocolatey, CommandLine, Conference Topics, Conferences, Development, Event, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows | Tagged: , , , , | Leave a Comment »

PowerShell: playing around with Get-PnpDevice filtering with -Class and -Status

Posted by jpluimers on 2025/07/29

I while ago I was playing around in PowerShell with Get-PnpDevice (which got introduced in Windows 10 and Windows Server 2019):

[Wayback/Archive] Jeroen Wiert Pluimers: “@jilles_com … this is the difference between only connected disks versus including ones that had been connected in the past.Output difference between Get-PnpDevice -Class DiskDrive -Status OK Get-PnpDevice -Class DiskDrive …” – Mastodon

Read the rest of this entry »

Posted in .NET, Batch-Files, CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows, Windows 10, Windows 11 | Leave a Comment »

Overlay of commands / shortcuts / keys pressed – Screencast Mode · Issue #981 · microsoft/PowerToys · GitHub

Posted by jpluimers on 2025/07/23

This is a reminder to check if this below late 2019 proposal inspired by Visual Studio Code Screencast mode¹ already made it: [Wayback/Archive] Overlay of commands / shortcuts / keys pressed – Screencast Mode · Issue #981 · microsoft/PowerToys · GitHub which mentions some tools that can already do this

Here is a list of FOSS apps that currently do this (sorted by stars):

To add to this list (unsorted):

In the meantime, I am using Key-n-Stroke as it is the only still supported one I found that is easily turned off/on when typing sensitive content like passwords:

Read the rest of this entry »

Posted in .NET, Development, Keyboards and Keyboard Shortcuts, KVM keyboard/video/mouse, Power User, PowerToys, Software Development, vscode Visual Studio Code, Windows | Tagged: , | Leave a Comment »

The CAT files that prove Windows driver files are signed: some links on decoding them

Posted by jpluimers on 2025/07/23

Maybe in the future I have enough energy to play around more with the Windows .CAT files that are catalog files with digital signatures for Windows driver files (.sys) that can be installed via Windows information files (.inf).

Some links for that:

Read the rest of this entry »

Posted in Power User, Windows, Windows 10, Windows 11 | Leave a Comment »

Disabling the ever returning screens after Windows install/upgrade, and advertisements/feeds

Posted by jpluimers on 2025/07/21

This started out ad a post to make things easier for my mentally brother, but then I figured it makes it so much easier for myself as well: getting rid of the evern returning Windows nag screens. Not just the ones after logon during initial Windows install that get back about every other Windows 20H update (thank god they stepped away from 19## version numbering that felt so, ehm, last millennium), but also the various “suggestions” in start menu, on the taskbar and elsewhere.

I understand that basically giving Windows 10 and 11 for free to many Windows 7/8 licensed machines or Windows-preinstalled machines induces Microsoft to see Windows as an advertising environment, but hey: many users can do without these distractions.

It is hard to solve, as even the underlying registry settings seem to be reset every once in a while, and solving it globally is not an option: the settings are a per-user one. Which means you need to run script early during every Windows logon to overwrite these settings.

Read the rest of this entry »

Posted in Batch-Files, CommandLine, Conference Topics, Conferences, Development, Event, Power User, PowerShell, PowerShell, Registry Files, Scripting, Software Development, Windows, Windows 10, Windows 11, Windows Development | Tagged: | Leave a Comment »

The queste on figuring out why iqvw64e.sys is considered unsafe in Windows 11 22H2 after upgrading from Windows 10 on a Dell Optiplex 3060 Micro system

Posted by jpluimers on 2025/07/18

It started with this tweet [Wayback/Archive] Jeroen Wiert Pluimers @wiert@mastodon.social on Twitter: “Does anyone know why this iqvw64e.sys file from @Dell is considered unsafe? It is signed by @IntelSoftware and resides in C:\Program Files\Dell\SupportAssistAgent\PCDr\SupportAssist\6.0.7033.2285\iqvw64e.sys iqvw64e.inf in the same directory: 04/06/2018,1.3.2.17 @IntelSupport? “

Read the rest of this entry »

Posted in Dell Optiplex 3060/5060/7060 Micro, Hardware, Power User, Windows, Windows 10, Windows 11 | Leave a Comment »