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…

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...

Get Active Directory pictures in Windows 10

We have been working on migrating a customer from Windows 7 over to Windows 10. Our goal is to have Windows 8 and 10 clients pull the pictures from Active Directory to the users local profiles.

Azure Backup internal error (ID: 130001)

When installing the Azure Backup Agent you need to supply your vault credentials.
If doing so incorrectly you will get the following error…

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.

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…

Windows 2012 listening on port 80 fix

Windows 2012 listening on port 80 fix

First of all, the way http.sys works on newer Windows versions is a very useful feature.

The reason behind http.sys is to have a single system service that listens on the all-important port 80 and be a mediator to different applications and services…

Connect to Office 365 with Powershell

Connect to Office 365 with Powershell

The GUI at Microsoft is great but sometimes we need to dig a bit deeper.

I ran into some issues with a Resource mailbox and had to do some troubleshooting in the Office 365 service.

Breaking into a Windows System

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…

Configure Windows 7 Network Adapter Binding Priority

Configure Windows 7 Network Adapter Binding Priority

A computer running Windows 7 may connect to networks with various adapters.

If you have a device that can connect to networks in multiple ways, you may wonder how Windows determines the priority of the installed network adapters.

Install Updates on Exchange Server 2010 DAG

Install Updates on Exchange Server 2010 DAG

To update the DAG members with new patches the process should be managed to prevent all of the DAG members from being offline at the same time.

You can move the active mailbox databases off a particular server so that it can be patched, and if necessary rebooted, without causing any downtime for mailbox users on that database.

AD Delegation: Default Permissions for GPOs

AD Delegation: Default Permissions for GPOs

When setting up Active Directory delegation, you want administrators to be able to maintain Group Policy without being a Domain Admin.

If you read TechNet, Microsoft tells you to use Group Policy Creator Owners. However CO does not have permissions to modify or edit any other group policy objects.