Welcome to the Jocha blog!

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…

Azure Backup Job Failed 0x1D4C2

Lately we’ve been getting a lot of inquiries regarding Azure Backup. One customer tried to set up the Microsoft Azure Recovery Services (MARS) agent, they experienced a problem where the backup job fails immediately…

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.

Azure Backup Mail Report Script

Jocha previously released a very popular mail report-script for Windows Backup. A downside with the new Azure backup-agent is that it did not offer mail reports… until today!

Windows Backup Mail Report Script

Background Jocha work with a lot of startup companies and small-business owners, which is great in so many ways. While it gives us the possibility to design and set everything up from scratch, with all the best practices, it usually means working with a smaller budget...
Force an Address Book Refresh on Lync Client

Force an Address Book Refresh on Lync Client

I ran into a situation where I needed to force the address book to refresh on a computer that had the Lync client installed. The process to do so isn’t well documented, so I decided to create this post in case anyone else has a similar requirement. Here’s how you force the address book to refresh on a Lync Client.

How to Export Mailboxes with Exchange Server 2010 SP1

How to Export Mailboxes with Exchange Server 2010 SP1

Exchange Server 2010 Service Pack 1 introduced a new method for exporting mailboxes called Mailbox Export Requests. This new method replaces the previous Export-Mailbox command.
Before we look at how to create a new mailbox export request in Exchange 2010 SP1 there are a few things that you should understand.

Verifying Domain User Home Directory

Verifying Domain User Home Directory

Some administrators prefer to do everything manually, other automated. I have always preferred to have as much as possible automated or at least set up with a script so the action can easily be repeated without varying end results.

I have written a script which verifies that all users that should have a home folder has one, and that it has the appropriate permissions.

SCCM with RevoDrive and 0x800700A1

SCCM with RevoDrive and 0x800700A1

Lately I’ve been struggling with deploying Windows via SCCM 2012 to a workstation running a RevoDrive as primary storage. The MDT scripts do not seem to think that the card is bootable…

Make Primary User Local Admin via Task Sequence

Make Primary User Local Admin via Task Sequence

I set up a small script which adds the username supplied during OSD to the local administrative group instead, which you could run from a TS.
This way only the Primary User gets elevated privileges over their own PC.

Application Installation Error 0x87D00607

Application Installation Error 0x87D00607

I ran into this issue when switching between our production and test environment. If you’re receiving the 0x87D00607 error you are most likely connected to a network/site which does not have a Configuration Manager Boundary or Boundary Group.

SCCM Client Installation Error 53

SCCM Client Installation Error 53

If you’re having trouble deploying the SCCM client and you’re getting Error 53 you should verify that the Client Installation account is local administrator and that Remote administration is turned on.

Password Generator

Password Generator

Security is very important, especially when it comes to IT.
We’ve created a password generating script to assist in making sure we all use high security passwords.