Friday, March 13, 2026

Introduction

I've worked in IT for many years at this point. I thought I would share some of the things I had learned. When I went to review my notes, they were not as expansive as I thought. Most of the documentation I have created over the years is site specific, so there is not as much on this blog as I thought. I was hoping to have a bit more to share. My hope is that the information I do have here helps someone.

Wednesday, March 4, 2026

To remove stuck and pending Windows updates

 These commands can remove pending and stuck Windows updates. This can be helpful if you have Windows updates that won't be applied. The part in red you need to replace the package name with what you want to remove. The first command line shows all Windows updates. You'll need to open CMD as an admin to run these. Once you open the packages text, (the output path can be where-ever you like), the column, State will tell you if it's pending. Once you remove it, running the Windows update should show this again, ready to be installed.

To remove Windows updates, use these commands:

dism /online /get-packages /format:table > C:\packages.txt

dism /online /remove-package /packagename:replace_this_with_package_name

 

 

Tuesday, March 3, 2026

Create copy of mRemote connections

 I used this script to create a copy of mRemote connections. If you use mRemote to managed remote connections backing up this file can come in handy if you need it for some reason, such as moving to a new computer or mRemote becomes corrupt. I created this as a task in Windows task scheduler so that it ran periodically on it's own. Change user to the username you would like to copy this from.

REM This script line is to copy the mRemote connection file and provide a backup to my P drive
xcopy /s /y C:\Users\user\AppData\Roaming\mRemoteNG\confCons.xml P:\mRemoteBackup  

 

Introduction

Introduction

I've worked in IT for many years at this point. I thought I would share some of the things I had learned. When I went to review my note...