Author Archives: Andy Lievertz

Update Visual Studio Code Updates Settings with PowerShell

By | 2022-Jun-02

On Windows systems, Visual Studio Code settings are stored in a subfolder of the User profile. %APPDATA%\Code\User\settings.json There is no global settings file, so if you are deploying in an enterprise environment where updates are managed with something like Microsoft Endpoint Manager (Intune), you might wish to disable VSCode’s update check so it doesn’t nag… Read More »

Demystifying Microsoft Endpoint Manager Win32 App Deployments

By | 2022-May-12

Some aspects of traditional Windows application (win32) deployment using Microsoft Endpoint Manager (Intune) can be frustratingly elusive. Understanding a few things about the program environment and detection capabilities will help you be more successful with this tool. Please note that in this context, “win32” refers to native Windows applications, not 32-bit applications vs. 64-bit applications.… Read More »

Making Libvirt User-friendly in AlmaLinux

By | 2022-Jan-06

In AlmaLinux (and Red Hat Enterprise Linux, Rocky Linux, and CentOS), libvirtd defaults to the user URI. When a regular user executes virsh list, they will see only the KVM virtual machines accessible to their user and will not see those started by the system. You can change this behavior so that regular users can… Read More »

Example AlmaLinux Kickstart

By | 2022-Jan-06

This is an example kickstart for a typical system with a single disk (nvme0n1) and a single network adapter (ens160). These values may need to be changed to suit your environment. It will copy additional Assets to the target system as described in Customizing the AlmaLinux Installer Media. The resulting system uses LUKS full-disk encryption… Read More »

Customizing the AlmaLinux Installer Media

By | 2022-Jan-06

This article shows you how to customize the AlmaLinux (or Red Hat Enterprise Linux, or Rocky Linux, or CentOS Linux) installer media to include a kickstart file and additional file assets. Commands prepended with # should be run as root while commands prepended with $ should be run as your regular user. Prerequisites A basic… Read More »

Common Elements for Windows Answer Files

By | 2022-Jan-06

An answer file makes it possible to deploy Windows with “zero touch”, meaning that all of the installation parameters are specified and the installation will proceed without further input from the technician. Warning! If your answer file is fully automated and includes a partitioning scheme, you run the risk of unintentionally wiping out a production… Read More »

Automating Rdiff-backup with Bash

By | 2021-Feb-26

Rdiff-backup is a robust and well-documented tool for performing reverse differential backups. It is particularly well suited for using Linux and SSH to perform incremental backups of remote Linux systems. This onezeroone.dev script automates the use of rdiff-backup to perform incremental backups of one or more remote Linux systems over SSH to a dedicated local… Read More »

Removing AppX Packages with PowerShell

By | 2021-Feb-25

Uninstalling an AppX package will remove it from the current user’s start menu and applications list, but it will continue to appear for other users unless the AppX provisioned package is also removed. This script should be run in an Administrative PowerShell. It loops through a comma-separated list of AppX package names and (a) removes… Read More »

Adding Registry Keys and Values with PowerShell

By | 2021-Feb-25

This script interrogates the registry to determine if the user-defined subkey exists. If the key does not exist, it will be created. It will then create or update values according to a user-defined array containing lists of value names, values, and types: Obtain this script by cloning or downloading from GitHub where it is licensed… Read More »