Association between virtual ethernet and virtual switch

You’ve just created couple of internal network switches in your Hyper-V Manager. Or you’ve just installed Docker for Windows and played with it a little. Now want to create NAT to allow your fresh new containers and/or virtual machines to have access to the Internet. Unfortunately there is no simple way to say which of […]

Script for Windows storage audit

I’ve created PowerShell script to collect all important information about windows physical disks, partitions and volumes (logical disks) and its connections. To use it you should have administrator right on target computer, otherwise only simple information about logical disks will be collected. This limitation is due to MSFT_PartitionToVolume WMI class, which is accessible only by […]

Windows storage hierarchy explained

Quick cheat sheet: 1) Physical disk, represented by Win32_DiskDrive and MSFT_Disk WMI classes. This is hardware presented to your computer. It is HDD, SSD, FC LUN or iSCSI LUN. 2) Partition, represented by Win32_DiskPartition and MSFT_Partition WMI classes. Partitions are walls that transforming your physical space into rooms, which later can be used to store […]

“The update is not applicable to your computer”

Recently I’ve needed to apply 2 patches to our Windows 2008 R2. But both patches show me error “The update is not applicable to your computer”. But I knew for sure, that these updates were applicable, because installed file’s version was lower than the one contained in hotfixes. In Setup log I’ve got “Windows update […]

Install RemixOS on Hyper-V virtual machine

Sometimes you just need quickly deploy Android x86 server in your production environment using Microsoft Hyper-V virtualization. Now you can do it with Remix OS. Installation to Hyper-V virtual machine is a bit tricky, but possible. First of all create Generation 1 VM with at least 6 Gb HDD. I’ve tested VM with 2 Gb […]

Unattended install for Microsoft Dynamics CRM 2015 Outlook Add-In

To make fully unattended install package you need to do following steps: 1. Download install package: http://www.microsoft.com/en-us/download/details.aspx?id=45015 2.Extract package content: CRM2015-Client-ENU-i386.exe /extract:c:\CRM_TEMP\1\2 Do not remove sub folders 1 and 2 from the path, because we need it later 3. Create Redist folder in c:\CRM_TEMP. Do not put it in the sub folders: 4. Create following […]

Limit group policy only to client OS

Sometimes you want to apply your policy to every client PC in many OUs. To do such you can use WMI filter. This is especially useful in messy AD structures, where is no dedicated OU for client computer objects. Namespace: root\CIMv2 Query: select * from Win32_OperatingSystem where ProductType=”1″ I use here following WMI Class and […]

Can’t access any Outlook tabs on ribbon except Enterprise Vault

Recently one of our customers installed Microsoft Dynamics CRM Outlook add-in and discovered that after this action Microsoft Outlook became absolutely useless, because after start of the program there are┬áno other tabs except Enterprise Vault, which is also used by this customer. Little research showed that the root of the problem is in some components […]

TMG 2010 and “RPC Server unavailable”

Recently I have encountered strange TMG behavior. I have permitted all RPC connections to Domain Controllers with system rule and disabled RPC Filter plus switched off “Enable strict RPC compliance” option. But my WMI requests and any other RPC traffic from TMG servers to internal resources was still blocked. The error was “RPC Server Unavailable”. […]