The Deployment Bunny

OS Deployment, Virtualization, Microsoft based Infrastructure…

  • Archives

  • Meta

Working in the Datacenter – Update all agents after upgrades and rollups

Posted by Mikael Nystrom on April 26, 2017

It is possible to manually upgrade each agent, but that is just wasting time on something really boring, so let us do PowerShell instead

image

#Get the Admin Account
$AdminAccount = Get-SCRunAsAccount -Name ‘SCVMM Admin’

#Update the Agent
foreach($item in (Get-SCVMMManagedComputer)){
    Update-SCVMMManagedComputer -VMMManagedComputer $item -Credential $AdminAccount -RunAsynchronously
}

/mike

Posted in System Center 2016, System Center Virtual Machine Manager | Tagged: , | Leave a Comment »

Nice to Know – Membership in a Local group contains only SID numbers in Windows Server

Posted by Mikael Nystrom on April 26, 2017

Ok, so from time to time this happens, it should not, but it does

Issue:

You open the local Administrator group and all domain user accounts is just SID numbers, (a few could actually be names, but that is not very common). It looks like this:

image

Solution:

I’ll guess there are many ways to fix this, but the Quick and Dirty is to:

– Disjoin the domain (don’t restart)

– Join back

– Restart

/mike

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

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 »