The Deployment Bunny

OS Deployment, Virtualization, Microsoft based Infrastructure…

  • Archives

  • Meta

Nice to Know – Download Maps Manager (MapBroker) is annoying, very annoying

Posted by Mikael Nystrom on April 25, 2017

Sometimes you need to run the full UI of Windows Server 2016 and when you do you get the extremely annoying Download Maps Manager error in Server Manager. First of all, you don’t need it, and even if you did need it, it does not work anyway. So, what to do then? Disable it using PowerShell or use GPO’s

Issue:

Download Maps Manager MapBroker Stopped Automatic (Delayed Start)

image

Fix:

Use PowerShell:

Get-Service -Name MapsBroker | Set-Service -StartupType Disabled -Confirm:$false

image

Use GPO:

Create a policy, configure it to affect all Windows Server 2016, set the Download Maps Manager to Disabled, save, done

image

/mike

Posted in Windows Server 2016 | Tagged: | 1 Comment »

Nice to Know – After in place upgrade of Windows Server 2012 R2 to Windows Server 2016 with WSUS install, Post Install might fail

Posted by Mikael Nystrom on April 25, 2017

Note:

Ok, so you might not do an in-place upgrade, instead you re-install the entire server, but “if” you do, you need to run this command sometimes

Issue:

Configuration failed for Windows Server Update Services…

image

Fix:

Open an elevated command prompt and execute the following

For Windows Internal Database (WID)
%programfiles%\update services\tools\wsusutil.exe postinstall CONTENT_DIR=C:\WSUS

SQL Server databases
%programfiles%\update services\tools\wsusutil.exe postinstall CONTENT_DIR=C:\WSUS SQL_INSTANCE_NAME=<database server name>

/m

Posted in Windows Server 2016 | Tagged: | 1 Comment »

PowerShell is King – New-VIARandomPassword

Posted by Mikael Nystrom on April 6, 2017

Long time ago i needed a function that creates random passwords that can be used when creating accounts, we have been using this for a long time, a few minutes ago Johan Arwidmark asked where the script is. The answer is, it is in one of the modules that I have on GitHub

Link to the module: https://github.com/DeploymentBunny/Functions/blob/master/VIAUtilityModule.psm1

You download it, import it an then you have a new command

New-VIARandomPassword

Import-Module C:\Setup\Functions\VIAUtilityModule.psm1
New-VIARandomPassword -PasswordLength 15
New-VIARandomPassword -PasswordLength 15 -Complex $true

 

image

Very easy to use, you can select to do it standard or complex and if you need many of them just loop it.

/mike

Posted in Functions, PowerShell | Tagged: , | Leave a Comment »

Event in Stockholm – Second Wednesday (2W): Storage Spaces Direct and Hyper Converged Online and Free! April 12 – 2017

Posted by Mikael Nystrom on April 6, 2017

2W

(in Swedish, since the event is in Swedish)

Jag och Jörgen kör ett kvälls event på LabCenter den 12:e april, då bjuder vi på lite tilltugg och 3 timmar med Storage Spaces Direct och Hyper Converged. Vi har gjort en dröse sådana installationer och vill gärna dela med oss av dom roliga delarna såväl som dom tråkiga.

Det blir snabbt fullt på plats, men du kan ju alltid titta hemifrån

Anmäl dej här:

https://www.eventbrite.com/e/2w-building-hyper-converged-registrering-29012131065?ref=ecount

Läs här:

http://www.labcenter.se/On/LabCenter/Second_Wednesday

/mike

Posted in Event, Hyper-V, Storage Spaces, Windows Server 2016 | Tagged: , , , | Leave a Comment »

OSD – App-V tools are missing in ADK 1703 when being installed on Windows Server 2016 (sometimes)

Posted by Mikael Nystrom on April 6, 2017

In ADK 1607 the App-V tools was included in the ADK, for some reason they don’t show up when installing on Windows Server 2016 (sometimes). If you install on Windows Server 2012 R2 it works as expected

Install ADK 1703 on windows server 2016 - 1

The App-V task Sequencer is missing.

The solution:

It is however possible to manually install the App-V Sequencer if you downloaded the entire kit.

Find the file “Appman Sequencer on amd64-x64_en-us.msi” and run the installer, and “woops”, there it is:

image

 

/mike

Posted in ADK, OS Deployment, OSD | Tagged: , , | 6 Comments »

OS Deployment – Installing ADK 1703 on Windows Server 2016 could fail

Posted by Mikael Nystrom on April 6, 2017

