Friday 28 February 2014

Important Config Mgr Hotfix for OS Deployment (KB2910552)



Microsoft has just released an Important Config Mgr Hotfix for OS Deployment issue. The problem was a compatibility issue between Windows XP and the Windows Assessment and Deployment Kit (ADK) 8.1. which prevents deployments when you use WinPe 3.1 boot image with a task sequence in Windows XP update scenarios.

Error message in the Smsts.log file:
Installing boot image to hard drive TSManager datetime 3048 (0x0BE8)
Backing up existing boot system before trying to set up new boot system TSManager datetime 3048 (0x0BE8)
BootLoader::backup: C:\, C:\_SMSTaskSequence\backup TSManager datetime 3048 (0x0BE8)
BootLoader::restore: C:\_SMSTaskSequence\WinPE, C:\ TSManager datetime 3048 (0x0BE8)
Saving bcd store to C:\_SMSTaskSequence\WinPE\boot\BCD TSManager datetime 3048 (0x0BE8)
Executing command line: "C:\_SMSTaskSequence\WinPE\SMS\bin\i386\bootsect.exe" /NT60 SYS /MBR TSManager datetime 3048 (0x0BE8)
CreateProcess failed. Code(0x800700C1) TSManager datetime 3048 (0x0BE8)
Command line execution failed (800700C1) TSManager datetime 3048 (0x0BE8)
Failed to install boot image.
is not a valid Win32 application. (Error: 800700C1; Source: Windows) TSManager datetime 3048 (0x0BE8)
Failed to install boot image CCR00004.
is not a valid Win32 application. (Error: 800700C1; Source: Windows) TSManager datetime 3048 (0x0BE8)
Failed to reboot the system. Error 0x(800700c1) TSManager datetime 3048 (0x0BE8)
Failed to initialize a system reboot.
is not a valid Win32 application. (Error: 800700C1; Source: Windows) TSManager datetime 3048 (0x0BE8)
Fatal error is returned in check for reboot request of the action (Restart in Windows PE).
is not a valid Win32 application. (Error: 800700C1; Source: Windows) TSManager datetime 3048 (0x0BE8)

The hotfix applies to sites, admin consoles and clients. 

Don't forget to update your boot images after the update is installed.

Task sequence component version becomes 5.00.7958.1104 after the hotfix installation.


KB2910552

 

The hotfix KB2910552 can be downloaded from http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2910552&kbln=en-us

And you can read more detail at http://support.microsoft.com/kb/2910552

Windows Server 2012 R2 Products and Editions Comparison

Windows Server 2012 R2 Products and Editions Comparison by features, locks / limits and server roles.
Windows Server 2012 R2 DatacenterWindows Server 2012 R2 StandardWindows Server 2012 R2 EssentialsWindows Server 2012 R2 Foundation
Locks and Limits
Maximum number of usersbased on licensesbased on licenses2515
Maximum SMB Connections16,777,21616,777,2161677721630
Maximum RRAS Connectionsunlimitedunlimited5050
Maximum IAS Connections2,147,483,6472,147,483,6475010
Maximum number of 64-bit sockets646421
Maximum RAM4 TB4 TB64 GB32 GB
Server can join a domainYesYesFor migration onlyFor migration only
DirectAccessYesYesSee documentationYes
Server Roles
Active Directory® Certificate ServicesYesYesYesYes
Active Directory Domain ServicesYesYesRequiredYes (optional)
Active Directory Federation ServicesYesYesYesYes
AD Lightweight Directory ServicesYesYesNoYes
AD Rights Management ServicesYesYesYesYes
Application ServerYesYesYesYes
DHCP ServerYesYesYesYes
DNS ServerYesYesYesYes
Fax ServerYesYesYesYes
File ServicesYesYesYesYes
Hyper-VYesYesNoNo
Network Policy and Access ServicesYesYesYesYes
Print and Document ServicesYesYesYesYes
Remote AccessYesYesYesYes
Terminal Services Application SharingYesYesNoYes
Terminal Services GatewayYesYesNoSee documentation
Web Services (IIS)YesYesYesYes
Windows Deployment ServicesYesYesYesYes
Windows EssentialsYesYesDefaultNo
Windows Media Services support (Streaming Media Services)See Installation Options documentationSee Installation Options documentationYesSee Installation Options documentation
WINS ServerYesYesYesYes
Features
RODC – read only domain controllerYesYesNoNo
Automatic Virtual Machine ActivationBoth guest and hostAs guestAs guestNo
Best Practices AnalyzerYesYesYesYes
BranchCache Hosted ServerYesYesYesYes
BranchCache P2P CacheYesYesYesYes
Windows Control PanelYesYesYesYes
Distributed File System ReplicationYesYesYesYes
Data DeduplicationYesYesNoNo
ISCSI target supportYesYesYesYes
DirectAccessYesYesYesYes
Dynamic Memory (in virtualization)YesYesYesNo
Failover ClusteringYesYesNoNo
"Hot" add/replace RAMYesYesYesNo
IPAM (IP Address Management)YesYesYesYes
Microsoft Management ConsoleYesYesYesYes
Minimal Server InterfaceYesYesNoNo
Network Load BalancingYesYesYesYes
Support for Non-volatile Memory ExpressYesYesYesYes
Windows PowerShellYesYesYesYes
Server Core modeYesYesNoNo
Server license loggingYesYesYesYes
Server ManagerYesYesYesYes
SMB Direct and SMB over RDMAYesYesYesYes
Storage Management ServiceYesYesYesYes
Storage SpacesYesYesYesYes
Volume Activation ServicesYesYesNoNo
VSS (Volume Shadow Copy Service) integrationYesYesYesYes
Windows Server Update ServicesYesYesYesNo


