Category Archives: How-to

Windows Update error 0x80240023 (WE_E_EULAS_DECLINED) on Windows 10 (feature update 2004)

Recently I was cleaning up some malware from Asus Windows 10 laptop. It took using AV software boot disk to remove malicious software and after that I upgraded Windows 10 to the latest feature update/build (2004). Windows Update was working pulling some more update but finally stuck with 0x80240023 (WE_E_EULAS_DECLINED) error and it took a bit too long for me to solve this problem, so taking a note of resolution here.

As machine has been infected I was suspecting that I might not had cleaned up it completely but in the end it was a problem of rare combination of Windows 10 2004 with Office 2007. There was basically one specific update for Office 2007 which was failing to be installed without being able to properly say so (it was Microsoft Office File Validation Add-in update). I went for using “Show or hide updates” troubleshooter package which allows you to hide/prevent specific update from installing. Once I launched it I saw this one pending update and hide it which cleared up the error. It seems that as an alternative solution you may try to install it manually locating OFV.cab in C:\Windows\SoftwareDistribution\Download, extracting it and running OFV.msi. As I understand there is some unexpected request for user input on installation of this thing, but I end up just hiding this update, although not without trying bunch of other solution like rebuilding Software Distribution directory and so on.

Another issue with this laptop was random waking up from sleep state, which user saw as random power on, that was resolved through disabling wake up timers on all Windows power plans as well as ensuring machine being shut down instead of put to sleep (hiding Sleep option from power off menu etc.).

Please follow and like us:

WhatsApp Desktop Windows – app window cannot be resized

I’ve recently run into issue on my Windows 10 machine with WhatsApp Desktop app – it was keep running in maximized window mode without possibility to resize window/make it smaller. I was ignoring/tolerating that for quite some time, next looked for a setting in app GUI which could have trigger this (there is none) and checked if my app is of the latest version (it is). So it was time to google a bit to find a solution which I’ll just share below.

In case you cannot minimize your WhatsApp Windows app window and it keep running in maximized mode, you should do the following to get back an ability to perform window resize:

  1. Navigate to %appdata%\WhatsApp folder and open settings.json file located here in text editor.
  2. Change “isFullScreen” setting value from true to false and restart WhatsApp app.

Just writing this down to have a record of the fix 🙂

Please follow and like us:

How to identify an empty K2 role

In some scenarios you may have empty K2 roles with no users added, and in the past it was possible to create new role in K2 Management without adding any users into it or delete all users from the role (this is not the case in current versions of K2). When you have K2 role with no users K2 will be logging error shown below on each attempt to resolve this role (look at Interval configured for this role in DestQueue table to get an idea about error frequency, and the same will be logged every time when role used as a destination etc.):

“1 The K2.net 2003 Destination Queue SecurityLabel provider ” does not exist at K2DestQueue.RunDestQueue(Object obj)”

To address/remove that error you need to identify empty role first which can be done with help of the following SQL query run against K2 DB:

Once empty role identified you either delete it or add some user into it to get rid of error message, or as a third option you can increase its refresh interval in DestQueue table to decrease frequency with which this error will be logged in K2 host server logs.

Please follow and like us:

Unable to add HTTPS binding for SSRS 2014

I recently bump into an issue with HTTPS binding configuration for SSRS 2014. Instance was not touched for quite some time and self-signed HTTPS certificate expired. I generated new one and was trying to add new binding but SSRS console was keep removing HTTPS binding immediately after adding it with “We were unable to create the certificate binding.” message. I believe it was accompanied by HRESULT: 0x80040241. Internet is full of information on the problem and it looks like this thread, for example contains exhaustive list of things you need to check. But basically it turned out that beyond review and manual clean up of urlacls (netsh http show urlacl / netsh http delete urlacl) it was also necessary to copy my self-signed PS generated certificate from machine Personal store into machine Trusted root certificates store (hint was found here).

In a nutshell: when adding SSRS binding fails you need to know that those are not represented nowhere in IIS GUID, update your certificate (remove old, add new and be sure it is trusted on a Trusted Root level), next be sure you use right (non occupied by other services) ports and host names clearing up SSL reservations if necessary ( netsh http show urlacl / netsh http delete urlacl). Read error message you have and drill down into details to see error code – despite not showing its site and bindings in IIS console SSRS console does everything it can to say you what’s wrong / why it can’t proceed with adding binding, though I do admit underlying infrastructure of scattered configs and urlacls reservation can be intimidating at times.

Please follow and like us:

How to collect process dump with LeakTrack information using ProcDump + Debug Diagnostic Tool

Just a short note on how to collect process dump including LeakTrack information.

Download latest version of Microsoft Debug Diagnostic Tool, at the moment it is Debug Diagnostic Tool v2 Update 3 and install it going through an installation wizard steps as shown below:

Debug Diagnostics Installation Wizard Page 1
Debug Diagnostics Installation Wizard Page 2
Debug Diagnostics Installation Wizard Page 3
Debug Diagnostics Installation Wizard Page 4
Debug Diagnostics Installation Wizard Page 5

Once installation wizard completes, download ProcDump and unzip it on the server where you going to collect dump file. Next, run DebugDiag 2 Collection:

DebugDiag 2 Collection icon in Start Menu

Cancel out initial “Select Rule Type” dialog:

Debug Diagnostic Tool – Select Rule Type

Navigate to Processes tab select process for which you need to collect
LeakTrack, right click on it and select Monitor For Leaks:

Debug Diagnostic Tool – Monitor For Leaks

Click Yes in “Do you want to enable ‘Service Mode’ and continue” pop up:

Debug Diagnostic Tool – Enable Service Mode

You will see confirmation that monitoring for leak has started:

Debug Diagnostic Tool – Monitoring for leaks in the specified process

Now let it run and wait till the process you monitor use up large amount of RAM and take dump using procdump.exe, you can see some hints on the command line syntax below:

Script to run procdump.exe

Once dump taken you can stop monitoring for leaks and close Debug Diagnostic tool:

Debug Diagnostic Tool – Stop Monitoring For Leaks

After following steps above your process memory dump should contain LeakTrack information. You can tell that by the dump file size – if you take a dump without enabling Monitor For Leaks option in Debug Diagnostic Tool at the same time you will see that your dump file size will be smaller if compared with one which you take while running Monitor For Leaks .

Please follow and like us: