SCCM 2012 R2 Prerequisites Powershell Installer.

Why do it manually when you can have Powershell do it for you…..

You know the felling when you think you are done with all the prerequisites and you start the installation. And BOOOM the installation stops because you are missing a prereq.
If you use Powershell to install the prereq you wont miss any of the prerequisites next time you are going to install SCCM 2012 R2.


# ***************************************************************************
# Author:    Chris Steding 2014-04-10
# Purpose:   This PowerShell script will install all prereq for SCCM 2012 R2
#  * Change the variable for the folderpath if needed.      
# ------------- DISCLAIMER --------------------------------------------------
# This script code is provided as is with no guarantee or warranty concerning
# the usability or impact on systems.
# ------------- DISCLAIMER --------------------------------------------------
# **************************************************************************

# This scripts needs unrestricted access 
Write-Host "This scripts needs unrestricted access (Set-ExecutionPolicy Unrestricted.)" -ForegroundColor Green
Write-Host "The prereq setup for SCCM 2012 R2 takes around 15 minutes depending on your internet speed" -ForegroundColor Green

# Setting the variables.
 $folderpath0 = 'D:\Source'
 $ShareName = "Source$"

#Check if folder exists, if not, create it
 if (Test-Path $folderpath0){
 Write-Host "The folder $folderPath0 exists."
 } else{
 Write-Host "The folder $folderPath0 does not exist, creating..." -NoNewline
 New-Item $folderpath0 -type directory | Out-Null
 Write-Host "done!" -ForegroundColor Green

 # Sharing the Source folder
$Type = 0
$objWMI = [wmiClass] 'Win32_share'
$objWMI.create($folderpath0, $ShareName, $Type)

# Check if file exists, if not, download it
 $file0 = $folderPath0+"\adksetup.exe"
 $file1 = $folderPath0+"\MicrosoftDeploymentToolkit2013_x64.msi"

 if (Test-Path $file0){
 write-host "The file $file0 exists."
 } else {

#Download Windows Assessment and Deployment Kit (ADK) 8.1
		Write-Host "Downloading Windows Assessment and Deployment Kit (ADK) 8.1.." -nonewline -ForegroundColor yellow
		$clnt = New-Object System.Net.WebClient
		$url = ""
		Write-Host "done!" -ForegroundColor Green

 if (Test-Path $file1){
 write-host "The file $file1 exists."
 } else {

# Download Microsoft Deployment Toolkit 2013 
		Write-Host "Downloading Microsoft Deployment Toolkit 2013.." -nonewline -ForegroundColor yellow
		$clnt = New-Object System.Net.WebClient
		$url = ""
		Write-Host "done!" -ForegroundColor Green


# Install Windows Features.
Get-Module servermanager
Install-WindowsFeature Web-Windows-Auth
Install-WindowsFeature Web-ISAPI-Ext
Install-WindowsFeature Web-Metabase
Install-WindowsFeature Web-WMI
Install-WindowsFeature BITS
Install-WindowsFeature RDC
Install-WindowsFeature NET-Framework-Features
Install-WindowsFeature Web-Asp-Net
Install-WindowsFeature Web-Asp-Net45
Install-WindowsFeature NET-HTTP-Activation
Install-WindowsFeature NET-Non-HTTP-Activ

# Install ADK: Deployment Tools and Windows Preinstallation Enviroment.

Write-Host "Installing ADK 8.1 this might take a few minutes.." -nonewline -ForegroundColor yellow

Start-Process -FilePath "$folderPath0\adksetup.exe" -Wait -ArgumentList "/quiet /norestart /ceip off /features OptionId.DeploymentTools OptionId.WindowsPreinstallationEnvironment"

Write-Host "done!" -ForegroundColor Green
Start-Sleep -s 20

# Create no_sms_on_drive.sms on the C drive.

Write-host "Creating no_sms_on_drive.sms on the C drive...." -NoNewline -ForegroundColor yellow
New-Item c:\no_sms_on_drive.sms -type file

Write-Host "done!" -ForegroundColor Green

# Creating the Source folder structure

Write-host "Creating Source folders..." -NoNewline -ForegroundColor Yellow
New-Item $folderpath0\Microsoft\_AppName-v1.1.2 -type directory
New-Item $folderpath0\Adobe\_AppName-v1.1.2 -type directory
New-Item $folderpath0\SUN\_AppName-v1.1.2 -type directory
Write-Host "done!" -ForegroundColor Green

Write-Host "The server needs to be restarted before you start the SCCM 2012 R2 installation!" -nonewline -BackgroundColor Black -ForegroundColor Red

Download the script as a ZIP file.

// Chris Steding






Posted in Deployment, Scripting | Tagged , , | Leave a comment

Synology Diskstation change management port.

If you for some reason want to change the management port on your Synology NAS here is the howto.

  •  Logon to your Synology NAS using SSH. (I used Putty.)
  • Login with the username root and the same password you use for the admin account.
  • Type vi  /etc/synoinfo.conf
  • Edit the line admin_port and secure_admin_port. To edit in VI you need to press i and then make your changes.
  • To save your changes press esc and then type :wq
  • Login to the web interface using the default port and then restart the Synology. When restarted you are able to access it using your new port.



Good Luck :)

Posted in Uncategorized | Leave a comment

VLC media player 2.1.0 MSI

A new version off VLC media Player has been released from VLC.
You can download the new version as an MSI below.

# Created with Adminstudio.
# English meny by default can be changed in preferences.
# Updates notifier turned off.
# Tested on Win 7 x64 and Win 8.1 x64

Download it from:


Download it, test it, deploy it. // Chris



Posted in MSI | Tagged | 9 Comments

VLC media player 2.0.8 MSI

Looking for an MSI installer for VLC media player?
Here is the new version.

# Created with Adminstudio.
# English meny by default can be changed in preferences.
# Updates notifier turned off.
# Tested on Win 7 x64.

Download it from:


Have a nice day!

Posted in MSI | Leave a comment

VLC media player 2.0.7 MSI

Looking for an MSI installer for VLC media player?
Then you found the right site to download it from.

# Created with Adminstudio.
# English meny by default can be changed in preferences.
# Updates notifier turned off.
# Tested on Win 7 x64.

Download it from:


Posted in Deployment, MSI | Tagged , | 4 Comments

DPM 2012 SP1 automatic prerequisite installation.

Why do it manually when you can script it? If you script your installations it will be the same result everytime you do it.

This script will install:
.NET Framework
.NET Framework 3.5
Single Instance Store (SIS) (Restart required.)
Microsoft Visual c++ 2008 x64 Redistributable.
Microsoft Visual c++ 2012 x64 Redistributable.

You can download the script from.

// Chris

Posted in DPM, Scripting | Tagged , | 2 Comments

MDT 2012 Update 1 silent setup.

Time Flies and it’s time to update the MDT script with some new features.

To speed up the installation of Microsoft Deployment Toolkit (MDT) and Windows Assessment and Deployment Kit (ADK) and to get the same setup at all customers I use this PowerShell script to install the programs needed and to setup and configure the Deployment Share.

This PowerShell script will execute all tasks to install a working MDT 2012 Update 1 Install the Feature .NET Framework Installs Windows Deployment Service Install Microsoft Deployment ToolKit 2012 Update 1 Install Windows Assessment and Deployment Kit (ADK)

Folder Structure:
Copy your Windows Setup files, Drivers and applications to the folder structure bellow and then modify your script so that it will import your applications and Windows Setup files.

  • D:\Source
  • D:\Source\Drivers
  • D:\Source\Operating Systems\Windows 7 Enterprise x64
  • D:\Source\Operating Systems\Windows 8 Enterprise x64
  • D:\Source\Applications\Core Applications
  • D:\Source\Applications\Drivers
  • D:\Source\Applications\Optional D:\Source\Applications\Reference Applications

Copy the script to the server D:\ Copy your files to the Folder Structure If you already downloaded ADK & MDT copy the files to D:\Source If the files does not exist in the folder D:\Source the script will download them for you. Edit the constant variables in the second part of the script below to meet your needs and enjoy.


◾PowerShell script and folder structure

Save the script and copy it to the D: drive of you server.

Run the script and go and take a coffe.

Happy Deploying!

Posted in Deployment, Scripting | 1 Comment

DPM 2012 SP1 and Exchange 2013 The replica is inconsistent.

After installing Exchange 2013 you need some kind of backup software to backup your Exchange server. I decided to use Microsoft Data Protection Manager 2012 SP1.

According to technet
you need the following pre-requisites to install DPM 2012 SP1

• Microsoft .NET Framework 3.5 with Service Pack 1 (SP1)

• Microsoft Visual C++ 2008 Redistributable

• Windows PowerShell 2.0

• Windows Installer 4.5 or later versions

• Windows Single Instance Store (SIS)

• Microsoft Application Error Reporting

Setup automatically installs the pre-requisites if they are not already installed or enabled.

When I started to backup my Exchange 2013 server I was getting an error that the replica of the Exchange databas was inconsistent. The baremetal recovery and system state backup worked fine.

The Error message:

The replica of db01 on SERVER.compit.local is inconsistent with the protected data source. All protection activities for data source will fail until the replica is synchronized with consistency check. (ID: 3106) Data consistency verification check failed for LOGS of  db01 on SERVER.compit.local. (ID: 30146)

The solution:

Install Visual C++ Redistributable for Visual Studio 2012 Update 1 on your DPM 2012 SP1 server.

Inactivate the alerts and Perform consistency check on the databas.

Have a nice day.

Posted in Uncategorized | 6 Comments

Deploy Windows Live Movie Maker / Live Essentials 2012

Microsoft has released a new version of the Live Essentials Suite. So it’s time to write a new Blogpost about the news and where you can download the full installer.

In Windows 7 and 8  Microsoft has decided not to include any of the Windows Live programs ( Messenger, Mail, Writer, Sky Drive, Photo Gallery, Movie Maker, Family Safety and Toolbar) if you have any user in your organization that want to use any of the programs you might want to deploy them using a MSI package or a script . But when you try to download the program from you only get an .exe file that then will download the programs that you want to install.
To get the whole Windows Live package in one file use the links at the bottom of this page.

You now have the installer directly from Microsoft’s download site.

When you have downloaded the package install the features that you want to use on a test computer. When the installation has finished you will see that some of the programs have dependencies to each other. To get Movie Maker to work you have to have Photo Gallery installed. And to get Photo Gallery to work you need Microsoft SQL 2005 Compact edition. So don’t scratch your head to much when you see that Photo Gallery is installed even though you just selected Movie Maker

But where is the MSI?

The MSI file is located in C:\Windows\Installer
To find out exact what the files that you need is called you need to look in the registry.
Do a search for live in the following registry key.

Go through the folders that look like 5DD3EF3C1E293CE4DBB628D29DE99819 and look in the folder called InstallProperties until you find the right program. When you have found the program look for LocalPackage and there is the path to the MSI for that program.

If you are using the MSI to install the product remember the dependencies!!

Scripting the installation:

If you are more into scripting you can also do a scripted installation of the Windows Live Programs. To do that download wlsetup-all.exe the same way as above.

Here are the different command line options that you can play with:

Exampel: WLSetup-all.exe /AppSelect:Messenger /SILENT  /QUIET

Additional switches:

  • AppSelect:[ProductID]
  • log:log_location
  • NOToolbarCEIP (to not opt into Toolbar CEIP)
  • NOhomepage (to not set home page defaults)
  • Nolaunch (blocks all applications from running automatically after your installation is complete)
  • NOMU (to opt the computer into Microsoft Update)
  • nosearch (to not set search defaults)
  • q (for a silent/unattended install)

ProdID’s for the command line:
Messenger (Should not be installed is replaced by Skype)
wlsync (Sky Drive)

User Experience

When you deploy a program in an enterprise environment you don’t want the user to answer any questions that can generate a support call because the user don’t know what to answer.

Add the following to the registry using Group Policy Preferences or a script.

Suppress the EULA

String Value:
HKEY_CURRENT_USER\Software\Microsoft\Windows Live\Common TOUVersion=”″

Skip Sign in to the Windows Live account in Photo Gallery

This is not required so why prompt the user to do it?

HKEY_CURRENT_USER\Software\Microsoft\Windows Live\Photo Gallery
Value Name= SignInRemindersLeft
Value Data= 0

Don’t ask the user to change file associations for picture file types

Multi-String Value
HKEY_CURRENT_USER\Software\Microsoft\Windows Live\Photo Gallery\Library




Download the offline installation:






























Norwegian (Bokmal)


Portuguese (Brazil)

Portuguese (Portugal)














Chinese (Simplified)

Chinese (Traditional)


Posted in Deployment, MSI, Scripting | 7 Comments

Dell Equallogic password reset

Lost the Password ?

  • Turn off the Power to your EQL.
  • Connect the console cable and start Putty on your PC (
  • Turn on the power by turning on all the power supplies.
  • While the member is restarting, press Ctrl/p when the following message appears on the console:

    Press Ctrl/p to enter setup mode.
    This will halt the boot process and allow you to enter commands to the boot monitor.

  • At the CFE> prompt, enter the following commands, which are case-sensitive and must be typed exactly as shown:

    CFE> setenv RESETPASSWORD 1 (enter)
    CFE> reload

  • When the member restarts, the PeerStorage login prompt appears. After a short pause, the following message should appear:
    WARNING:Password recovery mode… Temporarily resetting grpadmin password.
  • If you get the previous message, log in the group using the grpadmin account and its factory-set password, grpadmin:

    Login: grpadmin
    Password: grpadmin

  •  At this point, you are logged in to the group with read-write permission and can perform any group administration task. At this point, you should set the grpadmin account password to a known value. Use the procedure described in the Modifying Accounts section in the Group Administration manual or use the following command:

    account select grpadmin passwd Enter New Password: xxxxxxx Retype password: xxxxxxx

If it dosen’t work try to connect you serial cabel to the other controller module.
Still dosen’t work give Dell a call and the can help you using the recoverpassword account.

Good Luck

Posted in Dell, VmWare | Tagged , | 2 Comments