Remote Control SCCM Package

With SCCM 2012, I love the Remote Control function, so much better than RDP! and it comes with SCCM console.

For those don’t have SCCM console, I have wrote a Powershell script to just to run Remote Control from their desktops:

First we need to copy files we need, you can check the files we need from this excellent article:


And here is my SCCM Package for standalone Remote Control:

it will output verbose to c:\output.txt as well.


# Remote Control SCCM 2012 Standalone Installation
# Rui Qiu
# 4/1/2015
# V 1.0

Stop-Transcript | out-null
$ErrorActionPreference = “Continue”
Start-Transcript -path c:\output.txt -append
#Create Current Folder Function
function Get-ScriptDirectory
$Invocation = (Get-Variable MyInvocation -Scope 1).Value;
Split-Path $Invocation.MyCommand.Path

#Copy files
$Source = Get-ScriptDirectory
$Target = ‘C:\Program Files\Remote Control’
write-host “File Path is:”
write-host $Source

# Copy-Item $ScriptDir ‘C:\Programs Files\’ -Recurse -Force
if (!(Test-Path -path $Target)) {New-Item $Target -Type Directory}
Copy-Item -Path $Source\* -Destination $Target
Copy-Item -Path $Source\00000409\* -Destination $Target\00000409\

#Create a shortcut to desktop
$desktop = ([Environment]::GetEnvironmentVariable(“Public”))+”\Desktop”
Copy-Item “C:\Program Files\Remote Control\Remote Control.lnk” $desktop

#Create registry entry for connection records
New-Item -Path “HKLM:\SOFTWARE\Wow6432Node\Microsoft\ConfigMgr10\AdminUI” -Name Connection -Force
Set-ItemProperty -Path $RegKey -Name Server -Value “SCCM MP FQDN”


Leave a Reply