Thursday 31 December 2015

How to find WWN in Windows server 2012 and Windows Servers 2008

To find the WWN in windows server 2012 you have to first download "fcinfo_x86" from blow link.

https://www.microsoft.com/en-us/download/details.aspx?id=17530

Please note that on above link you will find three files.
one is for Itanium and one is for x64bit and the third one is for 32bit, which is "Fcinfo_x86" so depending on your system you have to download and install the correct one.
in my environment the "fcinfo_x86" was working the others tow was not working
after downloading and installing go to the following path and run this command

C:\Windows\SysWOW64>fcinfo /details

i got the required details

The following command is also used for finding WWN numbers.

Get-InitiatorPort | Select-Object -Property PortAddress | Format-Table -AutoSize

Tuesday 15 September 2015

Setting homepage in google chrome through GPO in AD DS 2008

How to set homepage in google chrome through GPO in ADDS 2008

First you have to download ADMX templates from google.com, may be you find at bellow locations.

http://support.google.com/a/bin/answer.py?hl=en&answer=187945
http://dl.google.com/dl/edgedl/chrome/policy/policy_templates.zip

Then place the chrom.admx and en-us files in sysvol at below locations "\\domainname\sysvol\domainname\Policies\PolicyDefinitions".

Now when ever you try to edit any GPO you will see google settings at both computer configuration and users configurations just like as below.

 
 
Now that you have successful added the ADMX temple in your Sysvol, now you can do different settings in chrome.
 
Lets set home page in chrome.
open Group Policy Management Console and create new GPO or edit the old one.
just right click the GPO which you have created and select Edit.
GPMC would be opened go to the following locations and follow these steps.
 
for both users configurations and computer configurations settings are same.
to apply on computers, expend computer configurations-->policies-->administrative templets-->google-->google chrome-->home page
here double click configure the home page url, select Enabled and in homepage URL enter the URL like "Google.com" and click OK.
but it would still not work.
so you have to do some other settings like below.
expend computer configurations-->policies-->administrative templets-->google-->google chrome-->startup pages
here are two settings.
double click on "Action on startup" and select Enabled.
from Action on startup select "open a list of URLS" and click OK.
now double click on "URLs to open on startup" and Enabled it as well. click on Show in "URLs to open on startup"
a new small window will be opened here you have to assign the value for "URLs to open on startup" here enter the complete URL which you want as homepage
 
 
 
Now link it to any OU or Domain.
 
Then go to client machine and type
C:/>gpupdate /force
or
restart your machine.
 
open your google chrome and you should see homepage.
 
If you still have issue then you can get help from the following tools.
 
RSOP.MSC
Gpresult
GPupdate /force
Open chrome and type as URL as below.
chrome://policy

Wednesday 12 August 2015

How to find serial number of a system in windows

How to find serial number of  a system in windows
Just copy and past the following in command prompt and you will get the serial number of a system

c:\>wmic bios get serialnumber

For more detail you can visit the following site.

https://msdn.microsoft.com/en-us/library/aa394531(VS.85).aspx 

Wednesday 5 August 2015

Outlook 2013 crash, not starting

Today I faced an issue with my outlook 2013, In my windows 10 I installed office 2013 and it was working fine but after installing few other applications on my system outlook was unable to start.
then I started to find the reason and also I restart my outlook and even my system few times but no luck.
Then I went to event viewer and found the event ID 1000 in application logs.
I also tried in the mean time to check outlook in safe mode (start-->run and type outlook.exe /safe and hit enter)and found its ok, was able to start without any issue.

The complete error in application logs was some thing like bellow.

--Start--

Faulting application name: OUTLOOK.EXE, version: 15.0.4420.1017, time stamp: 0x506734e2
Faulting module name: KERNELBASE.dll, version: 10.0.10240.16384, time stamp: 0x559f3b2a
Exception code: 0xe0434352
Fault offset: 0x000b3e28
Faulting process id: 0x15f4
Faulting application start time: 0x01d0cf9a71ccad5a
Faulting application path: C:\Program Files (x86)\Microsoft Office\Office15\OUTLOOK.EXE
Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
Report Id: cce9f65a-3b8d-11e5-9bcc-acfdce30790a
Faulting package full name:
Faulting package-relative application ID:


