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:
http://ccmexec.com/2012/05/running-configuration-manager-2012-remote-control-standalone/
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$ErrorActionPreference=”SilentlyContinue”
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;
if($Invocation.PSScriptRoot)
{
$Invocation.PSScriptRoot;
}
Elseif($Invocation.MyCommand.Path)
{
Split-Path $Invocation.MyCommand.Path
}
else
{
$Invocation.InvocationName.Substring(0,$Invocation.InvocationName.LastIndexOf(“\”));
}
}#Copy files
$Source = Get-ScriptDirectory
$Target = ‘C:\Program Files\Remote Control'
write-host
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
$RegKey=”HKLM:\SOFTWARE\Wow6432Node\Microsoft\ConfigMgr10\AdminUI\Connection”
New-Item -Path “HKLM:\SOFTWARE\Wow6432Node\Microsoft\ConfigMgr10\AdminUI” -Name Connection -Force
Set-ItemProperty -Path $RegKey -Name Server -Value “SCCM MP FQDN”Stop-Transcript