31 C
Dubai
Saturday, May 3, 2025
Home Blog Page 75

Server Manager error in Windows 2008 R2 – Unexpected error refreshing server manager – 0x800F0900

image

Download – Windows System Update Readiness tool using below link

http://support.microsoft.com/kB/947821

Run it, Its going to Run for some time.

Open Log location – C:\Windows\Logs\CBSS

Open CheckSUR file

image

Open Log file

See Unavailable repair files in the bottom of the log file.

 

image

Get the Unavailable repair files from a similar patched system. Take a backup and paste it .
C:\Windows\winsxs\manifests\amd64_microsoft-windows-p..age-codec.resources_31bf3856ad364e35_7.1.7601.16492_pt-br_005a92b13dbbf723.manifest
C:\Windows\winsxs\manifests\amd64_microsoft-windows-p..age-codec.resources_31bf3856ad364e35_7.1.7601.16492_pl-pl_fe06a80d3f32633f.manifest
C:\Windows\servicing\packages\Microsoft-Windows-ApplicationServer-BPA-Package-TopLevel~31bf3856ad364e35~amd64~~7.1.7600.16400.mum
C:\Windows\servicing\packages\Microsoft-Windows-ApplicationServer-BPA-Package-TopLevel~31bf3856ad364e35~amd64~~7.1.7600.16400.cat

 

You need to take ownership of the files and have full control over the files so that system will allow you to copy and paste it .

Properties of the File – Security – Advanced – Owner – Choose the Owner – Click ok apply.

 

No reboot required for this process.

Only Secure Content is displayed while opening Office Web Apps with Exchange 2013

image

Open Power shell ( Run as Administrator)

Set-OfficewebAppsfarm –SSLOffloaded:$true –AllowHTTP:$true

Restart Office Web App Server (OWAS_ server

Which fixed the above ID prompt

Attaching the standard settings with all OWAS functionality working with Exchange and SharePoint 2013 on Windows Server 2012

I have a internal CA – there my .local url is trusted with my internal CA. and External URL has a trusted cert.

image

How to limit number of Simultaneous Connections in 2012 R2 RDS(Remote Desktop Services)

Login to the 2012 R2 Gateway Server

Start- Administrative Tools – Remote Desktop Services – Remote Desktop Gateway Manager

image

Right Click on the Server Name – Properties

image

Set the Value for –

Maximum Allowed Simultaneous Connections – Click Apply – OK

image

How to Create a receive connector to authorize Cross forest emails in Exchange 2013

Am migrating users from Domain A to Domain B.

Primary domain has distribution groups having “Only senders inside my organization”

We can’t expose the distribution groups as some mailboxes are migrated across forest.

image

Create a receive Connector to allow emails to be authenticated for distribution groups.

Note: Appropriate mail contact/mail user should be available.

image

Add the IP to be allowed.

image

Open the properties of the connector –

Make sure Externally Secured is checked

image

Exchange 2013 – OWA Password Expired – Requiring DOMAIN\Username

When a user’s password expires and they login to OWA, the system allows them to change the password. However, Exchange 2013 OWA requires them to use the format ‘DOMAIN\username’.

UPN authentication isn’t supported yet in Exchange 2013 OWA.

  • When can’t expect the users to remember the domain name (unnecessary increase in support calls).
  • We can’t expect the users to remember the Hosted domain name in a hosted environment.

In Exchange 2013 OWA when the UPN Is changed. User reset will happen in the below format.

DomainName\user@tenant1.com

As you know , when the logon format is “User Principal Name” the Domain\user name field is not populated by Exchange automatically.

This article will explain how to over come this situation by doing a autofill – when your login format is set to username or UPN  by customizing the fexppw.js file in OWA Folder.

Location of the file – “C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\owa\auth\XXX\scripts\premium”

Lets see my below example for better understanding –

My Root Domain name is testcareexchange.biz

my customer domain name is peppy.com

image

See my Users UPN (Userprincipalname) and Primarysmtp address

below mailbox is on testcareexchange.biz domain

image

Now lets see how resetting password at next logon works

“Your password has expired and you need to change it before you sign in to Outlook Web App”

Domainname\user@domain.local

In my case it is

Testcareexchang\user@peppy.com

image

Your password has been changed. Click OK to sign in with your new password.

Seriously , We can’t expect the users to remember this format . Which is going to increase the support calls for password resets on expiry. Especially users not joined in the domain and in a hosted environment.

Only way to overcome this issue is to do a autofil this domain\username details.

lets see how to do it.

Locate the file from below location – fexppw.js
Location of the file – “C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\owa\auth\XXX\scripts\premium”

Make sure OWA Virtual directory is set to

Use forms-based authentication Logon format:User principal name (UPN)

image

Take a backup of the below file –

image

Add the below line – in the else statement as shown below.

No IISreset required after the below change. Clear your browser cache and check.

gbid(“username”).value = “TESTCAREEXCHANG\\” + rg[3];

image

Once Changed. SAVE the file. Clear browser cache . check now.

As shown below .It should autofill.

image image

What if your are using ?

Use forms-based authentication Logon format:User name only

image

REPLACE the below line – in the If statement as shown below.

No IISreset required after the below change. Clear your browser cache and check.

gbid("username").value = "TESTCAREEXCHANG\\" + rg[3];

image

Happy Customization.

NOTE ++++ THIS CUSOMIZATION IS NOT SUPPORTED BY MICROSOFT ++++++

++++++++++ANY UPDATES FROM MICROSOFT IS GOING TO REPLACE THIS SETTING AND YOU NEED TO REDO THIS CUSTOMIZATION +++++++

Clean-MailboxDatabase (Exchange2010) is Update-StoreMailboxState in Exchange 2013

To refresh the disconnected mailboxes in Exchange 2010 databases – Clean-Mailboxdatabase

For Specific Database –

Get-MailboxDatabase “Dbname” | Clean-mailboxdatabase

For all Databases –

Get-MailboxDatabase | Clean-mailboxdatabase

To refresh the disconnected mailboxes in Exchange 2013 databases – Update-StoreMailboxState

For Specific Database –

Get-MailboxStatistics -Database “Dbname” | Where { $_.DisconnectReason -ne $null } |ForEach { Update-StoreMailboxState -Database $_.Database -Identity $_.MailboxGuid -Confirm:$false }

For all Databases –

Get-MailboxDatabase | foreach{Get-MailboxStatistics -Database $_.identity} | Where { $_.DisconnectReason -ne $null } | ForEach { Update-StoreMailboxState -Database $_.Database -Identity $_.MailboxGuid -Confirm:$false } -Verbose

 

To See Disconnected Mailboxes in Exchange2010/2013 –

Get-MailboxDatabase | Get-MailboxStatistics | Where {($_.DisconnectDate -ne $null)}

To See Disconnected Archive Mailboxes –

Get-MailboxDatabase | Get-MailboxStatistics | Where {($_.DisconnectDate -ne $null) -and ($_.IsArchiveMailbox -eq $true)}

 

To Connect a Mailbox –

image

To Reconnect the Archive Mailbox in Exchange 2013 –

Enable-Mailbox -ArchiveGuid 215368ca-effc-49d0-bdsfsdfg4f-9665d641dc24 -ArchiveDatabase DB2 -Identity Mailbox1

Note: Primary Mailbox and Archive Mailbox has to be mapped with the Same account. It cannot be different.


                
× How can I help you?