The full PDF that includes Hyper-V and Storage Server editions can be downloaded from http://www.microsoft.com/en-us/download/confirmation.aspx?id=41703

Thursday 27 February 2014

Ports used by Configuration Manager Management Point

Ports used by Configuration Manager Management Point

Management Point <> Domain Controller
DescriptionUDPTCP
Lightweight Directory Access Protocol (LDAP)--389
LDAP (Secure Sockets Layer [SSL] connection)636636
Global Catalog LDAP--3268
Global Catalog LDAP SSL--3269
RPC Endpoint Mapper135135
RPC--DYNAMIC

Management Point <> Site Server

DescriptionUDPTCP
RPC Endpoint mapper--135
RPC--DYNAMIC
Server Message Block (SMB)--445

Management Point <> SQL Server

DescriptionUDPTCP
SQL over TCP--1433

Enable Verbose Logging on the SCCM Client for Application Deployment Troubleshooting

You might need to enable verbose logging on the SCCM client for application deployment troubleshooting to be able to see what is happening in more detail.

The default logging level for the client logs information, error and warning level messages. And this is set by a registry value named LogLevel which can be found under

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\CCM\Logging\@GLOBAL\LogLevel (For x86 SCCM Client)

or

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CCM\Logging\@GLOBAL\LogLevel

