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,861 other subscribers

Archive for 2021

Windows 10: remove applications from the uninstall list

Posted by jpluimers on 2021/11/04

After doing Windows upgrades to Windows 10, every now and then I bump into applications that do not fully uninstall themselves and get stuck on the uninstall list (that you get when running appwiz.cpl or browse to the Control Pannel installed programs list).

[WayBack] How to Manually Remove Programs from the Add/Remove Programs List mentions to inspect registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall, but that didn’t include some of the applications.

Then I found [WayBack] Remove entry from Windows 10 Apps & Features – Super User, where the answers mentions two other keys (thanks users [WayBack] Kreiggott and [WayBack] NutCracker):

  • HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall

Neat!

So I made the below PowerShell script to dump installed programs.

It grabs the list of registry keys containing installed software and their registry values, then empirically filters out most values that are also now shown in AppWiz.cpl.

Like database work, the values can have properties having a value or being null. So it’s SQL like expression galore to do the filtering.

This post is slightly related to Still unsolved since 2015 NetBeans: Bug 251538 – Your Installer is Creating Invalid Data for the NoModify DWORD Key which crashes enumeration of the Uninstall Key in at least PowerShell, where I already did (without documenting) some Uninstall spelunking.

## The collection of registry keys gives Name and Property of each registry key; where Property is compound containing all registry values of that key.
## Get-ItemProperty will get you all the values on which you can filter, including a few special PS* values that allow you to browse back to the registry key.

# x86 installs on x64 hardware: http://stackoverflow.com/questions/12199372/get-itemproperty-not-returning-all-properties/12200100#12200100
$nonUninstallableSoftwareRegistryKeys = (@
(Get-Item HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*)) + 
(Get-Item HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*) + 
(Get-Item HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*)
    
#$nonUninstallableSoftwareRegistryKeys.GetType().FullName
#$nonUninstallableSoftwareRegistryKeys | Get-Member
#$nonUninstallableSoftwareRegistryKeys | Out-GridView
#$nonUninstallableSoftwareRegistryKeys | Get-ItemProperty | Get-Member
#$nonUninstallableSoftwareRegistryKeys | Get-ItemProperty | Out-GridView
#Return
    
$nonUninstallableSoftwareRegistryNameValues = $nonUninstallableSoftwareRegistryKeys | 
    Get-ItemProperty |
    Where-Object {
        $_.SystemComponent -ne 1 -and $_.NoRemove -ne 1 -and
        $_.UninstallString -ne "" -and $_.UninstallString -ne $null
    }
# Filters out most things that AppWiz.cpl will leave out as well.
# Might need more fine tuning, but is good enough for now.

# PSPath shows the path to the underlying registry key of each value
$nonUninstallableSoftwareRegistryNameValues |
    Select-Object SystemComponent, NoRemove, DisplayName, DisplayVersion, UninstallString, PSChildName <#, PSPath #> |
    Sort-Object DisplayName |
    Out-GridView
# Need to find a good way to output this in a really wide Format-Table text format.

–jeroen

Posted in CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows, Windows 10 | Leave a Comment »

I love the way it shows “Duden Offline”

Posted by jpluimers on 2021/11/04

This does not happen often, and I found the way that [WayBack] Duden Offline is indicated hilarious!

It’s just a “basic” HTML page showing the meaning of “Wartung” (German word for Maintenance).

Duden is het German equivalent of the Oxford English Dictionary.

