Fixing Server Error in ‘/owa’ Application Error

Ran into this one today… and it is  nothing you want to see happen on an Exchange server! I was re-assigning services to a new SSL certificate when I started getting this error. After doing some searching, I found the easy fix from Microsoft. Under Server Config > Client Access, you can click Reset Virtual Directories on the far right. From there, you can choose which directories to rebuild (OWA, Autodiscover, etc.) Doing that fixed my issue for OWA!

 

 

More info can be found in Microsoft’s Technet Article: https://technet.microsoft.com/en-us/library/ff629372(v=exchg.141).aspx

Remote Desktop Gateway server is temporarily unavailable

I am currently building a Remote Desktop Server paired with a Remote Desktop Gateway and I ran into this error:

“Your computer can’t connect to the remote computer because the Remote Desktop Gateway server is temporarily unavailable.”

After troubleshooting a bit, I found that the error occurs if you have multiple sites binded in IIS to your Port 443. Make sure you have ONE site binded to 443 and you’ll be good to go!

Easily Enable Active Directory Recycle Bin in Windows Server 2012 R2

I recently enabled Azure Active Directory (AD) Connect and wanted to turn this feature on. After doing some reading, I found a simple way to enable the AD Recycle Bin.

  1. In the management console, go to ToolsActive Directory Administrative Center
  2. Select Local Domain and in the Tasks Pane
  3. Select Enable Recycle Bin.
  4. Click OK

    NOTE: Be aware this feature cannot be disabled.

  5. Click OK.  Once enabled, wait for AD replication to complete as this is a change made on the configuration partition. This process may take a while should your organization have a large active directory infrastructure.

A very simple enablement of a process that could save you hours of restore time.  Again, this process cannot be reversed once invoked.

Empty the Recycle Bin for All Users with Powershell

On a new client’s server, I ran into an issue where a drive was running low on space and I found that another user account on the server (which had been deleted) had files in the Recycle Bin!

Thankfully, I found this Powershell command which worked to delete the files. All you have to do is open a Powershell console as admin and run the following command:

Get-ChildItem “C:`$Recycle.bin\” -Force | Remove-Item -Recurse -force

You can append -Whatif to do a test run and see what files will be deleted before actually deleting them.

Reset Your Password in Windows 10 Bash / Ubuntu

If you forget your root password for Bash on Windows, you can do the following to reset your password:

First, run: lxrun /setdefaultuser root . This will open a new Bash window as root.

From there, run: passwd your_username and then enter your new root password

Then change the default user for Bash back to your user: lxrun /setdefaultuser your_username

 

That’s it! Enjoy Bash on Windows 10.

Installing Windows Server 2016 (Part One)

So you’ve seen that Microsoft released an evaluation version of the Windows Server 2016 RTM and want to install it? Let’s get this started then! I’ll be doing this on my ESXI hypervisor. I’ve uploaded the ISO and created a VM. My machine had 1 CPU, 100GB of space, and 4GB of RAM.

Once you get the VM booted, you’ll see the purple screen you’ve come to recognize:

Click Next, and then you’ll have one option to install. You can’t say this is hard:

Next, you’ll have to choose the version that you want to install. You can install the eval with the desktop GUI or without it.

Choose the drive you want to install on and you’ll be off to the races.

It’s booting!!!!

And that’s it! You’ll boot into the screen below and you’ll be off on your Server 2016 adventure.

Enable Syncing of Ublock Whitelist and Settings

I’ve been a big fan and user of Ublock (and now uBlock Origin) for a while now, but hated having seperate whitelists on all my devices. I recently found out you can indeed sync those lists if you sync settings within your Chrome or Firefox browser!

Simply right-click on the uBlock icon and click on Options

And on the first page that pops up, you’ll see this option which you should check off:

On your various settings, rules, and whitelist pages you should now see these arrows:

Click the up arrow to upload your current list and then on your other devices, you can enable the setting and hit the down arrow to download that list. And you’re all set!

More info can be found on the github wiki