Set Up Server Backup Forces Full Disk Backup of Non-System Disk

I have a Windows Server 2012 Essentials setup with 4 x 1TB disks. I needed to reconfigure my backup settings because one of the disks had grown and so did the backup disk up to maximum capacity (In other words, it was full). I decided that I wanted to leave out the whole disk all together but Set Up Server Backup forced the backup of the disk with the following message: Server Backup requires that you back up this item to ensure that you can restore the operating system in the event of a catastrophic failure. I didn’t understand the reason till I remembered I installed MDT (Microsoft Deployment Toolkit) ...

Commands Windows 2008R2 Core

Just a list of most used commands for Windows 2008R2 Core. Always good to have them online as a reference. Hostname, domain membership: Rename computer netdom renamecomputer %computername% /newname:MyNewHostname Join machine to domain netdom join %computername% /domain:corp.mycompany.com/userd:CORP\jsmith /passwordd:* Rename computer while joined to domain netdom renamecomputer %computername% /newname:MyNewHostname/userd:CORP\jsmith /passwordd:* Remove machine from domain netdom remove %computername% Interfaces and addresses: View the current interface list netsh interface show interface Set static IP, mask, gateway netsh interface ipv4 set address ”Local Area Connection”source=static 10.3.1.11 255.255.255.0 10.3.1.1 Set primary DNS server netsh interface ipv4 add dnsserver ”Local Area Connection”address=10.3.1.21 index=1 Set secondary DNS server netsh interface ipv4 add dnsserver ”Local Area Connection”address=10.3.1.22 index=2 Remove DNS server from interface netsh interface ipv4 delete dnsservers ”Local ...

Create SMTP Relay for Office 365 with Windows Server 2012 Essentials 7

The Setup of Windows Server 2012 Essentials has a step “Set up email alert notification”. To my surprise TLS encryption is not an option and since TLS encryption is required by Office 365 we need to create a SMTP Relay before finishing this step. This is not a perfect solution, but a working solution. So if you have any better idea, let me know. Determine Office 365 SMTP Settings First we need to know the Office 365 SMTP settings: Login to the Microsoft Online Services Portal > Choose Outlook > Click Questionmark (upper right corner) > Choose Info >  Look for SMTP settings and write down Server name. Install Windows Server 2012 SMTP ...

Create Anywhere Access Certificate Windows 2012 Essentials 27

One of the nice features of Windows 2012 Essentials is the Anywhere Access functionality. To get this savely working you will need a certificate, but the installation wizzard will offer you to buy one with a trusted authority or move your domain to a trusted partner. Since I don’t want either choices, I created my own certificate. Create Management Console First you need to open up a MMC and add the “Certificates” snap-in. Choose “Computer Account” > “Local” > Finish. Next add the snap-in “Certificate Authority” and once again choose “Computer Account” > “Local” > Finish. Create Certificate Request Follow the next steps in the created MMC: Certificates > Personal > ...

Free Microsoft Tools to Check Microsoft Active Directory Health 1

Active Directory Best Practices Analyzer The Active Directory Best Practices Analyzer (ADBPA) tool provided by Microsoft in Windows Server 2008 R2 is not perfect but, at least for troubleshooting, it does offer some good value. ADBPA appears under the Active Directory Domain Services role in Server Manager. You can click on each entry and get a description below the listing. It will show errors and warnings as well. It checks to ensure: All primary DCs are configured to a valid time source All domains have two functioning DCs All organizational units (OUs) are protected from accidental deletion When last backups were executed DNS is configured correctly If file replication service ...

Windows Server 2012 – Create network settings for Hyper-V cluster with Powershell

Windows 2012 has some great new network features that makes network usage much more efficient. Till Windows 2012 it was necessary to use dedicated NICs for certain network traffic (Cluster, Storage). But with Windows 2012 we can virtualize the network by creating NIC Teams and Extensible Switches and Virtual Adapters. So when you are building a Hyper-V cluster, it’s not necessary anymore to load a lot of NICs in a server. Instead we create a NIC Team that bundles all the available Network NICs (whatever hardware mix, doesn’t matter), create a Virtual Switch and then Virtual Adapters. To make it more easy Aiden Finn created a PowerShell script that does ...