Microsoft Privacy

How to fix all UWP/WinUI apps being laggy in Windows 10/11?

This article explains one way to fix horribly laggy desktop user experience in Windows 10 (and probably 11) when your laptop is beefy enough it should not lag, and even has a dedicated NVIDIA Graphics card. At least applying this fix is going to be quite straightforward – but let me explains first what the issue I experienced actually was like. Background Posts Related to “How to fix all UWP/WinUI…Continue reading How to fix all UWP/WinUI apps being laggy in Windows 10/11?

SOLVE ALL THE ERRORS!

How to fix “This file does not have an app associated with it for performing this action” in Windows 10/11?

Another fun Windows-related debugging article! This time, I had to dive in to find a fix to an error along the lines of “This file does not have an app associated with it for performing this action.” constantly popping up on my Windows 10 workstation. While I had this error constantly popping up, the same fixes should apply to the situation when the error only comes up when you’re actually…Continue reading How to fix “This file does not have an app associated with it for performing this action” in Windows 10/11?

IIS 10 welcome splash

How to install IIS (Internet Information Services) on Windows 10?

It’s the roaring twenties again, cloud is the hot stuff, and nobody needs a server anymore. Right? Nope! I’ve been involved in more on-prem or hybrid projects in the last 12 months than in the last 3-4 years combined. There are plenty of industries and valid uses for still setting up on-prem servers. And quite often, that includes setting up IIS (Internet Information Services) on said machines. And of course,…Continue reading How to install IIS (Internet Information Services) on Windows 10?

PowerShell not loading them DLLs

How to resolve issues when loading DLLs in PowerShell?

This post describes a few different things that can (and will) go wrong when you’re trying to load DLLs in PowerShell, and a couple of ways you can try to fix them. Typically, you’d run into an error message like “Exception calling LoadFrom with 1 argument(s): Could not load file or assembly…. “ These issues most typically arise when you’re running a PowerShell script that depends on certain DLLs to…Continue reading How to resolve issues when loading DLLs in PowerShell?

Unorthodox configuration: How to use VLK and Click-to-run Office Apps side-by-side (Visio and Office 2016 as an example)

Ever had issues with different versions of Office programs not living in harmony together? Me too! This post describes how I was able to fix the issue and get Visio and Office 2016 of different installation types to play well together. Preface This blog post was inspired by my need to have Office 365 ProPlus (2016 versions) and Visio running side-by-side on my laptop. That turned out to be a…Continue reading Unorthodox configuration: How to use VLK and Click-to-run Office Apps side-by-side (Visio and Office 2016 as an example)

How to prevent Outlook and other programs from stealing focus

Imagine being deeply focused on a very important and time-sensitive task and, all of a sudden, an incoming email throws you off by jumping into focus. I am sure you don’t need to imagine too hard as this has likely annoyed you in the recent past too, right? Here is a guide to help you make sure that no piece of software has the ability to “jump to the top”…Continue reading How to prevent Outlook and other programs from stealing focus

System.InvalidOperationException'

Using Dispatcher to update values in GUI elements from a background thread

If you’re developing something like a WPF app and you need to update values on the User Interface based on a long-running operation that runs in a background thread (like depicted in my other blog post right here – that post is for a full-trust SharePoint solution, but the basic principle is the same!). yOU probably need to use Dispatcher, or otherwise, you’ll run into issues with the GUI elements being…Continue reading Using Dispatcher to update values in GUI elements from a background thread

Visual Studio's Attach to Process -dialog

Attaching the Visual Studio debugger to the right IIS worker process

Every now and then comes the time when you’d actually need to debug something, and then you’ll likely be using your Visual Studio to attach the debugger to one or more processes. Using CKSDev to attach to all IIS worker processes (w3wp.exe), or if you don’t use CKSDev, just pressing ctrl+p and selecting the processes from the list, is often a good enough solution. However, sometimes that makes your dev…Continue reading Attaching the Visual Studio debugger to the right IIS worker process

Troubleshooting guide for Windows hosts file

This post describes how to fix possible issues with the Windows hosts file. I’ll first document how to find the damn file, and then go through a bunch of options on what to check and how to fix different possible issues. Opening the hosts -file First of all, the host’s file location is usually: C:\Windows\System32\drivers\etc\hosts (link may or may not work depending on your security settings and browser version, but…Continue reading Troubleshooting guide for Windows hosts file