Sysadmins of the North (Page 3)

Technical SysOps blog, where topics include Sysadmin, DevOps, computers, servers, web, MySQL, database, virtualization, optimization and security

How to optimize Umbraco 8 performance

Out of the box, Umbraco is a well built and pretty fast content management system. However, it is still important you perform some steps to further optimize Umbraco's performance and loading speed.

3 Ways of blocking sendmail.php on IIS webserver

Here are 3 ways of blocking access to a PHP sendmail.php script on your Windows Server IIS webserver. This comes in handy if a websites on your webserver sends out spam and you need to block access to a script on a specific website or globally in IIS. You can use a web.config file for this purpose, and here is how.

How to extend TinyMCE in Piranha CMS?

In Piranha CMS you can easily extend TinyCME with additional plugins, here is how.

How to add a trailing slash in Umbraco 8

This article shows you how to add a trailing slash to URL's in Umbraco 8, using IIS URL Rewrite Module, without breaking the Umbraco backend. Forcing one particular URL avoids duplicate content, which is important for SEO.

Adding VirtIO drivers to Windows Recovery Environment (Windows RE)

Learn how to add VirtIO drivers to your Windows Recovery Environment (Windows RE) to recover your Windows virtual machines. Using Powershell ofcourse and Windows Server 2022.

Retrieve SSH public key from Active Directory for SSH authentication

If you have tens (hundreds) of servers and/or users it's easier to retrieve user SSH public keys from Active Directory (AD) than from various unmanaged authorized_keys files.

Install SQL Server cumulative updates silently

Installing SQL Server cumulative updates is always a cumbersome, and quite daunting task. Unpacking and running the CU installer is a slow process, you have to click through a lot of screens, and it's hard to get it to install silently. But here is how!

Remove computer object from Windows Server Update Services (WSUS) in PowerShell

Here is a short PowerShell snippet for you to remove a computer object from Windows Server Update Services (WSUS).

How to add, list and remove IP addresses in Windows Firewall

How to bulk add IP addresses in Windows Firewall, list an IP address and how to remove all IP addresses from Windows Defender Firewall with Advanced Security

Block brute force attacks on SQL Server, block IP addresses in Windows Firewall using PowerShell

This PowerShell solution blocks IP addresses that are trying to brute-force your SQL Server logins, by blocking IP addresses in Windows Defender Firewall with Advanced Security.

Windows Defender: Turn off routine remediation (DisableRoutinelyTakingAction)

You can turn off Windows Defender routine remediation using a GPO setting called "DisableRoutinelyTakingAction". This policy setting allows you to configure whether Microsoft Defender Antivirus automatically takes action on all detected threats.

How to enable HTTP/3 in Windows Server 2022

With the release of Windows Server 2022, there is now native support for hosting HTTP/3 services in IIS 10.0. Jeej!

How to share OpenSSH keys with WSL in Windows 10

Don't want to copy over your ssh keys from Windows to WSL 2 Linux? Or generate new ones? Then share your Windows OpenSSH key with WSL 2! The OpenSSH config gives you the option to share keys using an IdentityFile directive. Here is how you can share your SSH keys between Windows 11/10 and WSL 2.

Increase WMI memory to support large volume of queries

Learn how to fix memory issues and subsequent crashes in WMI / WmiPrvse.exe by increasing available memory and handles

How-to fix Windows Defender error "Get-MpComputerStatus : The extrinsic Method could not be executed."

Enabling Windows Defender per GPO errored out with the error message "Get-MpComputerStatus : The extrinsic Method could not be executed.", here is how to resolve this issue.