Welcome to the Jocha blog!

Breaking into a Windows System

Do you ever get that sinking feeling, when you’ve forgotten the root password to your test lab?  Again?

I hate it too!  So I decided to figure out a way around it, using a work around…

Detect and Elevate a PowerShell session

We’ve set out to help a customer with automation within their IT department.
Some daily tasks require an elevated prompt, there is no way around it. But it’s not obvious how to check if the current prompt is elevated, or how to elevate the session. So here is a how-to…

Disable Windows 10 Automatic locking screen

We’ve been upgrading a customers environment… for one of their workstation configurations they didn’t want the computers to lock on idle, which is enforced by default.

Windows Server 2025 Backup reports with PowerShell and SendGrid

A modernised rewrite of the popular WBAdmin email report script, now compatible with Windows Server 2025 and using the SendGrid REST API instead of SMTP for reliable, credential-free mail delivery.

Uninstall all Java versions

I received an inquiry from one of my mid-size (100-200 users) customers today. They’ve been planning on implementing a new online service which requires the latest Java version.

The clients have a large quantity of outdated versions of Java, which needed to be uninstalled before we deployed the newest version.
They are currently running Windows 7 and Windows 8, so somewhat modern operative systems.

Resetting or clearing NOD32 client password

Resetting or clearing NOD32 client password

I was faced with an issue regarding NOD32 today. A couple of clients had an old (undocumented) configuration of their antivirus.
As it turned out the clients had “Protected setup” which means you cannot access the settings, or un/reinstall the program without a specific password. It also happened to not be set up to talk to the appropriate “Remote Administrations-server”.

Event 122: Drivers from Windows Update blocked

Event 122: Drivers from Windows Update blocked

Today was Patch Day for one of my customers. They have a standalone Windows Server 2012 R2 file server.
I reviewed the pending updates and started the download. However the downloads got stuck…

Perfmon: How to record server performance

Perfmon: How to record server performance

A customer of mine was experiencing performance drops on their HR-server. They asked me to get to the bottom of it.

As always when working with Windows servers and performance I headed over to Perfmon…

Display all saved WiFi Passwords

Display all saved WiFi Passwords

We’ve all been there, wireless passwords tend get lost.

There are several tools to retrieve the missing information, but I strongly believe that the less stuff you download from the web, the safer you are. So why not use the built in functions instead?

Printing Error 018-547 on Xerox WorkCentre

Printing Error 018-547 on Xerox WorkCentre

We were faced with and issue regarding a Xerox WorkCentre 7345 printer.
The printer had different scanning profiles set up. One of them were configured to scan a document, convert it to a PDF-file and upload it to a folder on the File-server.

Out of nowhere it ceased to work. I started by logging into the web-interface of the printer.
In the Job History it had registered a Status-message;

Fix <PRE> code going outside <DIV>

Fix <PRE> code going outside <DIV>

People who have been following this site for a while know that we recently released an entirely new theme and look.
As I was going through old posts to answer comments I noticed some posts with PRE code-wraps extended outside the main DIV:s…

Installing .NET Framework on Windows 8 and 2012

Installing .NET Framework on Windows 8 and 2012

I have been struggling a bit with adding .NET Framework 3.5 on a few systems (and reference image for MDT). The posts on MSDN and TechNet are good, but not always crystal clear.

Here is how I solved the issues we were experiencing…