Welcome to the Jocha blog!

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!

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…

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…

Change the Azure AD Sync Schedule

I finally I got some time to play with the new Azure Active Directory Sync tool and its configuration.

The installation was very straight forward. The step-by-step instruction are provided on MSDN. The administration tools and scripts are located in difference places compared to DirSync which was little confusing in the beginning.

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…

Removing .NET Framework 4.5 breaks Windows 2012

Removing .NET Framework 4.5 breaks Windows 2012

Windows Server 2012 includes .NET Framework, it provides a comprehensive and consistent programming model to build and run applications (including Roles and Features) that are built for various platforms.

It is not recommended to uninstall .NET Framework. In some given circumstances, there may be a requirement to remove/re-install it…

Windows 8 can’t find WSUS updates

Windows 8 can’t find WSUS updates

A customer of mine recently started deploying Windows 8 in their environment. MDT was set up and the deployment was working fine, but after deployment the Windows 8 machines wouldn’t connect to the WSUS server.

When trying to connect to the WSUS-server through the Control Panel I got an error message.

Modifying permissions via Group Policy

Modifying permissions via Group Policy

A customer of ours had problems with an installation.
We started troubleshooting and noticed that the installation did not run in Elevated Mode, but wanted to put files in a folder which by default it does not grant regular users the ability to add or modify files.

Manage Azure AD via PowerShell

Manage Azure AD via PowerShell

You can install the Azure module directly from the PowerShell prompt and connect to the numerous services offered by Microsofts extensive cloud solution!

Change Calendar Permissions in Office 365

Change Calendar Permissions in Office 365

Per default the calendars of shared mailboxes in Office 364 have “FreeBusyTimeOnly” permissions applied.
You could create a new sharing policy and change the applied policy on those accounts.

I however chose to just change the sharing permissions on the shared calendar.

PowerShell: List newly created users

PowerShell: List newly created users

To help detect and prevent malicious behavior I usually implement different scripts or other monitoring features in my customers environments.

One of the snippets I frequently use is one that detects newly created accounts.

Change default OU for computers in AD

Change default OU for computers in AD

There are several reasons to change the default organizational unit of computers that join the domain.
The default OU (domain.local\Computers) cannot be linked with GPOs, and should be avoided since its builtin.