Search This Blog

Monday, March 31, 2014

Identify whether SCCM 2012 R2 CU1 has been installed

Cumulative Update 1 for System Center Configuration Manager 2012 R2 has been released http://support.microsoft.com/kb/2938441

So once again it’s time to take a closer look at the version changes, this time for R2.

After upgrading to System Center Configuration Manager 2012 R2 CU1, you will be able to identify the update as shown here.

First let us take a look at the console, after the update the console reports version 5.0.7958.1203

image

The console reported version 5.0.7958.1000 before updating which is 2012 R2 RTM.

image

The Console update is also listed in Control Panel as an Installed Update.

image

The site will still report version 5.00.7958.1000 after the update.

image

In order to check if the update has been applied we must look in the registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Setup\CULevel

CULevel reports 1 after CU1 has been applied.

image

Before updating CULevel reported 0 because no Cumulative Update was installed.

image

This update is also visible under Installed Updates in Control Panel.

image

The client will report 5.00.7958.1203 after the client has been updated.

image

With these components updated:

image

Before updating the client reported 5.00.7958.1000 for 2012 R2 RTM client.

image

CU1 also includes a update for SCEP.

Which means that scepinstall.exe file in the ConfigMgr install folder “.\Program Files\Configuration Manager\Client” will be updated to version 4.5.0216.0

image

Before updating the version was 4.4.0304.0 which is the version from 2012 R2 RTM.

image

And finally as reported by the client after update 4.5.216.0.

image

The SCEP update will also be available from Microsoft Update according to the article: http://blogs.technet.com/b/configmgrteam/archive/2014/03/27/anti-malware-platform-updates-for-endpoint-protection-will-be-released-to-mu.aspx

System Center 2012 R2 Cumulative Update 1 also includes quite a lot of changes to PowerShell support for Config Manager http://support.microsoft.com/kb/2932274

Monday, March 24, 2014

DotNet 1.1 installation on Windows 7

This post is just in case should I ever need this again, yes I know it’s very old stuff Smile

To create an administrative installation point for .Net 1.1 with SP1 and hotfix, follow this:

 

Commands executed:

image

 

DotNet.Tmp folder after all files is downloaded and extracted:

image

 

  • Create the administrative installation folder with the command c:\DotNet.Tmp\dotnetfx.exe /c:"msiexec.exe /a netfx.msi TARGETDIR=c:\DotNet"
  • Patch the installation folder with SP1 msiexec.exe /a c:\dotnet\netfx.msi /p c:\dotnet.tmp\sp1.msp
  • Patch the installation folder with the hotfix msiexec.exe /a c:\dotnet\netfx.msi /p c:\dotnet.tmp\NDP1.1sp1-KB979906-X86.msp

 

Installation commands executed

image

Now install DotNet 1.1 with the command msiexec /i C:\DotNet\netfx.msi /quiet /norestart

If you just start the MSI on Windows 7 you will see this warning:

image

The warning can be bypassed if you set this value in the registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags]
"{11F1F8EE-7E7F-4F1D-BE93-B4D310F0760A}"=dword:00000004

image

The installation will also add a RunOnce action, and you might want to remove the entry.

image

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce]
"NetFxUpdate_v1.1.4322"=-

 

Settings and installation in a vbscript:

Set oShell = CreateObject("WScript.Shell")
oShell.Regwrite "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\{11F1F8EE-7E7F-4F1D-BE93-B4D310F0760A}", 4 ,"REG_DWORD"

RunCommand = "cmd /c start /wait msiexec /i netfx.msi /quiet /norestart"
oShell.run RunCommand,0,TRUE

oShell.Regdelete "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce\NetFxUpdate_v1.1.4322"

Monday, March 17, 2014

Is the update installed?

I often need to check if a specific update is installed on a server or client. A quick command to this would be:

wmic qfe | find "hotfixID"

image

Of course this can also be done with PowerShell:

get-hotfix -id HotfixID

image

Monday, March 10, 2014

Forgot or lost administrator password on Windows

Some times I am asked to help with member servers where nobody any longer can remember the local administrator password.

In these situations I use an old trick.

Boot the system with your Windows CD, in this example we are working with Windows 2008 R2 and press SHIFT + F10.

image

Create a backup of the file C:\Windows\System32\sethc.exe

image

Now overwrite sethc.exe with cmd.exe

image

Exit the command prompt and restart the computer.

image

At the login screen press Shift quickly 5 times (try again if its not working the first time).

This will open Sticky Keys but also the command prompt.

image

Change the local administrator password with the command:

net user administrator NewPassword

Exit the command prompt.

image

Login to the system with the administrator account and your new password.

Finally remember to copy the backup of sethc.exe back again.

image

 

Instead of using SHIT + F10 at the boot screen this is an alternative way to the command prompt.

At the first screen when booting from CD select Next.

 image

Select Repair your computer in the bottom of the screen.

image

Select your OS and click Next.

image

Select Command Prompt.

image

Now copy sethc.exe and backup as explained earlier, after exiting the command prompt select Restart.

image

The rest is the same as earlier.

Monday, March 3, 2014

Server Error in ‘/edgesight/setup’

You might see this error when you try to configure EdgeSight after installation.

Server Error in ‘/edgesight/setup’

Access is denied

image

This error is related to the problem with configuring Report Services http://larslohmann.blogspot.com/2013/12/ssrs-user-does-not-have-required.html

The solution is once again to start Internet Explorer as administrator.

image

And the we are able to start the EdgeSight Setup Wizard:

image

http://support.citrix.com/article/CTX133911