Thursday, 9 April 2015

INSTALL ACTIVE DIRECTORY MANAGEMENT TOOLS ON CLIENT COMPUTER

First we need to download the Remote Server Administration Tools (RSAT) for from Microsoft's web site:
http://www.microsoft.com/en-us/download/details.aspx?id=7887

After downloading and installing the tool on your computer, use the Turn Windows features on or off function to enable AD management tools.

1. Go to the Control Panel, click on Programs & Features.
2. On Programs and Features, select Turn Windows features on or off.
3. Under Remote Server Administration Tools > Role Administration Tools, select AD DS and AD LDS Tools. Click Ok. Done.

Wednesday, 18 March 2015

GET SERIAL NUMBER COMPUTER USING COMMAND PROMPT

This is how to get the serial number computer using command prompt.  The command as below;

wmic bios get serialnumber

Thursday, 12 March 2015

HOW TO REMOVE SAVED LOGS IN THE EVENT VIEWER

1. Open command prompt “CMD” with “Run as administrator”.
2. Run the following command as below and press enter to proceed.
del /s /q %programdata%\microsoft\eventv~1\extern~1
3. You will see the saved logs deleted.
Deleted file - C:\ProgramData\microsoft\eventv~1\extern~1\Log_0.xml
Deleted file - C:\ProgramData\microsoft\eventv~1\extern~1\Log_1.xml
Deleted file - C:\ProgramData\microsoft\eventv~1\extern~1\Log_10.xml
…….
4. Done.

More details may refer to http://support.microsoft.com/kb/2489761

Friday, 6 March 2015

TOOLS FOR THE NETWORK TROUBLESHOOTING

There is a some useful tools for the network troubleshooting purpose. 

1.       Network Monitor 3.4.
2.       Wireshark
3.       PortQuery/PortqueryUI
4.       RpcDump : this tool is contained in Windows resource pack and it is useful to dump all the RPC interface information on a machine.
5.       Fiddler : this tool is very useful for HTTP related connection issue)
6.       Microsoft Remote Connectivity Analyzer
7.       Ping/Telnet/tracert/Netstat/nslookup: All these are Windows OS built-in tools. 
8.       TCPView : TCPView is a Windows program that will show you detailed listings of all TCP and UDP endpoints on your system
9.       Whois : Whois performs query against the registration record for the domain name or IP address that you specify
https://technet.microsoft.com/en-us/sysinternals/bb897435

Thanks to Premier Support for this info.

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