Windows Server

Last updated:

PowerShell Get-FsrmQuota and Set-FsrmQuota

To get and set File Server Resource Manager NTFS quota you now have to use PowerShell FileServerResourceManager cmdlets. It's pretty easy to get directory information with Get-FsrmQuota and change dirquota.exe using Set-FsrmQuota.

blue elephant plush toy on black laptop computer -- Photo by Ben Griffiths

Web applications

Last updated:

PHP 5.6 default_charset change may break HTML output

A change in PHP's default_charset php.ini setting causes HTML output to break if you try to set a different charset in your HTML head. It also might break functions like htmlentities() and htmlspecialchars().

Bash logo

GNU/Linux

Last updated:

Turn off swap

Learn how to turn off swap in Bash, because when a swap partition is enabled Linux starts swapping, which may degrade (MySQL) system performance

How to Deploy Software through WDS, automated as a FirstLogonCommand

Windows Server

Last updated:

Software deployment through WDS

Here is how to install software packages during a Windows Deployment Services (WDS) deployment, without Microsoft Deployment Workbench (available in the Microsoft Deployment Toolkit, or MDT).

Codebase

Last updated:

Convert PHP ext/mysql to MySQLi

Learn how to convert a PHP class using the old ext/mysql functions to MySQLi, one function at a time, with a list of MySQLi equivalents.

Open-Xchange logo

GNU/Linux

Last updated:

How to restore a deleted Open-Xchange context?

Accidentally deleted an Open-Xchange context? Here is how to restore a deleted OX context and its filestore from your MySQL backups with restorecontext.

Blues Brothers MS-DOS game

Useful

Last updated:

How to play classic MS-DOS games on Windows 11 with DOSBox

Relive the golden age of PC gaming. Learn how to configure DOSBox on Windows 11 to run classic MS-DOS titles, optimize CPU cycles for period-accurate speed, and set up a custom autoexec.bat menu for easy launching.

Codebase

Last updated:

Find all files owned by a particular user using PowerShell

Sometimes you need to find all files owned by a specific user, recursively on your Windows Server NTFS file system. PowerShell has some neat cmdlets to automate this task for you and here is how.

WordPress

Last updated:

Disable WordPress comments (how-to)

With thousands spam reactions, disabling (and removing) WordPress comments is often the only way to go. Here is how to disable WordPress comments in both the WordPress Dashboard interface and in your MySQL / MariaDB database.

Analyze Component Store size with DISM in PowerShell

Windows Server

Last updated:

Disk Cleanup in Windows Server

Utilize your cmd.exe or PowerShell command-line and use Deployment Image Servicing and Management (DISM) to clean up the Windows Component Store (WinSxS) in Windows Server.

Windows Server

Last updated:

Explicit Congestion Notification (ECN) slows down outbound connections

ECN is an optional feature that may be used between two ECN-enabled endpoints when the underlying network infrastructure also supports it. Unfortunately, having one ECN Capability enabled endpoint may slow down outbound network connections to outdated network equipment.

Windows Server logo

Windows Server

Last updated:

"A domain rename operation is already in progress"

The other day, when I attempted to add a newly installed Active Directory to become the slave domain controller of a master, the error message "A domain rename operation is already in progress" was displayed. Promoting the Windows Server 2012 R2 server to a Domain Controller failed.

Web applications

Last updated:

Sysadmins of the North goes global!

How to set up a global Geolocation DNS load balancing Varnish Cache Content Delivery Network with Bind9, geo-ip database, Varnish Cache and DigtalOcean. DIY High-Availability for your website!

blue elephant plush toy on black laptop computer -- Photo by Ben Griffiths

Web applications

Last updated:

How to set a good PHP realpath_cache_size

Learn how to optimize PHP performance by checking and setting PHP realpath_cache_size. The realpath_cache_size size represents the total number of bytes in the path strings stored, plus the size of the data associated with the cache entry