Update:It does not happens on all WS2016 machines, it happens only on computer where Secure Boot is enabled. This also means that this will happen on every machine that is using Secure Boot, regardless of OS version. It is a confirmed bug.

Yesterday Microsoft released Windows 10 1703 and also ADK 1703. But it fails to install correctly, the ADK actually installs, but it is the WIM mount driver that fails, du to this absurd message.

Install ADK 1703 on windows server 2016 - 2

A digitally signed driver is required

The message indicates that the driver Windows Overlay Filter is not signed.

The Solution:

According to this https://social.msdn.microsoft.com/Forums/en-US/1fa43cc7-a82d-4dd3-8d28-f76fe2d7593e/hardware-development-kits-for-windows-10-version-1703-april-2017?forum=wdk , the solution is to disable Secure Boot, really???

image

/mike

Posted in ADK, OS Deployment, OSD | Tagged: , , | 2 Comments »

Nice to Know – Windows 10 1703 is now available for download

Posted by Mikael Nystrom on April 5, 2017

A few minutes ago Microsoft released Windows 10 1703

You can find it on MSDN as well as at on TechNet

image

You can read more about it here

https://technet.microsoft.com/itpro/windows/whats-new/index

/mike

Posted in Windows 10 | Tagged: | Leave a Comment »

Nice to Know – New feature in Windows 10 Creators Update

Posted by Mikael Nystrom on March 29, 2017

One of the new features in the upcoming version of Windows 10 (Windows 10 – Creators Update) is the Windows Defender Security Center, as you might expect it is defender, but it also includes a nice little health check

image

In this case, there is something wrong, maybe we should take a look…

image

Seems that I have an issue with a device driver, hmm, need to fix that

image

Let us run that and see what is wrong…

image

Big surprise (not really), one of my virtual network adapters are turned off.

That should give you an idea what the new feature is all about, pretty nice, pretty cool.

/mike

Posted in Nice to Know, Windows 10 | Tagged: , | 3 Comments »

Working in the Datacenter – SCOM 2016 MP’s for WS2016

Posted by Mikael Nystrom on March 14, 2017

So, here is the list of updated MP’s for Windows Server 2016, not all seems to be done but Kevin Holman has a nice list with URL’s for those that have been released so far.

Check this site for more info:

https://blogs.technet.microsoft.com/kevinholman/2016/12/19/where-are-the-server-2016-management-packs/

image

/mike

Posted in System Center 2016, Windows Server 2016 | Tagged: , | Leave a Comment »

PowerShell is King – Building a Reference Image Factory (v 3.2)

Posted by Mikael Nystrom on February 23, 2017

The Image Factory has been re-worked and updated. It also has moved to GitHub https://github.com/DeploymentBunny/ImageFactoryV3ForHyper-V/

Concept and flow

The idea is the same, we use MDT, create refimages task sequences that runs without any questions. A PowerShell script will grab all enabled Task Sequences in a specified folder, create a VM for each of them. Grab the Bios Serial number from each om them, update customsettings ini with that information, start the VM’s (number of concurrent VM’s determine how many VM’s can run at the same time, wait until all VM’s are done and finally removes all VM’s for a cleanup process. You can run the script as is (if you store it in C:\Setup\ImageFactoryV3ForHyper-V on you MDT server), or you can open it in ISE and run section by section to see what happens.

The XML file (C:\Setup\ImageFactoryV3ForHyper-V\ImageFactoryV3.xml)

Is a control file for settings, pretty straightforward, just make sure that all values are correct.

image

The Script C:\Setup\ImageFactoryV3ForHyper-V\ImageFactoryV3-Build.ps1

The script contains some functions and logic, each section is described so you do know what it does. There are switches to the script,

  • -UpdateBootImage
  • -EnableMDTMonitoring
  • -TestMode

UppdateBoot image $True, updates the bootimage before copy, EnableMDTMonitoring require that MDT monitoring is enabled of the deployment share and testmode is not yet working (I’ll get back on that)

image

The PSINI Module

One big change is that instead of using a hack, (using KVP) I switched over to use a module called PSINI, it basically turns customsettings.ini into a hash table, making it easy to configure using PowerShell. That also means you need to download that module from TechNet Gallery http://gallery.technet.microsoft.com/scriptcenter/ea40c1ef-c856-434b-b8fb-ebd7a76e8d91and all credit for that module goes to http://oliver.lipkau.net/blog

Have Fun

/Mike

Posted in MDT, PowerShell, Reference Image | Tagged: , , | 22 Comments »