Welcome to the Jocha blog!

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…

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…

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.

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…

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.

Windows Backup failing on TrueCrypt drive

Windows Backup failing on TrueCrypt drive

There are numerous backup solutions out there for Windows and they come in many different forms.
There are two “types” of backup supported by the “Windows Backup and Restore Center” (WBRC).

Upgrading to SCCM 2012 R2

Upgrading to SCCM 2012 R2

An acticle about what’s new in Configuration Manager 2012 R2, what to consider before an upgrade and how to proceed with the actual upgrade.

Remember, uninstalling Service Packs or R2 is not supported, so make sure you don’t rush through it and you’ve completed the recommended actions on the checklist!

Domain Controllers Warning Event ID 10154

Domain Controllers Warning Event ID 10154

I was getting an error at startup on a new Windows 2008 R2 Domain Controller. Apparently the WinRM attempts to create two SPNs after the startup process.

Since that WinRM runs under “Network Service” account, I was able to fix this warning by granting the “Validated Write to Service Principal Name” permission to the NETWORK SERVICE…

Recover files from Previous Version/Shadowcopy

Recover files from Previous Version/Shadowcopy

By default, shadow copy will save a copy of your files once a day, or triggered into action such as when installing an update or new program.

This is all managed by the Windows Task Scheduler. By making some changes to the ‘System Restore’ schedule you can create more frequent backups of documents…