PowerShell

Automate downloading of Youtube Playlists with YT-DLP and PowerShell

Watching or listening to Youtube playlists can be very frustrating with all the ads that are being thrown at you and this seems to have gotten worse over the years. A way around this is to download your favourite Youtube playlists. You can import these into your media-server, like Emby or Jellyfin, and watch the downloaded videos on which ever screen you have setup with this server.

You can add as many playlists and channels for auto-download as you’d like. Add it to a Scheduler or Cron job to keep your local copies up to date (The script won’t redownload the already downloaded files, it checks). The size of your disk is the limit.

PowerShell

Re-Encode h264/x264 to h265 without noticeable quality loss with PowerShell and FFmpeg

Over the years I’ve gathered a lot of videos from various sources. Some of these are uncompressed and take up various gigabytes of space, each! Even though storage is getting cheaper, I don’t really want to spend €200,- for a 16TB spinning disk, so the answer is High Efficiency Video Coding, or HEVC/H265. I put a PowerShell script together below to do the following:

PowerShell

Folder backups with PowerShell

Why pay for an expensive backup solution in your home-lab when you can install PowerShell for free? The script below will handle simple backups for you. You only have to add it to the Windows Scheduler or create a Cron job.

This Script’s features:
– Replicates a Source directory to a destination to be specified in the script
– Automatically creates the destination folder structure
– Identifies changes or new files in the Source folder and only copies the changed or new files files to the destination
– If a file is deleted from the source, it will move the file from the backup destination to a recycle bin folder to be specified in the script.
– The script will delete files from the recycle bin after 30 days.
– Events are logged to a logfile located in the same directory as the script. The logfile is rotated every day the script is run and are auto-purged every 90 days
– Progress indicator is displayed on the console

Windows 11

“We couldn’t update system reserved partition” error when Installing/Upgrading Windows 11 Insider Preview

Caution: This may cause your system to hang on boot.

I must admit, I haven’t done a fresh install of this system since upgrading to Windows 10 1903, moving the NVMe drive from an older laptop to this machine, updating the OS about every week to the latest version of the Insider Preview in the DEV Channel. This is bound to cause issues at one point, I’m aware.

Vintage Hardware

Drivers Windows XP x32 for Gericom X5-Force 1830

In the late 1990s and early to mid-2000s Gericom released various laptop models and was fairly popular in western Europe. These laptops were sold under the brands Gericom (mainly Germany), Advent (mainly in the UK and Ireland) and in Spain under a brand named Hundyx. (I’ve restored one Pentium III model of this brand a while back. Funnily enough I really can’t seem to find a lot about this brand name at all) This is probably not an exhaustive list, but this is what I encountered over my years repairing vintage (or just plain old) hardware.

Synology NAS

Synology NAS: A data write error occurred while generating the usage report.

This happens only when the NAS is connected to domain with multiple domains in the forest and after the upgrade to DSM version 7.1. The default Management Mode setting is “Trusted Domains” with all domains in the forest selected. To resolve the issue with the reports, change this setting to “Single Domain with OUs”.

Ubuntu 22.04

Veeam warning: “Unable to initialize indexing: mlocate was not found” on Ubuntu Server 22.04

After playing with Veeam 11 for a bit, I decided to get my Linux Docker physical host on the backup schedule. The hardware is getting older (Some would call it vintage or just plain ancient as it’s a 2nd gen i7, but it gets the job done) and it won’t last forever. The onboarding of this physical machine was deceptively simple. A few mouse-clicks here, an IP address there and some SSH credentials. This was just too easy, so I decided to manually run the job and keep an eye on it. I didn’t have to wait long.
After a few minutes, the job completed already. With a warning. I knew it had been too good to be true.

Vintage Hardware

Windows 98 issues on a Dell Latitude D600

Windows 98 Setup Freezes when “Setting up programs on the Start Menu”

When installing Windows 98 SE on a Dell Latitude D600, the installation freezes at the point after it finishes “Setting up programs on the Start menu” but before it installs Help. Rebooting the laptop does not help. It does a Scandisk, continues to setup, again wants the TimeZone settings, Control Panel and freezes again after finishing Setting up programs on the Start menu. The mouse cursor moves, but there’s no hard drive or CD-Rom activity at all.

Malware

Emotet malware botnet is back

The Emotet malware botnet is back and running one again almost ten months after an international law enforcement operation took its command-and-control servers earlier this year in January.

  • Once described as the “world’s most dangerous malware,” Emotet worked by sending massive waves of email spam to users all over the world in order to infect them with its malware strain.
  • Once infected these systems would allow the Emotet gang to download and install additional payloads4.
  • On Monday (15.11.2021), several researchers spotted indicators that Emotet has returned.