----End--
Now I came to know that issue is with Add-in.
So I tried to disable (uncheck) one by one and check the issue
HOW
Start-->Option-->Add-ins-->here you will see all add-ins and below you will see Manage COM Add-ins-->click on Go-->here you will see COM Add-ins
Now you can uncheck any Add-ins
Now after disabling one of them and trying the outlook my issue was resolved.

Monday 27 July 2015

How to resolve Windows 8 cisco VPN -Cisco system vpn client Version 5.0..07.0440 client issue.

Few days back i installed VPN client (Cisco system vpn client Version 5.0..07.0440) on my windows 8 machine but after the installation it was unable to connect successfully.
      To resolve the issue i did the following changes in changes in Registry.


     Note: Before doing this change, take a copy/export your current registry setting.


    Start--->Run-->Regedit and hit enter.
    Go to the following location/path
·    Browse to the Registry Key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\CVirtA

double click on DisplayName to edit it as bellow


For x86

Change

"@oem8.inf,%CVirtA_Desc%;Cisco Systems VPN Adapter”
to
"Cisco Systems VPN Adapter”

And for x64

Change

"@oem8.inf,%CVirtA_Desc%;Cisco Systems VPN Adapter for 64-bit Windows”
 to 
"Cisco Systems VPN Adapter for 64-bit Windows”

Thursday 23 July 2015

How to renew lync server internal certificate.


Go Lync Server deployment wizard-->install or update lync server system
-->request install or assign a certificate-->
select internal certificate that you want to renew-->request-->from here
create new csr complete the wizard and save the csr
Now go your internal CA(CAName)

you have two method, follow just one

(1)Start-->Certificate authority-->right click on CA-Name and select All
task--submit request--select csr and Save it

