Friday, 6 February 2015

FIND YOUR CA (CERTIFICATE AUTHORITY) SERVER IN YOUR ACTIVE DIRECTORY ENVIRONMENT

This utility tool able to identify CA server in AD environment.
certutil –config - -ping

Thanks to David Rowe for this article.

THE WINRM CLIENT RECEIVED AN HTTP STATUS CODE OF 502 FROM THE REMOTE WS-MANAGEMENT SERVICE.

Found error when open the Exchange Management Shell on exchange 2013.

Connecting to remote server failed with the following error message : The WinRM client received an HTTP status code of 502 from the remote WS-Management service.



Solution: 
Open command prompt and run the command below;

netsh winhttp reset proxy

https://technet.microsoft.com/en-us/library/bb430772(v=exchg.141).aspx

Friday, 16 January 2015

THE REMOTE SESSION WAS DISCONNECTED BECAUSE THERE ARE NO TERMINAL SERVER LICENSE SERVERS AVAILABLE



I found this issue when try to remote desktop (RDP) to the production server, Windows Server 2012.   My workaround is using mstsc /admin can RDP without any issue.

Another method, you may need to touch the Registry on the server. Refer to this article below:

Wednesday, 14 January 2015

PERFORMANCE MONITOR UNABLE TO ADD THESE COUNTERS

When open the Performance Monitor (PerfMon) in Windows, you may found this alert "Unable to add these counters" as below;



 In my situation, I just perform few steps and it's solved my problem.

Steps:
1. Open the command prompt (CMD) with run as Administrator.
2. Go to the path C:\Windows\System32\ 
3. Type this command lodctr /R
4. Done.

Ref. URL: http://support.microsoft.com/kb/300956

Wednesday, 17 December 2014

PS1 CANNOT BE LOADED BECAUSE RUNNING SCRIPTS IS DISABLED ON THIS SYSTEM

If you get the error below:
File C:\Windows\System32\Users-Last-Logon.ps1 cannot be loaded because running scripts is disabled on this
system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
    + CategoryInfo          : SecurityError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnauthorizedAccess
You can set the execution policy by typing this into your powershell window as below:

Set-ExecutionPolicy RemoteSigned

Tuesday, 25 November 2014

Thursday, 20 November 2014

ADDING EMAIL ADDRESSES TO SAFE SENDERS LIST FOR ALL USERS OFFICE 365

1. Connect Windows PowerShell to Exchange Online http://technet.microsoft.com/en-us/library/jj984289(v=exchg.150).aspx
2. Prepare a CSV file to list the users whom you want to change, and this file maybe  contain the user's alias and email address in your organization , and then store it in local disk (for example, F:\UserList.csv ).
For example:
Identity, EmailAddress
3. Run the command below to bulk update the safer sender list of all users of your organization:
Import-Csv "F:\UserList.csv"  | foreach { Set-MailboxJunkEmailConfiguration -Identity  $_.Identity -TrustedSendersAndDomains  @{Add=news@domain.com} }

EXPORT LIST OF USER ACCOUNTS FROM OFFICE 365

1.   Download the MSOL Module for Windows PowerShell and connect to the Office 365 service. http://technet.microsoft.com/en-us/library/hh974317.aspx
2.   Run the following cmdlet: 
Get-MSOLUser | select displayname,userprincipalname | Export-CSV userlist.csv

Wednesday, 19 November 2014

MISSING USER ACCOUNT IN GLOBAL ADDRESS LIST (GAL)

The user account may configured correctly on the Exchange and AD, based on my troubleshooting.  I just remove the Global Address List (GAL) attribute on the ADSIEDIT and re-add again into the GAL.  After that the problem resolved with the user appeared on the GAL.

Steps 1: Go to CMD and run ADSIEDIT.MSC.

Steps 2: On the ADSIEDIT console, expand the Domain > DC > and select CN=Users
         

Steps 3: On the right pane, Select the problematic user, right click and choose Properties.

Steps 4: On the user Properties, search and edit the ShowInAddressBook attribute.

Steps 5: Select the CN=Default Global Address List,CN=All Global Address Lists,CN=Address Lists Container,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=tez,DC=net copy and paste to notepad.

Steps 6: After that click Remove and click OK twice.

Steps 7: Right click and select Properties on the same user and edit the ShowInAddressBook attribute.

Steps 8: Enter the CN=Default Global Address List,CN=All Global Address Lists,CN=Address Lists Container,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=tez,DC=net click Add and OK twice.

Steps 9: Update the GAL on exchange server with run the Exchange PowerShell command as below;
Update-GlobalAddressList -identity "Default Global Address List" -DomainController "Domain_Controller_PDC_Name" and enter the command to update GAL.

Steps 10: Manually download the GAL on the MS Outlook and the problem resolved.