Tuesday 8 October 2019

How to find that from which Windows update server (WSUS) your client machine getting updates


Just go to the following path in the registry key and you will have the name of the server.

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate

WUStatusServer: http://servername.dom.com:8530

Thursday 26 September 2019

There has been some issue identified and fixed with LDM. Please uninstall the LDM through control panel and click here to install the latest version.

I was getting the following error while trying to download any file from Microsoft site (https://learningdownloadcenter.microsoft.com/Home/DownloadQueue).

Error
""ALERT: There has been some issue identified and fixed with LDM. Please uninstall the LDM through control panel and click here to install the latest version. Apologies for the inconvenience. The later versions of LDM should be able to update through automatic update prompts and would not require the manual uninstall step. "


My issue was resolved in this way.
 1: Download the latest LDM from Microsoft official site
 2: Once the download complete then RUN the installation
 3: In installation it detected the old install LDM so it ask for Repair and uninstall of old LDM
 4: Select Uninstall the old LDM
 5: then re-RUN the installation of latest LDM
 6: after successful installation, my issue was resolved. 

Friday 12 July 2019

Lync Server Access Edge was unable to start



Error in system logs in event viewer
"The Lync Server Access Edge service terminated with service-specific error %%-2146762487."

Reason:
The root CA who issued certificate for lync edge server, certificate was not in the intermediated certificate store of edge server.
after importing the CA certificate in intermediate store, the Lync Server Access Edge service was started normally and the above error from the event viewer was also removed.

Monday 29 April 2019

Resolved: 451 4.7.0 Temporary server error. Please try again later.

I have Exchange server 2013 environment with 3 mailbox and 2 Edge servers. I got mail flow issue that email coming from Edge servers to Mailbox servers were stuck in Queue. after looking into the Queue and got the error "451 4.7.0 Temporary server error. Please try again later." on both Edge servers.
after look into the Mailbox servers I found heavy load on the mailbox Servers. CPU and memory were reaching to 100%. So after decreasing the load on the all three servers by moving some DBs to DR site and restarting the Microsoft exchange Transport services on the mailbox servers, the load become decreased, then restart the same services on the EDGE servers as well, the Queue become on decreasing.
So the mail Queues were on both Edge servers were due to load on the all 3 mailboxes Servers on PR site not any issue with Edge Servers.

Friday 22 March 2019

GPresult /r does not show computer settings

Today i have to test a new GPO settings, for testing on client machine i ran the GPResult /r command but found that there were no computer settings in the result of GPResult /r command i which i was more interested as the GPO was applied on computer Object.
So i was trying different way, and one was to open the Command prompt with Administrator rights.
So after start the command prompt with Administrator rights and running the GPResult /r i got the required computer settings in the result/output.

 

Wednesday 13 March 2019

Windows updates failing with error 80072ee2 on Windows Server 2008 R2


Today i faced an issue that i was unable to install windows updates on windows server 2008 R2.  was getting this "80072ee2" error code in windows updates error. 


ERROR Code:     80072ee2

Description:       above error was generated during windows updates

Solution:             Re-register WU DLLs - Run the following commands on elevated cmd.exe and re-register Windows update DLLs.

                                regsvr32 oleaut32.dll

                                regsvr32 jscript.dll

                                regsvr32 vbscript.dll

                                regsvr32 softpub.dll

                                regsvr32 msxml.dll

                                regsvr32 wintrust.dll

                                regsvr32  initpki.dll

                                regsvr32 cryptdlg.dll

P.S: My issue was resolved after registering above *. dll . please note that there may be some other solutions as well and should be resolved accordingly.

Thursday 14 February 2019

Resolved: Unable to connect Exchange mangement shell

Environment:
Exchange Server 2013 CU20 fresh installed with multi role (mailbox and CAS) on a Windows server 2012 R2.

ISSUE:
I was unable to connect Exchange management shell.

Error: While trying to open/connect Exchange management shell getting the following errors.

VERBOSE: Connecting to mbxcas.pt.test.com.
New-PSSession : [mbxcas.pt.test.com] Connecting to remote server mbxcas.pt.test.com failed with the following
error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
VERBOSE: Connecting to mbxcas.pt.test.com.
New-PSSession : [mbxcas.pt.test.com] Connecting to remote server mbxcas.pt.test.com failed with the following
error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
VERBOSE: Connecting to mbxcas.pt.test.com.
New-PSSession : [mbxcas.pt.test.com] Connecting to remote server mbxcas.pt.test.com failed with the following
error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
VERBOSE: Connecting to mbxcas.pt.test.com.
New-PSSession : [mbxcas.pt.test.com] Connecting to remote server mbxcas.pt.test.com failed with the following
error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
VERBOSE: Connecting to mbxcas.pt.test.com.
New-PSSession : [mbxcas.pt.test.com] Connecting to remote server mbxcas.pt.test.com failed with the following
error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.: mbxcas.pt.test.com
VERBOSE: Connecting to mbxcas.pt.test.com.
New-PSSession : [mbxcas.pt.test.com] Connecting to remote server mbxcas.pt.test.com failed with the following
error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
[PS] C:\Windows\system32>
Resolutions:

There was time difference of 12 minutes between the Exchange Server and the DC, after correcting/synchronizing the time on exchange server, the issue was resolved.

Tuesday 29 January 2019

Resolved: something went wrong. You don't have permission to open this mailbox

I was trying to assign full admin rights on mailbox "A" to mailbox "B" in Exchange Server 2013, so will access /owa with mailbox credentials of mailbox "B" and then access mailbox "A" in it. But i faced the following issue while accessing in OWA.

something went wrong


You don't have permission to open this mailbox.

X-ClientId: PGCP - 0PQE - SIGS - FGVSWBQ X-OWA-Error: SDServerErr;Microsoft.Exchange.Clients.Owa2.Server.Core.OwaExplicitLogonException X-OWA-Version: 15.0.1367.3 X-FEServer: MBCS01 X-BEServer: mbcs03.domain.com Date: 1/29/2019 3:34:26 PM
Even that full access was assigned on mailbox "A" to mailbox "B".
in my case mailbox "B" had full admin access but was also having other management roles like
  1. Discovery management
  2. Server management
  3. recipient management
  4. etc.
So i just create another mailbox "Z" and assign the full admin rights on mailbox "A" to mailbox "Z" and then i was able to access Mailbox "A" in /owa of mailbox "Z"

So it means we should create a simple mailbox and assign full admin rights. then it should work

Search mailboxes in Exchange server 2013 and delete or move the content to another mailbox

1)
To Search email between 2 specific dates and move the content to another mailbox.
First lets create the following 3 variables and put the values as per your requirements

$Fromdate ="10/01/2018";
$Todate = "01/20/2019";
$date="Received:"+$Fromdate+".."+$Todate

Search-Mailbox v.hili@domain.com -SearchQuery "$date" -TargetMailbox khaaz@domain.com -TargetFolder ToFromHilal

2
Tested: to copy data from one mailbox to another one.
Search-Mailbox v.hil@domain.com -SearchQuery 'Subject:"RDP"' -TargetMailbox khaaz@domain.com -TargetFolder tohilal

3
Tested: To Delete content from a mailbox of a subject.
Search-Mailbox -Identity "khaaz@domain.com" -SearchQuery 'Subject:"sook sook"' -DeleteCon
tent

4
To Search all mailboxes that contain the words country OR province OR districts, and copy the result to khaaz@domain.com mailbox in Country Folder
Get-Mailbox | Search-Mailbox -SearchQuery 'country OR province OR districts' -TargetMailbox khaaz@domain.com -TargetFolder "AllMailboxes-Country" -LogLevel Full