IT Consultant Everyday Notes

Just some problems/solutions storage

Category Archives: Uncategorized

SCCM: MDT boot image update failed: “Unable to mount the WIM, so the update process cannot continue”

Today I bumped into the abovementioned issue. I added some TS’ in my MDT 2013 Update 2, tweak settings for the boot image, tried to rebuild it and voila – the error.

Fortunately the fix was easy enough – I started Deployment Workbench ‘as Administrator” and this time the image was re-built successfully.


SCCM: OSD UDI – UI++ issue

I am not a big fan of SCCM/MDT integration and decided to use a little tool from MVP Jason Sandys. UI++

The tool provides a UDI interface for pure SCCM Task Sequences.

I configured XML file the tool is used and tried my TS. Dialog boxes popped up and I was able to select the applications, but when SCCM tried to installed the selected apps the TS failed with

No matching policy assignments received.
Policy download failed, hr=0x80004005

It turned out I forgot to allow Application installation without being advertised. I checked the box and the Application is installed as expected now…


Azure: Azure Database bacpac import failed with “The connection is broken and recovery is not possible.”

One of my Customers asked me to implement Azure PAAS database for PoC. I am not a SQL guru and when the database was set I went to google to see how to migrate data.


Microsoft recommends to use export/import data using bacpac file.

So we exported db to bacpac file (took 1.5 hour for a small 500MB DB). , copy it to azure VM and after that I tried to use SQL Management Studio to import the bacpac into the new Azure database as described here:


The attempt miserably failed with the following error:

“An Exception occured while executing a Transact-TSQL statement or batch (Microsoft.SqlServer.ConnectionInfo)

Additional Information:

The connection is broken and recovery is not possible. The client driver attempted to recover connection one or more times and all attempts failed. Increase the value of ConnectRetryCount to increase the number of recovery attempts. (Microsoft SQL Server)

Cannot open database “mydatabasename” requested by login. The login failed. Login failed for user ’myusername’. (Microsoft SQL Server, Error: 4060)


Unusual resolution: I tried to restore the bacpac to an existing database. This attempt naturally failed with error “database already exists. Try to restore into a new database”. After that I put a name of the saved database and this time bacpac was restored successfully (it took ~1 hour again Smile )

Top 10 Free tools


here is a snip from Redmond Mag, just for memory.


Azure: Azure Site Recovery (ASR). Virtual Network is NOT assigned to a migrated machine.

I set up ASR to protect my VMWare-based VM and tried to use “Test-Failover” to verify the machine can be successfully restored.


The “Test-Failover” wizard has only one question – what Virtual Network use to restore the VM (it is not recommended to use a Production networks since this is the test).


so I selected my ASR-failover-test network and start the Test Failover.

When the VM was restored and started I assigned a RDP endpoint (another surprise, even though the machine is created endpoints are not set by default).

When I RDPed to the VM I found assigned IP is from a random 100.x.x.x range, not from the VNet I indicated.

From several troubleshooting attempts I opened a case with Microsoft.



For unknown reasons, after you set up a Protection Group and add a VM to protect to this group you need to go to Configuration Tab in Properties of that VM and set up ANY Microsoft Azure Vnet there manually (by default it is set to “Not Connected”


Save the settings and wait for operation to complete.


After that if you select a VNET in “Test Failover” Wizard that VNET will be assigned properly and a VM will get a proper IP.

Thank you Microsoft for the help.

Internet explorer 11: Home Page setup via GPO

A customer asked me to create a GPO for IE11. One of the requirements was to lock a home page to local Intranet site, but allow users to add their own secondary home pages in new tabs.

With IE11 GPO ADM installed we have two ways to set up home page

1. Using Internet Explorer settings from ADM:


and a similar policy for the secondary page.

The issue here – if we lock the home page a user won’t be able to add secondary home page – the settings will be greyed out

2. Using IE10 preference (IE10 preference are compatible with IE11+ as per )

DO NOT FORGET to press F5 after you add a site name in home page field!


In this situation the primary home page will be enforced and the user will be able to add secondary page, BUT the user settings will be saved until GPO refresh which will revert everything to the state set in Preferences



I left both IE Settings and preferences in ‘Not Configured’ state and created a custom Registry preference to populate ‘Start Page’ value under HKCU\Software\Microsoft\Internet Explorer\Main key with URL of the Intranet site. That will enforce primary home page and leave custom secondary pages unchanged.



Here are the IE settings on a Client machine:



I passed 70-413 and 70-414 and got my MCSE (again Smile , this time on Server 2012). Why Microsoft could not use other acronyms for these new certifications?

SCCM: Updates cannot be deployed due to WSUS improvements

Recently Microsoft published a WSUS update to support Windows 8 and Server 2012.  A lot of updates must be re-downloaded after that, otherwise they cannot be deployed.

Here is the way to fix it:

SCCM 2007: Apply hotfix described in

Remote Disk Management: RPC Server is Unavailable

Nice article is here:

Main idea is to enable firewall on both target machine: netsh advfirewall firewall set rule group=”Remote Volume Management” new enable=yes

And source: netsh advfirewall firewall set rule group=”Remote Volume Management” new enable=yes

Virtual Disk Service must be started on the target machine and set to auto:

sc config vds start= auto

net start vds

Server 2012: Cannot install Hyper-V role

Here is a problem without resolution so far:

I have a Microsoft Hyper-V 2008 R2 server in my lab. Now, when ewe have Server 2012 RTMed I decided to upgrade my infrastructure to Microsoft Hyper-V 2012.

Unfortunately it is NOT SUPPORTED. So I had no other choice than rebuild the host.

I rebuilt the host with Microsoft Hyper-V 2012 Server but the server never booted to OS properly (I mean the first boot after installation)

I tried to install a Windows Server 2012 Std. It was installed successfully and booted, but as soon as I enabled Hyper-V role the server asked for reboot and hung in starting state Sad smile

I checked hardware prerequisites – everything look good. And I do not think we have much changed from 2008 R2…


So I rolled back to Microsoft Hyper-V 2008 R2 Server at this point and trying to find what it could be.

If anybody bumped to the same issue and know how to resolve it please let me know.