(2) open IE and type (https://CA-Naem/certsrv/)
-->request a certificate-->advance certificate request-->"Submit a
certificate request by using a base-64-encoded CMC or PKCS #10 file, or
submit a renewal request by using a base-64-encoded PKCS #7 file. "
-->in saved request window past your csr
-->from certificate template
select web server(if this option is not available then open IE with run as
admin as its look like you don't have the required permission).
click submit.

Now you will have to download this new certificate from CA and will save it. then copy it to the lync Edge server.
After that go to Edge server and import certificate this certificate
start-->run-->MMC--->add/remove snap-in-->certificate-->ok---->OK
Select-->personal certificate-->right click and import that new certificate-->
Now in lync certificate deployment Wizard-->Install or update lync server system-->request, install or assign certificate-->click run again and here you will find that new certificate is appearing ---So you can assign -->follow the wizard in Lync Server Deployment Wizard and complete as below.

Lync Server deployment wizard-->install or update lync server system
-->request install or assign a certificate-->here you first have to import that new certificate-->once import complete successfully select assign-->here you will see the new certificate appearing-->verify it and click next--->the wizard should complete successfully.
you may need to restart lync services once.
Now do your required testing, every thing should work.

Tuesday 9 June 2015

The name on the security certificate is invailid or does not match the name of the site

Few days back i installed a new exchange server 2013 as a multi role i-e Mailbox-CAS role. This server was placed in another AD site so all users were not effected but some users in the same site were effected and getting the warning as mentioned in bellow screen shot.

Even that this warning was not critical, but i have to resolve.

To resolve this issue i came to know with the help of bellow command that the auto discover entry was not reset in this new server and was still set as default with the server name as (HYBRID01    https://hybrid01.domain.com/Autodiscover/Autodiscover.xml)

[PS] C:\Windows\system32>Get-ExchangeServer | Where {($_.AdminDisplayVersion -Like "Version 15*") -And ($_.ServerRole -L
ike "*ClientAccess*")} | Get-ClientAccessServer | Format-Table Name, AutoDiscoverServiceInternalUri -Auto
Name          AutoDiscoverServiceInternalUri
----          ------------------------------
MBX-CAS     https://autodiscover.domain.com/autodiscover/autodiscover.xml
MBX-CAS     https://autodiscover.domain.com/autodiscover/autodiscover.xml
MBX-CASDR https://autodiscover.domain.com/autodiscover/autodiscover.xml
HYBRID01    https://hybrid01.domain.com/Autodiscover/Autodiscover.xml

Now i have to reset the auto discover enter on this new server as the other servers so i ran the following command.

[PS] C:\Windows\system32>Set-ClientAccessServer -Identity hybrid01 -AutoDiscoverServiceInternalURI https://autodiscove
r.domain.com/autodiscover/autodiscover.xml

Now to verify the updated setting i again ran the following command and got the desired result all servers have the same autodiscover entry.

[PS] C:\Windows\system32>Get-ExchangeServer | Where {($_.AdminDisplayVersion -Like "Version 15*") -And ($_.ServerRole -L
ike "*ClientAccess*")} | Get-ClientAccessServer | Format-Table Name, AutoDiscoverServiceInternalUri -Auto
Name          AutoDiscoverServiceInternalUri
----          ------------------------------
MBX-CAS     https://autodiscover.domain.com/autodiscover/autodiscover.xml
MBX-CAS     https://autodiscover.domain.com/autodiscover/autodiscover.xml
MBX-CASDR https://autodiscover.domain.com/autodiscover/autodiscover.xml
HYBRID01    https://autodiscover.domain.com/autodiscover/autodiscover.xml

and the issue reslvoed.

Monday 16 February 2015

Cluster service start/stop again and again within few seconds, continusly trying to start but failed. Resolved


Today i faced an issue after restarting a server (Windows server 2012 has  Exchange server 2013 Mailbox and CAS role installed and is part of exchange server 2013 4 nodes DAG) that its cluster was not starting properly.

This server is part of  Exchange server 2013 DAG and has Mailbox and CAS role installed.

Error in Cluster manager
 (1)
EVENT ID 1135
Cluster node 'Node02' was removed from the active failover cluster membership. The Cluster service on this node may have stopped. This could also be due to the node having lost communication with other active nodes in the failover cluster. Run the Validate a Configuration wizard to check your network configuration. If the condition persists, check for hardware or software errors related to the network adapters on this node. Also check for failures in any other network components to which the node is connected such as hubs, switches, or bridges.
(2) Event ID 1127
Cluster network interface 'Node1 -VL3' for cluster node 'Node1' on network 'Cluster Network 1' failed. Run the Validate a Configuration wizard to check your network configuration. If the condition persists, check for hardware or software errors related to the network adapter. Also check for failures in any other network components to which the node is connected such as hubs, switches, or bridges.
(3) Event ID 1069
Cluster resource 'IPv4 Static Address 2 (Cluster Group)' of type 'IP Address' in clustered role 'Cluster Group' failed.
Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.

Also got the following error in Event Viewer/System Logs

(1) Event id 7024
The Cluster Service service terminated unexpectedly.  It has done this 231 time(s).  The following corrective action will be taken in 60000 milliseconds: Restart the service.
(2) Event id 7024
The Cluster Service service terminated with the following service-specific error:
The handle is invalid.
(3)
Event ID 1070
The node failed to join failover cluster 'DAG15' due to error code '6'.
(4)
Event ID 7031
The Cluster Service service terminated unexpectedly.  It has done this 231 time(s).  The following corrective action will be taken in 60000 milliseconds: Restart the service.

Solution:
The bellow value in registry was changed to 2, which should be 1 or 0, so after changing it to 1, Start Cluster service, start normally and the issue resolved.
Computer\HKEY_Local_Machine\System\CurrentControlSet\Control\Lsa
CrashOnAuditFail Value Data:2
Change to
CrashOnAuditFail Value Data:1