KB5000802 🤦🏼‍♂️

Anyone else have issues with Microsoft’s KB5000802 hotfix? It broke a lot of our printers. Fastest way to resolve this issue is to uninstall the hotfix. Since we needed to do it on hundreds of computers, I made a script for that. I hope this helps someone!

Instead of hosting this code on WordPress, I published it on my GitHub.

Remote Check Config

Ever want to quickly check the configuration of a computer on your network? With this script, you can get a ton of info in seconds! Hostname, OS name, original install date, boot time, domain, RAM info, Windows hotfix application, network card status, system uptime, processor info, and even hard drive space!

CheckConfig(remote).bat

cls
@pushd %~dp0
@echo off
ECHO ============================
ECHO REMOTE CONFIGURATION CHECK
ECHO ============================
ECHO ____________________________
color 0A
set /p "id=Enter IP of computer you want to check: "
ECHO Please wait... Checking system information.
:: Section 1: OS information.
ECHO ============================
ECHO OS INFO
ECHO ============================
systeminfo /s %id%
PSTools\PsInfo -d \\%id%
@popd
pause

:: Love, CJ Pollock

This script DOES require PSTools. The PSTools folder should be in the same directory as this Batch file in order to work properly. Here’s a download for everything you need in one place:

Download: Remote Check Config.zip
(right-click and Save Link As)

Who’s Logged In?

Ever want a quick and easy way to check which user is currently logged into a computer on your network? Look no further! Simply input the IP address or hostname of the device on your network, and off you go!

LoggedInUserQuery.bat

cls
@echo off
ECHO ============================
ECHO WHO'S LOGGED IN?
ECHO ============================
ECHO ____________________________
color 0A
set /p "id=Enter IP or name of computer you want to check: "
query user /server:%id%
PAUSE
:: Love, CJ Pollock