default value of LogLevel is 1, so you can change it 0 (Zero) and restart the SMS Agent service to enable verbose logging. (You'll need to change Administrators permissions to Full on @GLOBAL before changing this value)

SCCM Enable Verbose Logging

Client-side debug logging

If you need more detail you can also enable debug level logging by creating a new key named DebugLogging and a value named Enabled REG_SZ (String) = True under the

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\CCM\Logging\@GLOBAL\ (For x86 SCCM Client)

or

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CCM\Logging\@GLOBAL\

SCCM Enable Verbose Logging New Key

Creating new key named DebugLogging

SCCM Enable Verbose Logging New String

Creating new REG_SZ (String) named Enabled

SCCM Enable Debug Logging

Wednesday 26 February 2014

Hybrid Configuration Troubleshooting

Hi,

In this article I will mention of some troubleshooting methods against common issues that cause the Hybrid Configuration to fail. At this stage I assume that you have completed the prerequisites and prepared your tenant for the integration. These steps include registering the UPNs (User Principal Names), domains that are planned to be used with the service, as well as the configuration of the ADFS (Active Directory Federation Services), Directory Synchronisation, Exchange Hybrid Server. I will mention about these configuration steps in another article. However if you have any questions with regards to these feel free to approach me.

Anyway, let's go back to our topic Hybrid Configuration Troubleshooting. As highlighted above there are some common issues which cause your Hybrid Configuration to fail.

1- The first common and important known problem is the Autodiscover service misconfiguration. Testing the configuration of the autodiscover service is very easy. Microsoft has provided a great web-based troubleshooting tool (Remote Connectivity Analyzer) which helps to identify the external client based connectivity issues. The tool can be accessed here: Microsoft Remote Connectivity Analyzer

HCT1

Select the Exchange ActiveSync Autodiscover option to ensure that the Autodiscover service is properly configured and your certificates are valid.HCT2

The most important points of this step are the following:

  • Autodisover test to be completed as successful.

  • The certification validation to PASS.


2- The second common issue I would like to mention which may cause the Hybrid Configuration to fail is the Virtual Directory settings. You might encounter this error during updating the hybrid configuration. You may get an error message something like below:

HCT3

When you get the error above, follow the following steps to see whether the virtual directory settings are creating the issue or not.

  • Start the Exchange Management Shell (EMS) and run the command:
    Get-FederationInformation <domain_name> -Verbose


  • The proper configuration should look like below:HCT4

  • If Get-FederationInformation is unable to retrieve information about the configuration, Update-HybridConfiguration would most likely encounter issues as well. Get-FederationInformation may not be able to retrieve the information due to errors 401 and 403. See below:HCT5

  • To resolve the 401 & 403 errors, you need to make sure that the security settings for the Autodiscover virtual directory has been configured properly. Run the following command:


    • Set-AutodiscoverVirtualDirectory -Identity 'autodiscover (Default Web Site)' -WSSecurityAuthentication $true




  • Run the Get-FederationInformation command again and now 401 & 403 errors should be resolved and you should see a result as shown above.

  • You can now go back  and finalise your configuration. (Update-HybridConfigration)


3- Sometimes the error could be due to a corruption on the Autodiscover virtual directory or could be due to an incorrect configuration. In this case you would need to reset the Autodiscover virtual directory. Resetting will delete the existing directory and create a new one with the default settings. To reset the directory follow the following steps:

  • Start EMC and connect to the CAS.

    • Expand Microsoft Exchange On-Premises, select the Server Configuration node and then select the Client Access Server.



  • Click Reset Virtual Directory in the Actions pane.

  • Accept the default log file location.

  • After the directory is reset, you need to reset the IIS server as well. Open an elevated command prompt window and run:

    • iisreset



  • Also do not forget to set the  -WSSecurityAuthentication $true value.


After completing the above you can start testing moving mailboxes between on-premise Exchange and Exchange Online. Keep an eye on this webpage if you want to find out more about the mailbox moves.

Hope above helps.

ecsword

 

 

/PrepareAD fails with error message: 'A hybrid deployment with Office365 has been detected.'

Hi,

As you all know before Exchange Server 2013 or its Cumulative Update is installed, you need to prepare the Active Directory forest and domain(s).  However you may have an on-premise Exchange Server environment co-existing with an Office 365 tenant. When this is the case and you run the /PrepareAD switch, the Prerequisite Analysis will FAIL. See below:
Setup /PrepareAD /IAcceptExchangeServerLicenseTerms

Exchange2013_PrepareAD_ERROR

To be able to prepare your Active Directory in a coexistence scenario with Exchange Online you would need to export your organisation configuration to an XML file. To do this:

1- Logon to your O365 tenant

2- Run
Get-OrganizationConfig | Export-clixml -Path X:\Path\filename.xml

 

Exchange2013_PrepareAD_FIX1

3- Now re-run the PrepareAD switch with the exported XML as shown below. You should be able to run it successfully.
Setup /PrepareAD /TenantOrganizationconfig:C:\ecswordONLINEOrganizationConfig.xml /IAcceptExchangeServerLicenseTerms

Exchange2013_PrepareAD_FIX2

You would need to follow this approach during the installation of the Cumulative Updates which would require Organisation Preparation.

ecsword

 

The attempt to connect to http://... using "Kerberos" authentication failed.

Hi,

When you launch Exchange Management Console and get a Kerberos authentication failed error message I suggest you to check the proxy settings of the Client Access Servers. Kerberos_Error

 

Run the following commands to check the proxy settings and either clear or update the existing settings with the correct proxy settings.
netsh winhttp show proxy

 
netsh winhttp reset proxy

Kerberos_Error-FIXED

You should now be able to access and connect both using EMC and EMS.

ecsword