Site Tools


windows:windowsserver:scom:operationsconsole

Operations Manager Console

We have a small client which boots and automatically opens the SCOM Console to display the alerts on a big TV screen. The following files are placed inside autostart.

How to open up the SCOM Console

Create a link to the console executeable, mostly placed “C:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Console”
Rightclick the link and add to target:

"C:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Console\Microsoft.EnterpriseManagement.Monitoring.Console.exe" /Viewname:"System.Views.AlertView"

How to login with different user credentials

To manage this, I wrote a litte AutoIT script which logs in automatically, as soon as the credential window pops up. Why AutoIT? Well, if you want that PW, you need to decompile the .exe You can also add to the code to close the script as soon as someone moves the mouse or click anything. This way you cant paste it into a notepad or anything…

#cs ----------------------------------------------------------------------------
 
 AutoIt Version: 3.3.14.0
 Author:         Lunetikk
 
 Script Function:
	Enter credentials to log into SCOM
 
#ce ----------------------------------------------------------------------------
 
AutoItSetOption ( "WinTitleMatchMode", 2 )
 
$Checktitle_de = "Anmeldeinformationen eingeben"
$Checktitle_en = "Enter Credentials"
 
while 1
 
Sleep(4000)
 
If WinExists ( $Checktitle_de ) Then
 
   WinActivate ( $Checktitle_de )
 
ElseIf WinExists ( $Checktitle_en ) Then
 
   WinActivate ( $Checktitle_en )
 
Else
EndIf
 
Sleep(1000)
 
$Title = "x"
$Title = WinGetTitle("")
 
 
If $Title = $Checktitle_de OR $Title = $Checktitle_en Then
 
   Sleep(500)
   Send("INSERT YOUR SERVICEACCOUNT")
   Sleep(200)
   Send("{TAB}")
   Sleep(200)
   Send("INSERT YOUR PW")
   Sleep(200)
   Send("{TAB}")
   Sleep(200)
   Send("INSERT YOUR DOMAIN")
   Sleep(200)
   Send("{ENTER}")
   Exit 0
 
Else
EndIf
 
WEnd

windows/windowsserver/scom/operationsconsole.txt · Last modified: 2017/11/29 16:55 (external edit)