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

Tuesday, 21 October 2014

My computer cannot recognize my Toshiba 1TB external hard drive

Today i faced a new issue.
issue was
"My computer cannot recognize my Toshiba 1TB external hard drive"
i tried on both Windows 7 and 8.1, but no luck.
while connecting the drive system was detecting to it. a pop up appeared that a new device installed successfully.
also shown in device manager.
but not showing in my computer. i was unable to access.

solution was.
actually the drive was password protected by Toshiba password tool.
after downloading/installing this tool from Toshiba official website.
the system restart and after restart and login to the system the Toshiba password tool asking for password.
then after entering the password.
It was accessible.