Wednesday, 31 December 2014

SCOM Agent Uninstall error : The patch Package could not be opened

SCOM Agent Uninstall error : The patch Package could not be opened



  • SCOM agent uninstall was always a piece of Cake. Jut right click and select uninstall from console



  • But recently i was migrating from SCOM 2007 to SCOM 2012 and i have to uninstall SCOM 2007 R2 agents.Most went wellBut few failed with error


"The patch Package could not be opened. Verify that the patch package exists and that you can access it.Or contact the application support."


  • First reaction was shocked. Haven't seen this error.I have access and all the msi to uninstall.



  • Later i found out that issue is because of fact that the agent creates a reg entry of while installing with unique patch number.And if this conflicts or if there multiple of them then it will fail.


So to fix It follow the below steps,


  • Click Start
  • In Search type Regedit
  • Click on HKEY_CLASSES_ROOT\Installer\Products\07779052F1B26F94BAD9C107B8
  • Then double click on "Patches"
  • Delete all the Values in it and Close it.
  • Now go and try to uninstall it and it will work fine.

Sunday, 28 December 2014

SCOM 2012 R2 Fatal error 1603 while installing Management Server

SCOM 2012 R2 Fatal error 1603 while installing Management Server


  • I was today trying to install SCOM 2012 R2 on Windows 2008 r2.
  • Everything seems to be going well and Pre requisite passed with flying colors.
  • But while installing Management Server in the middle it failed with Fatal error 1603 and all got rolled back and installation was aborted.It asked me to refer the scom install log while which just gave the error 1603 Fatal error.
  • After investigating some time found that there is 1 pre requisite which Microsoft missed to do.Probably a bug.
  • Microsoft.NET 3.5.1 is mandatory. If this is not install it won't say any errors while you run the pre requsite. But.But in middle install will fail.
  • So before starting the installation of SCOM management Server Go to Add/remove programs and click "add roles" and select "Application Server"    and install.
  • This time the MS installation went through without any errors.

Sunday, 21 December 2014

Show-Eventlog:How to open Event viewer from Powershell

How to open Event viewer from Powershell


  • Manytime you might want to open Eventviewer while working in Powershell.
  • There is a way to directly open the event viewer from Powershell.
  • The Command is Show-Eventlog

  • This will directly open the event viewwer from the Powershell

Saturday, 20 December 2014

SCOM 2012 maintenacemode from Powershell or Command Shell

SCOM 2012 maintenacemode from Powershell or Command Shell


  • Now you can set the maintenace mode in SCOM using command shell or powershell
  • You the following command Start-SCOMMaintenanceMode

Sunday, 7 December 2014

Where is logoff button in windows 2012

Microsoft has done away with log off button.

Now in Windows 2012 its called Sign out.

So if you want to log off of Windows 2012 server then click sign out.