A couple of years ago, I wrote a blog article about setting up Monit monitoring on an Ubuntu VM on Hyper-V. Now it’s time to do the same, but then in Windows Subsystem for Linux, or WSL. So, without further ado, here is how to install and configure Monit monitoring in Windows 10 WSL. Continue reading
Since WannaCry and Petya ransomware were spreading through Windows systems in 2017, it’s recommended to have Server Message Block (SMB) version 1 disabled in Windows clients and Windows Server. Now SMBv1 is not installed by default in Windows 10 1709 and Windows Server, version 1709 and later, but how can you be sure it is disabled in older versions of Windows? Easy: PowerShell. Continue reading
To add a .reg file silently to your Windows registry, you can use the Continue reading
regedit command. As almost always, the
/s parameter is for silent and
/q for quiet.
Ever wondered why Windows Server Update Services (WSUS) offers Flash updates for Windows Server? Adobe Flash Player is installed on Windows Server 2016 if you have the Remote Desktop Session Host (RDSH) role installed. Yikes! I can imagine you want to delete Adobe Flash Player without deleting the RDSH role, and here is how. Continue reading
Daniel Stenberg writes on daniel.haxx.se blog:
HTTP/3 is the coming new HTTP version that uses QUIC for transport! That’s an interesting development to follow, HTTP(S) over UDP and how that’ll go with (small) office and home equipment hardware, IOT, middleware… Continue reading
Tips to optimize the performance of Umbraco powered websites
Umbraco is a popular, ASP.NET powered, content management system (CMS). Even though it performs pretty well, here are 11+ optimization tips for Umbraco on IIS. Continue reading
Apache Access Control done right, ‘Allow/Deny from all’ versus ‘Require All Granted/Denied’
Since Apache 2.4.6, a new module is used to configure and set up access control for websites: mod_authz_core. This means you have to use a different syntax for allowing or blocking hosts and IP addresses to your website. But unfortunately, old documentation is never updated and people even still write blog posts using that old syntax, leaving you with an unprotected website. Not what you had in mind, now is it?… Continue reading
On a newly installed workstation or server, you might encountered the following subversion error when you commit a change: Continue reading
Manually fail-over an SQL Server database mirroring session
How to perform a (forced) manual fail-over by using Transact-SQL in SQL Server 2017. This can only be initiated from the principal server, and the mirrored database must be synchronized (that is, when the database is in the SYNCHRONIZED state). Continue reading
With the Hyper-V Quick Create feature added in the Windows 10 Fall Creators Update, Microsoft have partnered with Ubuntu and added a virtual machine image. So in a few quick minutes, you’ll be up and developing. This is available now – just type “Hyper-V Quick Create” in your start menu! Continue reading
A connection string is sometimes a bit obscure. Do I need ODBC or OLE DB? When you need one and Google for it, you often find old ones that either don’t work at all anymore, or are not optimal. This article provides you with a couple of example connection strings to connect ASP.NET and ASP to Microsoft SQL Server or MySQL. Continue reading
Just a quicky: Start all stopped application pools in IIS that have the autostart property set to true. Easily with Continue reading
appcmd, and here’s is how.
Whenever you need to test your ASP.NET connection to your MySQL database, using ODBC, you can use the following C# test script. Currently it uses MySQL ODBC 8.0 Unicode Driver, but you can easily change the version used. As a bonus it prints some connection information and it requires an SSL connection to your MySQL database ( Continue reading
How to use the Windows PowerShell cmdlet Get-ItemProperty to work with file attributes.
Working with PowerShell’s Continue reading
Get-ItemProperty to get file attributes may boost your work productivity. It’s often easier to getting things done if you have a more generic way of doing something. Here is how to use
Get-ItemProperty in PowerShell to perform and streamline day to day tasks like installing or updating software based on file versions.
What’s next for Windows 10 and Windows Server quality updates
Microsoft’ll be bringing a new design for quality updates to the next major versions of Windows 10 and Windows Server, coming later this year, Maliha Qureshi writes. This design creates a compact update package for easier and faster deployment. Continue reading