Not all of the huge site was gone. Part of the “Rechtschreibung” was still there, including the Wikipedia entry (:

I wonder what that one shows during maintenance (:

Links:

–jeroen

Read the rest of this entry »

Posted in CSS, Development, Fun, HTML, HTML5, Power User, Software Development, Web Development | Leave a Comment »

Some links on embedding browsers on Linux using .NET

Posted by jpluimers on 2021/11/03

For my research list. Links thanks to Matthijs ter Woord.

–jeroen

Posted in .NET, Development, Power User, Software Development, Web Browsers | Leave a Comment »

Terminating a script in PowerShell – Stack Overflow

Posted by jpluimers on 2021/11/03

I have the same problem mentioned in the answer to [WayBack] Terminating a script in PowerShell – Stack Overflow: confused by most answers, and keeping to forget what each method means (there is Exit, Return, Break and (if you love exception handling to do simple flow control), Throw.

So here is the full quote of what [WayBack] User New Guy answered:

Read the rest of this entry »

Posted in *nix, CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows | Leave a Comment »

Some links on SMTP tar-pit to lessen SPAM

Posted by jpluimers on 2021/11/03

Some links for my archive; note that pure tar-pits by now are also hampering large email sender services like SendGrid, Mailgun and Amazon SES.

So the below links are for educational and historic purposes only.

I assembled these links because out of a sudden, Ring 2FA verification emails could not be delivered any more.

Ring 2FA came mandatory towards the end of February 2020.

Some links on that:

Sendmail timeouts:

–jeroen

Read the rest of this entry »

Posted in *nix, Communications Development, Development, HIS Host Integration Services, Internet protocol suite, Power User, SMTP | Leave a Comment »

Word for Mac 2011: create macro or shortcut to ‘Insert Picture – Microsoft Community

Posted by jpluimers on 2021/11/02

As it combines VBA and AppleScript, I might need the script from this in the future [WayBack] Word for Mac 2011: create macro or shortcut to ‘Insert Picture – Microsoft Community.

–jeroen

Posted in Development, Office, Office 2011 for Mac, Office Automation, Office VBA, Scripting, Software Development | Leave a Comment »

Developing with microservices…

Posted by jpluimers on 2021/11/02

Maybe I laughed a little bit too loud (:

Via: [Archive.is] Kenji Matsuoka on Twitter: “Have you seen this gem? … “

–jeroen

Read the rest of this entry »

Posted in Development, Micro Services, Software Development | Leave a Comment »

In case I ever need to jail-break a Mikrotik device

Posted by jpluimers on 2021/11/02

Some links in case I ever need to jail-break a Mikrotik device:

–jeroen

Posted in Development, Internet, MikroTik, Power User, routers, Software Development | Leave a Comment »

Frontiers | Autism, Joint Hypermobility-Related Disorders and Pain | Psychiatry

Posted by jpluimers on 2021/11/01

For my link archive:

Autism Spectrum Disorder (ASD) and Joint Hypermobility-Related Disorders are blanket terms for two etiologically and clinically heterogeneous groups of pathologies that usually appears in childhood. These conditions are seen by different medical fields, such as psychiatry in the case of ASD, and musculoskeletal disciplines and genetics in the case of hypermobility-related disorders. Thus, a link between them is rarely established in clinical setting, despite a scarce but growing body of research suggesting that both conditions co-occur more often than expected by chance. Hypermobility is a frequent sign of hereditary disorders of connective tissue (e.g. Ehlers-Danlos syndromes, Marfan syndrome), on which the main characteristic is the multisystem fragility that prone to proprioceptive and motor coordination dysfunction hence to trauma and chronic pain. Considering the high probability that pain remains disregarded and untreated in people with ASD due to communication and methodological difficulties, increasing awareness about the interconnection between ASD and hypermobility-related disorders is relevant, since it may contribute to identify those ASD patients vulnerable to suffer from pain.

[WayBack] Frontiers | Autism, Joint Hypermobility-Related Disorders and Pain | Psychiatry

Via: [WayBack] Autist Making Way onTwitter: “there’s not a ton of research, but anecdotally there does seem to be a link: … “

–jeroen

Read the rest of this entry »

Posted in About, Personal, Power User | Leave a Comment »

Aangifte erfbelasting 2021 (pdf)

Posted by jpluimers on 2021/11/01

Voor mijn linkarchief, want ik moet indienen de [Wayback/Archive.is] Aangifte erfbelasting 2021 (pdf):

Downloaden

De meeste mensen doen online aangifte erfbelasting

Online aangifte doen op Mijn Belastingdienst heeft veel voordelen. U kunt:
  • gegevens invullen voor meerdere erfgenamen
  • meerdere onroerende zaken, bankrekeningen of leningen invullen
  • meteen zien welke vragen voor u van belang zijn
  • uw gegevens tussendoor opslaan
    Een andere dag verder? Geen probleem. Alles wordt bewaard.

Retouradres

Stuur het ingevulde en ondertekende formulier naar:

Belastingdienst/kantoor Eindhoven
Antwoordnummer 14660
5600 WK  Eindhoven

Online zit er waarschijnlijk niet in, want rondje rechtbank vanwege curatele.

–jeroen

Posted in About, LifeHacker, Personal, Power User | Leave a Comment »