Monday, September 8, 2014

Uninstalling silently SP 2 (Service Pack) for Microsoft Office 2010


Uninstalling line of SP 2 for MS Office 2010 can be found in registry:



Uninstalling string contain:

"C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Oarpmany.exe" /removereleaseinpatch "{90140000-0011-0000-0000-0000000FF1CE}" "{DE28B448-32E8-4E8F-84F0-A52B21A49B5B}" "1033" "0"

Applying this string in CMD doesn't provide silent uninstall. Tried separately Oarpmany.exe with help switch doesn't show any silent switches.

Workaround for silent uninstall of SP2 for Office 2010 was to apply the following command:


MsiExec.exe /package {90140000-0011-0000-0000-0000000FF1CE} /uninstall {DE28B448-32E8-4E8F-84F0-A52B21A49B5B} /qn


where {90140000-0011-0000-0000-0000000FF1CE} is Office 2010 GUID and {DE28B448-32E8-4E8F-84F0-A52B21A49B5B} is SP2 GUID specified in the uninstall string.

 

Tuesday, September 2, 2014

Software Updates in SCCM fail to download and install; Failed to download update Error = 0x80040669

Deploying Software updates using SCCM 2007 on Windows 7 stuck on update: KB2675662

Analyzing UpdatesHandler.log showed: Failed to download update Error = 0x80040669


 WUAHandler.log files shows that this updated contains two updates where one is missing.


 Checking this updates in SCCM Console shows that Content ID 90811, related with MS012-034, is missing.


After downloading this updates again and applying to the machine, the update was successfully installed.


After machine restarting all other updates started to come and to install.


Tuesday, August 19, 2014

Add Menu Bar in IE Internet Explorer using registry key

Using this registry key allows Menu Bar to be shown when you open IE 9 on Windows 7 64bit.

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main]
"AlwaysShowMenus"=-

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main]
"AlwaysShowMenus"=dword:00000001

To remove Menu Bar from IE:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main]
"AlwaysShowMenus"=-

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main]
"AlwaysShowMenus"=dword:00000000

To allow Menu Bar to be turned on and off by the user:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main]
"AlwaysShowMenus"=-

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main]
"AlwaysShowMenus"=-

Friday, August 8, 2014

Disable Windows Defender using registry key in SCCM TS

Windows Defender can be disabled with following two registry keys which can be included in SCCM 2007 Task Sequence:

reg add "HKLM\SOFTWARE\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f /reg:64

reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f /reg:64


The following two components are successfully tested on Windows 7 SP1 x64:




Wednesday, July 30, 2014

“This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.”

This messаge “This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.”






appears on Internet Options on Internet Explorer 8 installed on Windows 7 SP1.


 Solution for this issue to install KB2936068




Tuesday, June 17, 2014

SCCM Dynamic Collection based on OS, Architecture and Machine model

Here is the SCCM Dynamic Collection query based on OS, Architecture and Machine model.
In this case: Windows 7 Enterprise, x64 and model: HP ProBook 6570b.

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.Model in ("HP ProBook 6570b") and SMS_G_System_OPERATING_SYSTEM.Caption = "Microsoft Windows 7 Enterprise" and SMS_G_System_COMPUTER_SYSTEM.SystemType = "x64-based PC" and SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Workstation 6.1" and SMS_R_System.Client = 1 and SMS_R_System.Obsolete != 1


Wednesday, June 11, 2014

Installation failed with error: 0x80070656. The operating system reported error 2147944022: Error opening installation log file.

Deploying HP WebCam 1.0.26.3 with SCCM 2007 on Windows 7 64-bit resulted with following error:

Installation failed with error: 0x80070656. The operating system reported error 2147944022: Error opening installation log file

This software was deployed regularly using Install Software SCCM Task Sequence component.




After spending some time with testing and log analyzing, I tried Command line Task Sequence component where I specified setup.exe command, the package and credentials for admin user.
After TS launching, the issue was successfully resolved and HP WebCam software installed on the machine.