Error During install Exchange 2013 through Powershell on Server 2012 "Mailbox role: Client Access service"

Dear all
During install Exchange 2013 through Powershell on Server 2012 I got this error in Mailbox role: Client Access service :
The following error was generated when "$error.Clear();
$BEVdirIdentity = $RoleNetBIOSName + "\OWA (Exchange Back End)";
new-OwaVirtualDirectory -Role Mailbox -WebSiteName "Exchange Back End" -DomainController $RoleDomainController
set-OwaVirtualdirectory -Identity $BEVdirIdentity -FormsAuthentication:$false -WindowsAuthentication:$true;
" was run: "An error occurred while creating the IIS virtual directory 'IIS://MONAMBX2.mona.local/W3SVC/2/ROOT/o
wa' on 'MONAMBX2'.".
The following error was generated when "$error.Clear();
$BEVdirIdentity = $RoleNetBIOSName + "\OWA (Exchange Back End)";
new-OwaVirtualDirectory -Role Mailbox -WebSiteName "Exchange Back End" -DomainController $RoleDomainController
set-OwaVirtualdirectory -Identity $BEVdirIdentity -FormsAuthentication:$false -WindowsAuthentication:$true;
" was run: "The operation couldn't be performed because object 'MONAMBX2\OWA (Exchange Back End)' couldn't be fo
und on 'MonaDc1.mona.local'.".
Any advice please !!

I can't answer your question but I had a similar issue when I was trying to move our mailbox database off the C: drive.  Our environment still has an Exchange 2007 server in it and when I was trying to move the database on the 2013 server, I would get
error messages saying the database does not exist.  It seemed like it was trying to move the database on the 2007 server from the similar error messages that I was getting.  To get around it, I deleted the database and created a new one on the drive
where we wanted it.
I discovered this when I was configuring the Antispam settings.  I deleted our 2007 settings, added them to the 2013 shell, the settings appeared on our 2007 server.  The shell on 2013 was making changes to 2007.
I'm not sure if there is a "Get|Set or New" command that I/we should be using when this happens.  Or maybe my issues will be fixed if I just remove the Exchange 2007 server?  I'm not ready to do that yet because I can't configure the spam filtering
on 2013 yet with its shell not being able to make the changes that we need.
I don't know if your environment is in coexistence mode like mine.
Hopefully someone else out there has an answer or can tell us when/how the shell can make the appropriate changes to the 2013 server.  Does this happen after the 2007 server is removed?

