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.



Thursday, June 5, 2014

An error occured while starting the task sequence (0x80070032).

SCCM TS failed with starting Windows 7 OSD:


Solution for this issue is to format HDD with diskpart:

1. F8 for Command prompt.
2. Diskpart
3. Select disk 0
4. clean
5. Exit

After restarting the machine TS start without to report any issue.

Tuesday, June 3, 2014

Disable Windows features on Windows 7 x64 with SCCM 2007 TS

DISM command can be used to Disable Windows features on Windows 7  with SCCM 2007 TS.

Here is the syntax for disabling Fax Services:

DISM /online /Disable-Feature /FeatureName:FaxServicesClientPackage /Quiet /NoRestart

This syntax can be added in TS component and it works for Windows 7 x86 architecture.

For Windows 7 x64, SCCM 2007 reports an error:

The operating system reported error 11: An attempt was made to load a program with an incorrect format.



In order to resolve the error, Disable 64-bit file system redirection check box should be enabled.