Similar Messages

  • Trying to Install Exchange 2013 SP1 on Windows Server 2012 R2 but getting an error on mailbox role install

    On Step 1 of 7, the "Mailbox role: Client Access service," I got an error during installing:
    Error:
    The following error was generated when "$error.Clear(); 
              Install-ExchangeCertificate -WebSiteName "Exchange Back End" -services "IIS, POP, IMAP" -DomainController $RoleDomainController -InstallInTrustedRootCAIfSelfSigned $true
              if ($RoleIsDatacenter -ne $true -And $RoleIsPartnerHosted -ne $true)
                Install-AuthCertificate -DomainController $RoleDomainController
            " was run: "Could not grant Network Service access to the certificate with thumbprint 8FCF29D8F3A4D8E3D649BF4231DC9B4641D5A077 because a cryptographic exception was thrown.".
    I couldn't find help anywhere on this. Can someone help me? If you need any more info, please let me know ^_^

    Try the solution provided in this thread:
    https://social.technet.microsoft.com/Forums/exchange/en-US/e4b23442-e3c9-4611-9fde-fac848ca217b/error-could-not-grant-network-service-access-to-the-certificate-with-thumbprint?forum=exchangesvrdeploy
    Thanks,
    MikeV
    MCSE 2012
    If the above solutions doesn't work, try moving the certificate with the thumbprint identified in the error, to the Trusted Root Certification Authority folder
    Thanks,
    MikeV
    MCSE 2012

  • Getting Error while installing Exchange 2013 on server 2012

    Error During Exchange 2013 Mailbox Transport
    Role Install On Server 2012 
    Exchange
    Server forums
     > 
    Exchange
    Server 2013 - Setup, Deployment, Updates, and Migration
    Question
    1
    Sign
    in to vote
    I was installing Exchange 2013 on Server 2012.  The server is not a DC, but is a member of a domain with a 2008 R2 functional level, and I was logged in as a domain admin.  There has never been an Exchange instance on this domain.  I got past
    the prerequisite checks, and the installer showed 15 steps, so I walked away.  When I came back, I saw this:
    Step 8 of 15: Mailbox role: Transport service
    Error:
    The following error was generated when "$error.Clear(); 
              $maxWait = New-TimeSpan -Minutes 8
              $timeout = Get-Date;
              $timeout = $timeout.Add($maxWait);
              $currTime = Get-Date;
              $successfullySetConfigDC = $false;
              while($currTime -le $timeout)
                $setSharedCDCErrors = @();
                try
                  Set-SharedConfigDC -DomainController $RoleDomainController -ErrorVariable setSharedCDCErrors -ErrorAction SilentlyContinue;
                  $successfullySetConfigDC = ($setSharedCDCErrors.Count -eq 0);
                  if($successfullySetConfigDC)
                    break;
                  Write-ExchangeSetupLog -Info ("An error ocurred while setting shared config DC. Error: " + $setSharedCDCErrors[0]);
                catch
                  Write-ExchangeSetupLog -Info ("An exception ocurred while setting shared config DC. Exception: " + $_.Exception.Message);
                Write-ExchangeSetupLog -Info ("Waiting 30 seconds before attempting again.");
                Start-Sleep -Seconds 30;
                $currTime = Get-Date;
              if( -not $successfullySetConfigDC)
                Write-ExchangeSetupLog -Error "Unable to set shared config DC.";
            " was run: "Unable to set shared config DC.".

    Hi Deepak,
    From the error description, I would like to clarify the following things:
    1. Please ensure that IPv6 on the network adaptor is turned on.
    2. Please check if the account that you used to install Exchange has necessary permissions to perform the installation.
    3. Make sure that DNS is configured correctly.
    Hope my clarification is helpful.
    If there are any problems, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Cannot install SharePoint 2013 with SP1 on server 2012 R2. IIS configuration error

    Hey Guys,
    I'm experiencing a problem which seems to be common considering the number of posts I've found about it, but none of the provided solutions worked for me.
    I'm simply trying to install SharePoint 2013 with SP1 on a Windows Server Standard 2012 R2.
    I've downloaded from the MS Volume Licensing website the "SharePoint Server 2013 with SP1" ISO file :  SW_DVD5_SharePoint_Server_2013w_SP1_64Bit_English_MLF_X19-36118. So
    this is the slipstreamed version which is supposed to bring compatibility with 2012 R2.
    As I do not have direct access to the Internet I need to perform an offline installation. I also downloaded all prerequisities. When I run prerequisiteinstaller.exe with the necessary arguments, I get the following :
    (Full log file is below)
    I've tried the following :
    - Restarted the server multiple times
    - Manually removing/adding IIS role + restart
    - Running the prerequisiteinstaller.exe from the DVD or from an extracted version
    - Manually installing the prerequisities
    - Installed .Net 3.5 as recommended here (http://social.technet.microsoft.com/Forums/office/en-US/0b597d35-b02d-4236-894d-38efc0c7c6f6/sharepoint-2013-with-sp1-install-on-windows-server-2012-r2?forum=sharepointgeneral)
    None of the worked. So I'm stuck and I must completed the installation of this before the end of the week for an important project !
    Your help would be greatly appreciated.
    this is the complete log file :
    2014-09-09 14:30:26 - Processor architecture is (9)
    2014-09-09 14:30:26 - Reading the following string value/name...
    2014-09-09 14:30:26 - Common Startup
    2014-09-09 14:30:26 - from the following registry location...
    2014-09-09 14:30:26 - SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    2014-09-09 14:30:26 - The value is...
    2014-09-09 14:30:26 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
    2014-09-09 14:30:26 - Trying to remove the startup task if there is any.
    2014-09-09 14:30:26 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd
    2014-09-09 14:30:26 - Successfully deleted the startup task
    2014-09-09 14:30:26 - Analyzing the following command line argument:
    2014-09-09 14:30:26 - /continue
    2014-09-09 14:30:26 - Continuing after restart
    2014-09-09 14:30:26 - Details of the current operating system:
    2014-09-09 14:30:26 - Major version number of the operating system: (6)
    2014-09-09 14:30:26 - Minor version number of the operating system: (2)
    2014-09-09 14:30:26 - Build number of the operating system: (0X23F0=9200)
    2014-09-09 14:30:26 - Major version number of the latest Service Pack: (0)
    2014-09-09 14:30:26 - Minor version number of the latest Service Pack: (0)
    2014-09-09 14:30:26 - Platform ID of the operating system: (2)
    2014-09-09 14:30:26 - Product suites available on the operating system: (0X110=272)
    2014-09-09 14:30:26 - Product type of the operating system: VER_NT_SERVER
    2014-09-09 14:30:26 - Product type: (0)
    2014-09-09 14:30:26 - OS type: (2)
    2014-09-09 14:30:26 - Configuring the application's property sheet...
    2014-09-09 14:30:26 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:26 - Windows Management Framework 3.0
    2014-09-09 14:30:26 - Reading the following string value/name...
    2014-09-09 14:30:26 - PowerShellVersion
    2014-09-09 14:30:26 - from the following registry location...
    2014-09-09 14:30:26 - SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine
    2014-09-09 14:30:26 - The value is...
    2014-09-09 14:30:26 - 4.0
    2014-09-09 14:30:26 - A higher version of the prerequisite above is already installed
    2014-09-09 14:30:26 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:26 - Microsoft .NET Framework 4.5
    2014-09-09 14:30:26 - Reading the following DWORD value/name...
    2014-09-09 14:30:26 - Install
    2014-09-09 14:30:26 - from the following registry location...
    2014-09-09 14:30:26 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2014-09-09 14:30:26 - The value is (1)
    2014-09-09 14:30:26 - Reading the following string value/name...
    2014-09-09 14:30:26 - Version
    2014-09-09 14:30:26 - from the following registry location...
    2014-09-09 14:30:26 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2014-09-09 14:30:26 - The value is...
    2014-09-09 14:30:26 - 4.5.51641
    2014-09-09 14:30:26 - A post release .NET 4.5 is installed
    2014-09-09 14:30:26 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:26 - Windows Identity Foundation (KB974405)
    2014-09-09 14:30:26 - Reading the following string value/name...
    2014-09-09 14:30:26 -
    2014-09-09 14:30:26 - from the following registry location...
    2014-09-09 14:30:26 - SOFTWARE\Microsoft\Windows Identity Foundation\Setup\v3.5
    2014-09-09 14:30:26 - The value is...
    2014-09-09 14:30:26 - 6.1.7600.0
    2014-09-09 14:30:26 - The prerequisite above is already installed
    2014-09-09 14:30:26 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:26 - Microsoft Sync Framework Runtime v1.0 SP1 (x64)
    2014-09-09 14:30:26 - Reading version of the following file...
    2014-09-09 14:30:26 - C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization\1.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.dll
    2014-09-09 14:30:26 - GetFileVersionInfoSize failed (-2147024894)
    2014-09-09 14:30:26 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:26 - Microsoft SQL Server 2008 R2 SP1 Native Client
    2014-09-09 14:30:26 - Reading the following string value/name...
    2014-09-09 14:30:26 - Version
    2014-09-09 14:30:26 - from the following registry location...
    2014-09-09 14:30:26 - SOFTWARE\Microsoft\Microsoft SQL Server\SQLNCLI10\CurrentVersion
    2014-09-09 14:30:26 - The value is...
    2014-09-09 14:30:26 - 10.51.2500.0
    2014-09-09 14:30:26 - A higher version of the prerequisite above is already installed
    2014-09-09 14:30:26 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:26 - Windows Server AppFabric
    2014-09-09 14:30:26 - Reading the following string value/name...
    2014-09-09 14:30:26 - ProductVersion
    2014-09-09 14:30:26 - from the following registry location...
    2014-09-09 14:30:26 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-09-09 14:30:26 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:26 - Windows Identity Foundation (KB974405)
    2014-09-09 14:30:26 - Reading the following string value/name...
    2014-09-09 14:30:26 -
    2014-09-09 14:30:26 - from the following registry location...
    2014-09-09 14:30:26 - SOFTWARE\Microsoft\Microsoft Identity Extensions\Setup\1.0
    2014-09-09 14:30:26 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:26 - Microsoft Information Protection and Control Client
    2014-09-09 14:30:26 - Reading the following string value/name...
    2014-09-09 14:30:26 -
    2014-09-09 14:30:26 - from the following registry location...
    2014-09-09 14:30:26 - SOFTWARE\Microsoft\MSIPC\CurrentVersion
    2014-09-09 14:30:26 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:26 - Microsoft WCF Data Services 5.0
    2014-09-09 14:30:26 - Reading the following string value/name...
    2014-09-09 14:30:26 - Version
    2014-09-09 14:30:26 - from the following registry location...
    2014-09-09 14:30:26 - SOFTWARE\Wow6432Node\Microsoft\Microsoft WCF Data Services\5.0
    2014-09-09 14:30:26 - The value is...
    2014-09-09 14:30:26 - 5.0.51212.0
    2014-09-09 14:30:26 - A higher version of the prerequisite above is already installed
    2014-09-09 14:30:26 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:26 - Microsoft WCF Data Services 5.6
    2014-09-09 14:30:26 - Reading the following string value/name...
    2014-09-09 14:30:26 - Version
    2014-09-09 14:30:26 - from the following registry location...
    2014-09-09 14:30:26 - SOFTWARE\Wow6432Node\Microsoft\Microsoft WCF Data Services\5.6
    2014-09-09 14:30:26 - The value is...
    2014-09-09 14:30:26 - 5.6.61587.0
    2014-09-09 14:30:26 - The prerequisite above is already installed
    2014-09-09 14:30:26 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:26 - Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
    2014-09-09 14:30:26 - Reading the following DWORD value/name...
    2014-09-09 14:30:26 - IsInstalled
    2014-09-09 14:30:26 - from the following registry location...
    2014-09-09 14:30:26 - SOFTWARE\Wow6432Node\Microsoft\Updates\AppFabric 1.1 for Windows Server\KB2671763
    2014-09-09 14:30:26 - Beginning download/installation
    2014-09-09 14:30:26 - Created thread for installer
    2014-09-09 14:30:26 - "C:\Windows\system32\dism.exe" /online /enable-feature /featurename:NetFX3 /All /norestart
    2014-09-09 14:30:27 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:28 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:29 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:30 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:31 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:32 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:33 - Install process returned (0)
    2014-09-09 14:30:33 - [In HRESULT format] (0)
    2014-09-09 14:30:33 - "C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass "C:\Users\DADM_T~1\AppData\Local\Temp\PreFB24.tmp.PS1"
    2014-09-09 14:30:33 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:34 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:35 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:36 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:37 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:38 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:39 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:40 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:41 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:42 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:43 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:44 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:45 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:46 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:47 - Install process returned (0)
    2014-09-09 14:30:47 - [In HRESULT format] (0)
    2014-09-09 14:30:47 - "C:\Windows\system32\dism.exe" /online /enable-feature /all /featurename:IIS-ASPNET45 /norestart
    2014-09-09 14:30:47 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:48 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:49 - Install process returned (0)
    2014-09-09 14:30:49 - [In HRESULT format] (0)
    2014-09-09 14:30:49 - "C:\Windows\system32\iisreset.exe" /noforce
    2014-09-09 14:30:49 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:51 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:52 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:53 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:54 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:55 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:56 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:57 - Request for install time of Application Server Role, Web Server (IIS) Role
    2014-09-09 14:30:57 - Install process returned (0X426=1062)
    2014-09-09 14:30:57 - [In HRESULT format] (0X80070426=-2147023834)
    2014-09-09 14:30:57 - Last return code (0X426=1062)
    2014-09-09 14:30:57 - Reading the following DWORD value/name...
    2014-09-09 14:30:57 - Flags
    2014-09-09 14:30:57 - from the following registry location...
    2014-09-09 14:30:57 - SOFTWARE\Microsoft\Updates\UpdateExeVolatile
    2014-09-09 14:30:57 - Reading the following string value/name...
    2014-09-09 14:30:57 - PendingFileRenameOperations
    2014-09-09 14:30:57 - from the following registry location...
    2014-09-09 14:30:57 - SYSTEM\CurrentControlSet\Control\Session Manager
    2014-09-09 14:30:57 - Reading the following registry location...
    2014-09-09 14:30:57 - SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
    2014-09-09 14:30:57 - Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
    2014-09-09 14:30:57 - Last return code (0X426=1062)
    2014-09-09 14:30:57 - Options for further diagnostics: 1. Look up the return code value 2. Download the prerequisite manually and verify size downloaded by the prerequisite installer. 3. Install the prerequisite manually from the given location without any command line options.
    2014-09-09 14:30:57 - Cannot retry
    2014-09-09 14:30:57 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:57 - Windows Management Framework 3.0
    2014-09-09 14:30:57 - Reading the following string value/name...
    2014-09-09 14:30:57 - PowerShellVersion
    2014-09-09 14:30:57 - from the following registry location...
    2014-09-09 14:30:57 - SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine
    2014-09-09 14:30:57 - The value is...
    2014-09-09 14:30:57 - 4.0
    2014-09-09 14:30:57 - A higher version of the prerequisite above is already installed
    2014-09-09 14:30:57 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:57 - Microsoft .NET Framework 4.5
    2014-09-09 14:30:57 - Reading the following DWORD value/name...
    2014-09-09 14:30:57 - Install
    2014-09-09 14:30:57 - from the following registry location...
    2014-09-09 14:30:57 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2014-09-09 14:30:57 - The value is (1)
    2014-09-09 14:30:57 - Reading the following string value/name...
    2014-09-09 14:30:57 - Version
    2014-09-09 14:30:57 - from the following registry location...
    2014-09-09 14:30:57 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2014-09-09 14:30:57 - The value is...
    2014-09-09 14:30:57 - 4.5.51641
    2014-09-09 14:30:57 - A post release .NET 4.5 is installed
    2014-09-09 14:30:57 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:57 - Windows Identity Foundation (KB974405)
    2014-09-09 14:30:57 - Reading the following string value/name...
    2014-09-09 14:30:57 -
    2014-09-09 14:30:57 - from the following registry location...
    2014-09-09 14:30:57 - SOFTWARE\Microsoft\Windows Identity Foundation\Setup\v3.5
    2014-09-09 14:30:57 - The value is...
    2014-09-09 14:30:57 - 6.1.7600.0
    2014-09-09 14:30:57 - The prerequisite above is already installed
    2014-09-09 14:30:57 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:57 - Microsoft Sync Framework Runtime v1.0 SP1 (x64)
    2014-09-09 14:30:57 - Reading version of the following file...
    2014-09-09 14:30:57 - C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization\1.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.dll
    2014-09-09 14:30:57 - GetFileVersionInfoSize failed (-2147024894)
    2014-09-09 14:30:57 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:57 - Microsoft SQL Server 2008 R2 SP1 Native Client
    2014-09-09 14:30:57 - Reading the following string value/name...
    2014-09-09 14:30:57 - Version
    2014-09-09 14:30:57 - from the following registry location...
    2014-09-09 14:30:57 - SOFTWARE\Microsoft\Microsoft SQL Server\SQLNCLI10\CurrentVersion
    2014-09-09 14:30:57 - The value is...
    2014-09-09 14:30:57 - 10.51.2500.0
    2014-09-09 14:30:57 - A higher version of the prerequisite above is already installed
    2014-09-09 14:30:57 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:57 - Windows Server AppFabric
    2014-09-09 14:30:57 - Reading the following string value/name...
    2014-09-09 14:30:57 - ProductVersion
    2014-09-09 14:30:57 - from the following registry location...
    2014-09-09 14:30:57 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-09-09 14:30:57 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:57 - Windows Identity Foundation (KB974405)
    2014-09-09 14:30:57 - Reading the following string value/name...
    2014-09-09 14:30:57 -
    2014-09-09 14:30:57 - from the following registry location...
    2014-09-09 14:30:57 - SOFTWARE\Microsoft\Microsoft Identity Extensions\Setup\1.0
    2014-09-09 14:30:57 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:57 - Microsoft Information Protection and Control Client
    2014-09-09 14:30:57 - Reading the following string value/name...
    2014-09-09 14:30:57 -
    2014-09-09 14:30:57 - from the following registry location...
    2014-09-09 14:30:57 - SOFTWARE\Microsoft\MSIPC\CurrentVersion
    2014-09-09 14:30:57 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:57 - Microsoft WCF Data Services 5.0
    2014-09-09 14:30:57 - Reading the following string value/name...
    2014-09-09 14:30:57 - Version
    2014-09-09 14:30:57 - from the following registry location...
    2014-09-09 14:30:57 - SOFTWARE\Wow6432Node\Microsoft\Microsoft WCF Data Services\5.0
    2014-09-09 14:30:57 - The value is...
    2014-09-09 14:30:57 - 5.0.51212.0
    2014-09-09 14:30:57 - A higher version of the prerequisite above is already installed
    2014-09-09 14:30:57 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:57 - Microsoft WCF Data Services 5.6
    2014-09-09 14:30:57 - Reading the following string value/name...
    2014-09-09 14:30:57 - Version
    2014-09-09 14:30:57 - from the following registry location...
    2014-09-09 14:30:57 - SOFTWARE\Wow6432Node\Microsoft\Microsoft WCF Data Services\5.6
    2014-09-09 14:30:57 - The value is...
    2014-09-09 14:30:57 - 5.6.61587.0
    2014-09-09 14:30:57 - The prerequisite above is already installed
    2014-09-09 14:30:57 - Check whether the following prerequisite is installed:
    2014-09-09 14:30:57 - Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
    2014-09-09 14:30:57 - Reading the following DWORD value/name...
    2014-09-09 14:30:57 - IsInstalled
    2014-09-09 14:30:57 - from the following registry location...
    2014-09-09 14:30:57 - SOFTWARE\Wow6432Node\Microsoft\Updates\AppFabric 1.1 for Windows Server\KB2671763
    2014-09-09 14:32:19 - Opening log file
    2014-09-09 14:32:19 - Opened action for user
    2014-09-09 14:32:19 - C:\Users\DADM_T~1\AppData\Local\Temp\prerequisiteinstaller.2014.09.09-14.30.26.log

    Thank you guys for the quick answer! Muche appreciated
    I've tried all suggested solutions, but no luck :-(
    - tried http://support.microsoft.com/kb/2765260 > no help and by the way the hotfix provided is not applicable for 2012 R2.
    also tried "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regii -enable -i" and got this :
    Microsoft (R) ASP.NET RegIIS version 4.0.30319.33440Administration utility to install and uninstall ASP.NET on the local machine.Copyright (C) Microsoft Corporation.  All rights reserved.Start installing ASP.NET (4.0.30319.33440).This option is not supported on this version of the operating system.  Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog,  the Server Manager management tool, or the dism.exe command line tool.  For more details please see http://go.microsoft.com/fwlink/?LinkID=216771.Finished installing ASP.NET (4.0.30319.33440).
    http://social.technet.microsoft.com/wiki/contents/articles/14582.sharepoint-2013-install-prerequisites-offline-or-manually-on-windows-server-2012-a-comprehensive-guide.aspx
    > is not for 2012 R2.
    For the automated install script (http://gallery.technet.microsoft.com/office/DownloadInstall-SharePoint-e6df9eb8) Craig mentions that the script are not yet compatible
    "SharePoint 2013 SP1 and Windows Server 2012 R2 support coming soon
     I will be updating this script with support for SharePoint 2013 Service Pack 1 installations along with support for Windows Server 2012 R2 in the near future. Thank you to everyone for the interest in my scripts - it is much appreciated! "

  • Installing an application through Powershell with SCCM 2012 r2 is not working as expected

    I am trying to install a VOIP client using a powershell script. When I run the powershell script on the client in a administrative powershell prompt the script runs fine and it installs the application as expected. When I try to do the same thing through
    the SCCM client using an application it does not install.
    I am not a Powershell Guru so the script below is my simple understanding of installations through powershell as of this moment
    <#
    Installatiescript CIC Client SU6 32 bit (kantoor)
    Versie 1.3
    17 april 2015 - Uitbreiding logfile. Fix opschonen startmenu
    16 april 2015 - Aanpassing verwijderen oude client, logfile aanmaken in TEMP
    13 maart 2015 - Eerste versie
    #>
    # Bepaal installatiebron
    $SourceDir = "\\VSC0501\SetupShare\APP_IC_Client_SU6\x86"
    # Bepaal logvariabelen
    $logfile = "$env:TEMP\cic_su6-install.txt"
    $Logdate = get-date -f yyyyMMdd-HHmm
    # Controleer of oude CIC client aanwezig is (versie 4.04.316) en deinstalleer deze indien nodig
    If (Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{543BE3AC-426D-4FDD-8160-ECEEC2E211B6}")
    $val = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{543BE3AC-426D-4FDD-8160-ECEEC2E211B6}").DisplayVersion
    if($val -eq "4.04.316") {
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {3F20671C-9CA2-41FA-B94A-C7C7FD95C7B4} /QN" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - Client has been succesfully removed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - Client cannot be succesfully removed" | out-file $logfile -Append
    exit
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {543BE3AC-426D-4FDD-8160-ECEEC2E211B6} /QN" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - Client has been succesfully removed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - Client cannot be succesfully removed - " $process.ExitCode | out-file $logfile -Append
    exit
    #(Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {3F20671C-9CA2-41FA-B94A-C7C7FD95C7B4} /QN" -Wait -Passthru).exitcode
    #(Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {543BE3AC-426D-4FDD-8160-ECEEC2E211B6} /QN" -Wait -Passthru).exitcode
    Get-ChildItem "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV\Interactive Intelligence" | Remove-Item -Recurse
    Remove-Item -Path "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV\Interactive Intelligence" -Recurse -Force
    else {
    Write-Output "$logdate - Client not present" | out-file $logfile -Append
    # Installeer CIC Client SU6
    $Arguments = "/i `"$SourceDir\ICUserApps_32bit.msi`" /l*vx `"$env:TEMP\cic_su6.log`" TRANSFORMS=`"$SourceDir\Kantoor.mst`" PATCH=`"$SourceDir\ICUserApps_32bit_SU6.msp`" ICSERVERNAME=cic.abvakabofnv.local /QN /norestart"
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "$Arguments" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - CIC Client SU6 (kantoor) has been succesfully installed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - CIC Client SU6 (kantoor) cannot be succesfully installed - " $process.ExitCode | out-file $logfile -Append
    exit
    # Installeer CIC Client SU6 NL Language Plugin
    $Arguments = "/i `"$SourceDir\LanguagePlugins\ICUserApps_LanguagePlugin_nl.msi`" /l*vx `"$env:TEMP\cic_su6_nl.log`" PATCH=`"$SourceDir\LanguagePlugins\ICUserApps_LanguagePlugin_nl_SU6.msp`" /QN /norestart"
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "$Arguments" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - CIC Client SU6 Languagepack NL has been succesfully installed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - CIC Client SU6 Languagepack NL cannot be succesfully installed - " $process.ExitCode | out-file $logfile -Append
    exit
    # Opschonen Desktop en Start menu
    Remove-Item -Path "$env:PUBLIC\Desktop\Interaction Fax.lnk"
    Remove-Item -Path "$env:PUBLIC\Desktop\Interaction Voicemail Player.lnk"
    Move-Item -Path "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Interactive Intelligence" "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV" -force
    The uninstall part works fine, but the installation (2 parts) do not. As I mentioned before... when I run the script manually it all works fine.
    The application is installed using a script. The commandline is
    powershell.exe -excecutionpolicy bypass -file Install_UserApps_SU6_Kantoor.ps1
    The application runs hidden in the context of the system wether or not the user is logged on. The maximum allowed run time is sufficient (30 minutes).
    There is no installation log from the msiexec command so the line were the application should be installed is not executed at all. There is also no mention in my own little log ($logfile = "$env:TEMP\cic_su6-install.txt") mentioning the result
    of the installation.
    The appenforce.log says...
    +++ Starting Install enforcement for App DT "Interaction Client - Standaard SU6" ApplicationDeliveryType - ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, Revision - 7, ContentPath - C:\WINDOWS\ccmcache\13, Execution Context - System AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    A user is logged on to the system. AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Performing detection of app deployment type Interaction Client - Standaard SU6(ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, revision 7) for system. AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    +++ Application not discovered. [AppDT Id: ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, Revision: 7] AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    App enforcement environment:
    Context: Machine
    Command line: Powershell.exe -executionpolicy bypass -file Install_UserApps_SU6_Kantoor.ps1
    Allow user interaction: No
    UI mode: 0
    User token: null
    Session Id: 1
    Content path: C:\WINDOWS\ccmcache\13
    Working directory: AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Prepared working directory: C:\WINDOWS\ccmcache\13 AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Found executable file Powershell.exe with complete path C:\WINDOWS\System32\WindowsPowerShell\v1.0\Powershell.exe AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Prepared command line: "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" -executionpolicy bypass -file Install_UserApps_SU6_Kantoor.ps1 AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Executing Command line: "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" -executionpolicy bypass -file Install_UserApps_SU6_Kantoor.ps1 with user context AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Working directory C:\WINDOWS\ccmcache\13 AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Post install behavior is BasedOnExitCode AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Waiting for process 2916 to finish. Timeout = 30 minutes. AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Process 2916 terminated with exitcode: 0 AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    Looking for exit code 0 in exit codes table... AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    Matched exit code 0 to a Success entry in exit codes table. AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    Performing detection of app deployment type Interaction Client - Standaard SU6(ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, revision 7) for system. AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    +++ Application not discovered. [AppDT Id: ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, Revision: 7] AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    ++++++ App enforcement completed (3 seconds) for App DT "Interaction Client - Standaard SU6" [ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4], Revision: 7, User SID: ] ++++++ AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    I'm thinking of going back to a batchfile because that seems to do the job, but Powershell is much more powerfull.
    Anybody got any answers on what is going wrong are some suggestions for a better script? 

    You have a number of problems here.
    1.  As mentioned you have UNC paths ... which means there's no reason for a package at all.  f you want SCCM to use the package it just downloaded you should use $PSScriptRoot (PS equivelant of %~0dp).  If the client is using v2 or earlier
    ... fix that quick by starting your script with:
    If (!$PSScriptRoot) {
    $PSSCriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
    Now you can call your install easy enough with a $PSScriptRoot+"\app.exe"
    2.  your discovery is failing after install.  This will always make SCCM report an installation failed even when the exit code is 0.  You can see it at the end of your log:
    Matched exit code 0 to a Success entry in exit codes table. AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    Performing detection of app deployment type Interaction Client - Standaard SU6(ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, revision 7) for system. AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    +++ Application not discovered. [AppDT Id: ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, Revision: 7] AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    So either your installation script is spitting out a exit code 0 regardless of the event OR your detection is wrong.
    EDIT:  you have exit statemetns after failed installs ... but no exit code (simply exit).  Change those to exit 1 so sccm knows it's a failed exit and not just a generic exit.  That's probably your problem (unc can't be reached as system, you're
    getting an exit  .... not defining exit 1).
    Something like this (warning this is a fast change so review it):
    <#
    Installatiescript CIC Client SU6 32 bit (kantoor)
    Versie 1.3
    17 april 2015 - Uitbreiding logfile. Fix opschonen startmenu
    16 april 2015 - Aanpassing verwijderen oude client, logfile aanmaken in TEMP
    13 maart 2015 - Eerste versie
    #>
    If (!$PSScriptRoot) {
    $PSSCriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
    # Bepaal installatiebron
    #$SourceDir = "\\VSC0501\SetupShare\APP_IC_Client_SU6\x86"
    $SourceDir = $PSScriptRoot
    # Bepaal logvariabelen
    $logfile = "$env:TEMP\cic_su6-install.txt"
    $Logdate = get-date -f yyyyMMdd-HHmm
    # Controleer of oude CIC client aanwezig is (versie 4.04.316) en deinstalleer deze indien nodig
    If (Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{543BE3AC-426D-4FDD-8160-ECEEC2E211B6}")
    $val = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{543BE3AC-426D-4FDD-8160-ECEEC2E211B6}").DisplayVersion
    if($val -eq "4.04.316") {
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {3F20671C-9CA2-41FA-B94A-C7C7FD95C7B4} /QN" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - Client has been succesfully removed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - Client cannot be succesfully removed" | out-file $logfile -Append
    exit 1
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {543BE3AC-426D-4FDD-8160-ECEEC2E211B6} /QN" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - Client has been succesfully removed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - Client cannot be succesfully removed - " $process.ExitCode | out-file $logfile -Append
    exit 1
    #(Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {3F20671C-9CA2-41FA-B94A-C7C7FD95C7B4} /QN" -Wait -Passthru).exitcode
    #(Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {543BE3AC-426D-4FDD-8160-ECEEC2E211B6} /QN" -Wait -Passthru).exitcode
    Get-ChildItem "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV\Interactive Intelligence" | Remove-Item -Recurse
    Remove-Item -Path "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV\Interactive Intelligence" -Recurse -Force
    else {
    Write-Output "$logdate - Client not present" | out-file $logfile -Append
    # Installeer CIC Client SU6
    $Arguments = "/i `"$SourceDir\ICUserApps_32bit.msi`" /l*vx `"$env:TEMP\cic_su6.log`" TRANSFORMS=`"$SourceDir\Kantoor.mst`" PATCH=`"$SourceDir\ICUserApps_32bit_SU6.msp`" ICSERVERNAME=cic.abvakabofnv.local /QN /norestart"
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "$Arguments" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - CIC Client SU6 (kantoor) has been succesfully installed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - CIC Client SU6 (kantoor) cannot be succesfully installed - " $process.ExitCode | out-file $logfile -Append
    exit 1
    # Installeer CIC Client SU6 NL Language Plugin
    $Arguments = "/i `"$SourceDir\LanguagePlugins\ICUserApps_LanguagePlugin_nl.msi`" /l*vx `"$env:TEMP\cic_su6_nl.log`" PATCH=`"$SourceDir\LanguagePlugins\ICUserApps_LanguagePlugin_nl_SU6.msp`" /QN /norestart"
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "$Arguments" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - CIC Client SU6 Languagepack NL has been succesfully installed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - CIC Client SU6 Languagepack NL cannot be succesfully installed - " $process.ExitCode | out-file $logfile -Append
    exit 1
    # Opschonen Desktop en Start menu
    Remove-Item -Path "$env:PUBLIC\Desktop\Interaction Fax.lnk"
    Remove-Item -Path "$env:PUBLIC\Desktop\Interaction Voicemail Player.lnk"
    Move-Item -Path "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Interactive Intelligence" "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV" -force
    Exit 0

  • Install SharePoint 2013 database on SQL server 2012 SP1 cluster

    Good Day all,
    We are trying to install SharePoint 2013 database on a SQL server 2012 Enterprise with SP1 cluster (configured for mixed mode) but the connection is not working (times out). We can telent the SQL cluster network name on port 1433 and we made
    a UDL connection file, test the connection via windows authentication and it is working, but if we use the sql authentication it is not working.
    Also we have two SharePoint 2013 servers connected via NLB.
    Any idea about this issue guys?  

    event if 3355 means 3 things:
    The SQL Server might be offline.
    The SharePoint Foundation database access account might not have the necessary permissions to communicate with the SQL Server.
    A firewall that runs on either the local server or on SQL Server might be blocking network communications.
    Big question, how you trying to connect SQL  windows or sql authentication? is it throwing error on Config wizard or somewhere else?
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Exchange 2013 CU 6 update fails on mailbox role

    i am installing cu6 update and everything is fine till i get to the mailbox role service
    have no idea why its giving this error
    i am installing as the domain administrator
    Error:
    The following error was generated when "$error.Clear();
              if (($RoleIsDatacenter -ne $true) -and ($RoleIsDatacenterDedicated -ne $true))
                if (test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
                  # upgrade the discovery mailboxes to R5 version, this will fix the RecipientDisplayType property of the discovery mailbox which was wrong in R4.
                  get-mailbox -RecipientTypeDetails DiscoveryMailbox -DomainController $RoleDomainController | where {$_.IsValid -eq $false} | set-mailbox -DomainController $RoleDomainController
                  $name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
                  $dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
                  $mbxs = @( get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
                  if ( $mbxs.length -eq 0)
                    $dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
                    if($dbs.Length -ne 0)
                      $mbxUser = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
                      if ($mbxUser.Length -ne 0)
                        enable-mailbox -Discovery -identity $mbxUser[0] -DisplayName $dispname -database $dbs[0].Identity;
                else
                  write-exchangesetuplog -info "Skipping creating Discovery Search Mailbox because of insufficient permission."
            " was run: "Microsoft.Exchange.Data.DataValidationException: Database is mandatory on UserMailbox.".
    Error:
    The following error was generated when "$error.Clear();
              if (($RoleIsDatacenter -ne $true) -and ($RoleIsDatacenterDedicated -ne $true))
                if (test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
                  # upgrade the discovery mailboxes to R5 version, this will fix the RecipientDisplayType property of the discovery mailbox which was wrong in R4.
                  get-mailbox -RecipientTypeDetails DiscoveryMailbox -DomainController $RoleDomainController | where {$_.IsValid -eq $false} | set-mailbox -DomainController $RoleDomainController
                  $name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
                  $dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
                  $mbxs = @( get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
                  if ( $mbxs.length -eq 0)
                    $dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
                    if($dbs.Length -ne 0)
                      $mbxUser = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
                      if ($mbxUser.Length -ne 0)
                        enable-mailbox -Discovery -identity $mbxUser[0] -DisplayName $dispname -database $dbs[0].Identity;
                else
                  write-exchangesetuplog -info "Skipping creating Discovery Search Mailbox because of insufficient permission."
            " was run: "Microsoft.Exchange.Data.DataValidationException: Database is mandatory on UserMailbox.
       at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target, Boolean reThrow, String helpUrl)
       at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target, Boolean reThrow)
       at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.Validate(TDataObject dataObject)
       at Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalValidate()
       at Microsoft.Exchange.Configuration.Tasks.SetRecipientObjectTask`3.InternalValidate()
       at Microsoft.Exchange.Management.Common.SetMailEnabledRecipientObjectTask`3.InternalValidate()
       at Microsoft.Exchange.Management.RecipientTasks.SetUserBase`2.InternalValidate()
       at Microsoft.Exchange.Management.RecipientTasks.SetMailboxBase`2.InternalValidate()
       at Microsoft.Exchange.Management.RecipientTasks.SetMailbox.InternalValidate()
       at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
       at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".

    Hi,
    Please recreate the Discovery Search Mailbox to check result.
    You can look at the following article.
    http://technet.microsoft.com/en-us/library/dn750894(v=exchg.150).aspx
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Getting error while installing reporting servcies on existing sql server 2012.

    Hi Expaerts,
     sql 2012 sp1:
    getting error while installing Reporting services on existing sql server. at final step
    Error on scren: install_rsharepoint_cpu64_action : roll back , rolling back action.
    error on popup windows:  ' one or more files required to restore your computer to its previous state colud  not be found. restoration will not be found.
    Thanks in advance.

    Hello,
    Please help to collect the useful log information while install SQL Server Reporting Services. Here is the article for your reference, please see:
    Navigating the Setup Logs when you install SQL Server 2012 Reporting Services:
    http://blogs.msdn.com/b/jtarquino/archive/2012/03/14/navigating-the-setup-logs-when-you-install-sql-server-2012-reporting-services.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • How to upgrade Exchange 2013 host OS to Server 2012 R2

    Currently in our environment we have Exchange 2013 (Client Access and Mailbox on one server) (no service pack) built on Server 2012 machine. I'd like to rebuild the Exchange server on a new Server 2012 R2 machine. Are there any automated tools for transferring
    client access configuration(accepted domains, connectors, etc) and can I just unmount the databases from the current server and mount them on the new, or do i have to create new mailbox databases and migrate the mailboxes? Do you guys know any tutorials for
    this scenario? Thanks in advance!

    Hi,
    You need to setup a new Exchange 2013 SP1 or later version on Windows server 2012 R2 at first.
    Secondly, migrate all the mailboxes from old Exchange 2013 to the new Exchange 2013.
    Thirdly, change the mail flow.
    At last, when everything is ok on new Exchange 2013, you can decommission the old Exchange.
    For more information, here is a thread about migration from Exchange 2010 to Exchange 2013 for your reference.
    Migration From Exchange 2010 to Exchange 2013
    http://www.petenetlive.com/KB/Article/0000788.htm
    Note: Microsoft is providing this information as a convenience to you. The site is not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of information found there. Please make sure that you
    completely understand the risk before retrieving any suggestions from the above link.
    Hope it helps.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Amy Wang
    TechNet Community Support

  • Error while installing Exchange 2013 readiness check

    Hello !
    i've encountered a problam during the installation of the Exchange Server 2013 on the Readiness Check,
    please, see below the following error:
    Error:
    The following error was generated when "$error.Clear(); 
              if (Get-Service MpsSvc* | ?{$_.Name -eq 'MpsSvc'})
                Set-Service MpsSvc -StartupType Automatic
                Start-SetupService -ServiceName MpsSvc
            " was run: "Service 'MpsSvc' failed to reach status 'Running' on this server.".
    Waiting for some help...
    thank you.
    David

    Hi,
    According to the error message, please open Command Prompt and run following command:
    Net Start MpsSvc
    If this works fine, please try again. Otherwise, Please help to collect related error for further troubleshooting.
    In addition, please run ”services.msc” open Services, confirm Windows Firewall is running and set as “Automatic”.
    Best Regards,
    Allen Wang

  • Installing Exchange 2013 errors

    Problems installing Exchange 2013 on a new Server 2012 r2.   Existing Exchange is 2007 on a SBS 2008r2. 
    Error:
    The following error was generated when "$error.Clear();
                if ($RoleIsDatacenter -ne $true -and $RoleIsDatacenterDedicated -ne $true)
                if (Test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
                $sysMbx = $null;
                $name = "SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}";
                $dispName = "Microsoft Exchange";
                Write-ExchangeSetupLog -Info ("Retrieving mailboxes with Name=$name.");
                $mbxs = @(Get-Mailbox -Arbitration -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1 );
                if ($mbxs.Length -eq 0)
                Write-ExchangeSetupLog -Info ("Retrieving mailbox databases on Server=$RoleFqdnOrName.");
                $dbs = @(Get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
                if ($dbs.Length -ne 0)
                Write-ExchangeSetupLog -Info ("Retrieving users with Name=$name.");
                $arbUsers = @(Get-User -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
                if ($arbUsers.Length -ne 0)
                Write-ExchangeSetupLog -Info ("Enabling mailbox $name.");
                $sysMbx = Enable-Mailbox -Arbitration -Identity $arbUsers[0] -DisplayName $dispName -database $dbs[0].Identity;
                else
                if ($mbxs[0].DisplayName -ne $dispName )
                Write-ExchangeSetupLog -Info ("Setting DisplayName=$dispName.");
                Set-Mailbox -Arbitration -Identity $mbxs[0] -DisplayName $dispName -Force;
                $sysMbx = $mbxs[0];
                # Set the Organization Capabilities needed for this mailbox
                if ($sysMbx -ne $null)
                # We need 1 GB for uploading large OAB files to the organization mailbox
                Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
                    set-mailbox -Arbitration -identity $sysMbx -UMGrammar:$true -OABGen:$true -GMGen:$true -ClientExtensions:$true -MailRouting:$true -MessageTracking:$true -PstProvider:$true
    -MaxSendSize 1GB -Force;
                else
                Write-ExchangeSetupLog -Info ("Cannot find arbitration mailbox with name=$name.");
                else
                Write-ExchangeSetupLog -Info "Skipping creating E15 System Mailbox because of insufficient permission."
            " was run: "Database is mandatory on UserMailbox.".
    Error:
    The following error was generated when "$error.Clear();
                if ($RoleIsDatacenter -ne $true -and $RoleIsDatacenterDedicated -ne $true)
                if (Test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
                $sysMbx = $null;
                $name = "SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}";
                $dispName = "Microsoft Exchange";
                Write-ExchangeSetupLog -Info ("Retrieving mailboxes with Name=$name.");
                $mbxs = @(Get-Mailbox -Arbitration -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1 );
                if ($mbxs.Length -eq 0)
                Write-ExchangeSetupLog -Info ("Retrieving mailbox databases on Server=$RoleFqdnOrName.");
                $dbs = @(Get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
                if ($dbs.Length -ne 0)
                Write-ExchangeSetupLog -Info ("Retrieving users with Name=$name.");
                $arbUsers = @(Get-User -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
                if ($arbUsers.Length -ne 0)
                Write-ExchangeSetupLog -Info ("Enabling mailbox $name.");
                $sysMbx = Enable-Mailbox -Arbitration -Identity $arbUsers[0] -DisplayName $dispName -database $dbs[0].Identity;
                else
                if ($mbxs[0].DisplayName -ne $dispName )
                Write-ExchangeSetupLog -Info ("Setting DisplayName=$dispName.");
                Set-Mailbox -Arbitration -Identity $mbxs[0] -DisplayName $dispName -Force;
                $sysMbx = $mbxs[0];
                # Set the Organization Capabilities needed for this mailbox
                if ($sysMbx -ne $null)
                # We need 1 GB for uploading large OAB files to the organization mailbox
                Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
                    set-mailbox -Arbitration -identity $sysMbx -UMGrammar:$true -OABGen:$true -GMGen:$true -ClientExtensions:$true -MailRouting:$true -MessageTracking:$true -PstProvider:$true
    -MaxSendSize 1GB -Force;
                else
                Write-ExchangeSetupLog -Info ("Cannot find arbitration mailbox with name=$name.");
                else
                Write-ExchangeSetupLog -Info "Skipping creating E15 System Mailbox because of insufficient permission."
            " was run: "Database is mandatory on UserMailbox.".

    Hi
    Remove thinking of SBS server because this part might scare you . It is just the same process of migrating it from Exchange 2007 to Exchange 2013 . You just need both the server operating smoothly until this migration is complete.
    First Make sure you're running Rollup 10 of SP3 for Exchange 2007 and that you have atleast Exchange 2013 CU1  else the installation won't proceed further.
    You need to have a seperate box for installing Exchange 2013.
    I would recommend you to follow this artilcle which has clear cut information
    http://technet.microsoft.com/en-us/library/jj898582(v=exchg.150).aspx
    http://technet.microsoft.com/en-us/library/jj898581(v=exchg.150).aspx
    Please let us know if you have already tried the above things. You can paste any errors generated in the app and sys logs in the installation server.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as
    Answer” if a marked post does not actually answer your question. This can be beneficial to other
    community members reading the thread.
    Regards
    Sathish

  • Installation Error Installing Exchange 2013 CU3 on Server 2012

    Hello,
    When Installing Exchange 2013 on server 2012 I get the following error during Step 1 of 8 of Transport Service. I have installed and unistalled Exchange a few times, restarted the machine manually and removed exchange from AD, etc. to no avail.
    Any suggestions will be very much appreciated.
    Thank You.
    VK
    Error:
    The following error was generated when "$error.Clear();
              install-MsiPackage `
              -PackagePath ($RoleInstallPath + "TransportRoles\agents\Hygiene\ASDat.MSI") `
              -LogFile ($RoleSetupLoggingPath + "\InstallASDat.msilog") `
              -PropertyValues ("ALLUSERS=1") `
              -UpdatesDir $RoleUpdatesDir
            " was run: "Installing product C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\agents\Hygiene\ASDat.MSI failed. This action is only valid for products that are currently installed. Error
    code is 1605.".

    Martina,
    Thank you for your response. KB says that Machinepolicy and Userpolicy are to be set to Undefined and that is what I have.
    Windows PowerShell
    Copyright (C) 2013 Microsoft Corporation. All rights reserved.
    PS C:\Users\Administrator> get-executionpolicy –list
    Scope                                            
    ExecutionPolicy
    MachinePolicy                                                  
    Undefined
    UserPolicy                                                  
    Undefined
    Process                                                  
    Undefined
    CurrentUser                                                  
    Undefined
    LocalMachine                                               
    RemoteSigned
    VK

  • Problem with Exchange 2010 Public Folders after installing Exchange 2013 in my environment.

    I currently have an Exchange 2010 server with all the roles installed.  Before installing Exchange 2013, I was able to launch the Public Folder Management Console but now I get an error.  When I installed Exchange 2013, I got an error saying I
    had a instance of Exchange 2000 or Exchange 2003, but I didn't have any of these servers left.  There was still something in AD referencing my old server. I went into ADSIedit and deleted an old administrative group.  This deletion caused my access
    to my public folders to get messed up.  I followed this article, http://blog.bruteforcetech.com/archives/766, and I was able to gain access back in my outlook client but I still can't see the public folders in OWA.  I also get this error when
    trying to access either Default or System Public Folders.  "Cannot complete the operation because there isn't an available public folder database on server 'ExchangeServer'. It was running the command 'get-publicfolder - getchildren -identity '\'
    -server 'ExchangeServer' "
    My Public Folder Database exists and is mounted.  Any help is appreciated.

    Hi Belinda,
    Thank you for responding.  Yes you do understand my problem correctly.  One correction is that after deleting this entry in ADSIEdit, we couldn't access public folders at all either in Outlook or OWA.  I followed these steps in the below article:
     http://blog.bruteforcetech.com/archives/766
    After following these steps and recreating the entry on FolderHieachies in ADSI edit, I was able to gain access to the public folders again through Outlook, but still can't see them in OWA and can't access them in Public Folder Management Console.
    Here are the results to your requests:
    et-PublicFolder -Recurse | Format-List Name
    Name : IPM_SUBTREE
    Can't get the public folder database using legacy distinguished name '/O=HEROIX CORPORATION/OU=EXCHANGE ADMINISTRAT
    GROUP (FYDIBOHF23SPDLT)/CN=CONFIGURATION/CN=SERVERS/CN=EXCHANGE2010/CN=MICROSOFT PUBLIC MDB'.
        + CategoryInfo          : NotSpecified: (:) [Get-PublicFolder], TaskInvalidOperationException
        + FullyQualifiedErrorId : B546E0B0,Microsoft.Exchange.Management.MapiTasks.GetPublicFolder
    [PS] C:\Windows\system32>Get-PublicFolder -Identity \NON_IPM_SUBTREE -Recurse | Format-List Name
    Name : NON_IPM_SUBTREE
    Name : EFORMS REGISTRY
    Can't get the public folder database using legacy distinguished name '/O=HEROIX CORPORATION/OU=EXCHANGE ADMINISTRATIVE
    GROUP (FYDIBOHF23SPDLT)/CN=CONFIGURATION/CN=SERVERS/CN=EXCHANGE2010/CN=MICROSOFT PUBLIC MDB'.
        + CategoryInfo          : NotSpecified: (:) [Get-PublicFolder], TaskInvalidOperationException
        + FullyQualifiedErrorId : B546E0B0,Microsoft.Exchange.Management.MapiTasks.GetPublicFolder
    Also the msExchOwningPFTree attribute should be correct because this was edited with the correct value when I followed the instructions in the above article:
    CN=Public Folders,CN=Folder Hierarchies,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Heroix Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=hero,DC=net

  • Re-install Exchange 2013

    I started a basic install of Exchange 2013 on Windows 2012 on a network with an existing Exchange 2007 (SBS 2008) org.
    Things went well with prerequisites and AD Prep but the actual install ended up freezing up. I ran it on a VM with 2GB RAM and all I can guess is that services couldn't start etc with only that much RAM. I did the install through a remote desktop session
    and when I returned after kicking off the install process that session was completely frozen up with a black screen. All I could do was reboot the server. I noticed messages that implied the completely new/blank Exchange install was unhappy with 2GB so I raised
    it to 10GB, but still things just didn't work. Most significantly I couldn't even load the Management Console replacement web site. I just would get 404 not found.
    Thinking the original install never completed properly I simply deleted the VM, re-created a new one with the same config (and 10GB RAM) with the same name, joined the domain, installed pre-requisites and re-started the install, but now I'm getting
    "Exchange Server in an inconsistent state. Only disaster recovery mode is available. Please use Setup /m:RecoverServer"...
    Of course now I get other errors because "Disaster Recovery setup needs access to the mailbox database drive (prior install location)" etc. and of course I have no backups or anything because there was nothing but deployed install media on the
    prior server.
    How do I re-install? Do I need to clean up AD references to the prior install?
    Regards,
    Steve Ware

    Hello,
    Yes. You should check if the uncompleted exchange server is in AD. If it is in AD, please remove it and then reinstall it.
    And you can remove the VM, and create a new VM, and then install new exchange server whose name is different from the uncompleted exchange server.
    Additional article for your reference.
    Install Exchange 2013 in an Existing Exchange 2007 Organization
    http://technet.microsoft.com/en-us/library/jj898582(v=exchg.150).aspx
    If you have any feedback on our support, please click
    here
    Cara Chen
    TechNet Community Support

  • Installing Exchange 2013 management tools

    I am unable to install Exchange Management Tools on other server in network. I am getting error when trying to run unattended setup "exchange server.msi failed. Fatal error during installation. Error code is 1603. Last error reported by the MSI
    package is 'Error reading from file: C:\Users\backup-admin\Downloads\Exchange2013\RemoteScripts\ConsoleInitialize.ps1.   Verify that the file exists and that you can access it".  Also tried to run the setup.exe, but this option not highlighting
    "Management Tools" option to select.
    Mohammed Qamaruddin

    Hi,
    Please try the following cmdlet to solve this issue.
    set-executionpolicy unrestricted
    If this doesn’t work, please try to copy the
    ConsoleInitialize.ps1 from a working server to this server then reinstall Exchange management Tool.
    If this still doesn’t work, we should consider to re-download  Exchange Server 2013 Management Pack from this
    site, then try to install.
    Related document:
    https://technet.microsoft.com/en-us/library/bb232090%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396
    Best Regards.

Maybe you are looking for

  • Single Sign-on with Multiple Servlets and JSPs

    I am in the midst of attempting to logically tie together a number of our           web applications under a single sign-on "umbrella". What we want is the           following: for any n applications a user may have access rights for up to n         

  • Psd files are getting corrupted

    Hi I am using PSE11 on a Mac, and have experienced PSD files getting corrupted twice now.  They are digital scrapbooking files, where I have started with a layered PSD file 'template' and personalised it (with lots of effort!).  I save it and close i

  • Camera raw will not read my cf

    i have been using camera raw for 1 yr. great no problems, my computer crashed and had it reworked at my repair guys. all adobe was removed in the process. i reloaded my same discs from last year, cs4 will not read my canon 5dmark 2 compact flash file

  • When you close Safari and then Reopen it, Shouldn't the Websites/Windows Reopen?

    At least thats what I thought was one of the new things with Lion. If you close Safari, and then reopen it, the windows you left open are supposed to re-open.  But thats not happening for me most of the time.  If there are tabs, the tabs still say th

  • Understanding Rowcount

    I want to write a store procedure that will insert data into a table, it will automatically increment a ID number. The first test is to check if the table is empty if it is the first ID is set to 100. The problem is testing that no rows are returned.