Wednesday, September 27, 2017

Error: "The program can't start because MSVCR110.dll is missing from your computer." when using WampServer

Sometime  you will get this error when you tried to start your Wamp Server, which is configured on Windows.

You will get one of the below error message and will not be able to start the Wamp server. Saw that this issue is a common problem with a few other application also.

You can try the same steps if you see the same error codes as mentioned below,


The program can't start because MSVCR110.dll is missing from your computer. Try reinstalling the program to fix this problem.

The program can't start because MSVCP110.dll is missing from your computer. Try reinstalling the program to fix this problem.\


image

You can download below mentioned two tools which provided by Microsoft.

Visual C++ Redistributable for Visual Studio 2012 Update 4

For  64 X  PC  - 32 X also you can find here


Microsoft Visual C++ 2008 SP1 Redistributable Package

For 64 X  PC

For 32 X PC

Depend on the environment select the correct version of the applications.

If you get an error :

The program can’t start because VCRUNTIME140.dll is missing from your computer. Try reinstalling the program to fix this problem.


image


Then you need to download and install  Visual C++ Redistributable for Visual Studio 2015  (By click on this, You will redirect to the download location)

Monday, September 18, 2017

How to add a UPN suffix to an Active Directory


The UPN identifies the domain in which the user account is located. This UPN suffix can be the DNS domain name, the DNS name of any domain in the forest or it can be an alternative domain name as the UPN suffix.

User Principal Name (UPN) suffixes are part of Active Directory (AD) logon names. If you want to add a new UPN suffix, you can follow below steps,

You can use Windows server 2012 and later versions.


s,vıpLllM-axdJ uoöq 
auıeu uoöq 
auıeu 
auıeu 
auıeu

To do that, you can go into Active directory Domain and Trust then right click on ADDT and select properties > Select UPN suffix > and enter your new UPN suffix and click add.

Active Directory Domains and Trusts 
File Action View Help 
Active Directory Domains and 
hemal.local 
Active Directory Domains and Trusts [ Win2016SVR.he... 
LIP N Suffixes 
Tha names of tha currant domain and tha root domain ara tha default user 
principal name (LIPN) suffixee Adding attamative domain names provides 
additional logon security and simplifies user logon names 
f you want attemative LIPN sl_ffixes to appear during user creation add 
them to tha following list 
Atemative LIP N sl_ffixes 
Hemalcom

Once you done that, close and reopen the ADUC and when you are creating a new user you should be able to select the new UPN suffix for that account.

s,vıpLllM-axdJ uoöq 
Luca12LL12+@ 
runsı 
auıeu uoöq 
auıeu 
auıeu 
auıeu

Saturday, September 16, 2017

How to renew IIS/ Exchange License file


If you search this on the internet, you will be able to find thousand of post. You can follow one of those methods to do the job. But with lots of troubles.

The steps that I'm listed down bellow is easier and within few minutes you will able to renew your license files.

First of all you need to download your SSL certificate from the licensing authority. This can be done by after,

1. Create a CSR and then wait for some time to generate the SSL certificate,

2. After expiring the SSL certificate, purchase the new certificate from the same portal  and download that.

image

Once you go into the Certificate MMC you will be able to find the expired Cert and the dates.

Exchange Server

image

IIS Manager

image

Then Open the *.CER file as below and click install certificate. Once you are done that you will be able to see that under your Exchange or the IIS certificate list.

Sometime you have to select “Open with Crypto Shell Extensions” to open the certificate.

image

Then you can assign the services by right click on the assigned certificate and select assign services.

image

Thursday, August 3, 2017

Install KMS 2012 Step By Step


Here I'm Going to demonstrate the installation and the use of KMS role which is in the Windows Server.

First of all you need to setup the Windows 2012 Server and then can go in to

Manage > Add Roles and Features > Role-based or feature-based installation > "Select the Server" where you want to install the role > Add Roles and Features Wizard > Select "Volume Activation Services" > Then install the additional features

Then you will get the Volume Activation Services wizard. There you can find a description about the VAS.

Note: The Volume Activation Services (VAS) role is not required to configure a KMS Server. To do the management, it is highly recommended to install this role.

Volume Activation Tools 
Introduction to Volume Activation Services 
ntroduction 
Activstion Type 
Product Key Management 
Configuration 
Volume Activation Services enables you to automate and simplify the issuance and management of 
Microsoft software volume licenses for a variety of scenarios and environments. With Volume 
Activation Services, you can install and activate a Key Management Service (KMS) host key, and 
configure the (MS. After this service is installed, you can also use it to issue, monitor and manage 
volume licenses for Microsoft products which support Volume Activation in your organization 
based on computer account information in Active Directory Domain Services (AD DS) 
Things to Note 
To install and enable Volume License Services, the account you use must have: 
- Local administrator permissions on the computer running Server Manager and on the computer (if 
separate) where you intend to install keys and manage KMS. 
- Permissions to write data to the Activation Object container. These permissions, which by default 
require membership in the Enterprise Administrators group, can be delegated. 
- You also must have a unique Key Management Service (KMS) host key for ßur organization. For 
more information about volume licensing options, go to Microsoft Volume Licensing homepage. 
Additional Information 
Microsoft Volume Licensing Home Page 
Managing Volume Licensing clients using the Volume Activation Management Tool PVAMT)

Note. If all Windows OSs activated on this KMS server belong to one and the same Active Directory domain, you can use a special KMS extension — Active Directory Based Activation.

Select the computer name which you want to activate. (The computer need to be in the domain.)

Volume Activation Tools 
Select Volume Activation Method 
Introduction 
Activation Type 
Key Msnsgement 
Configuration 
You can modify an existing volume activation configuration or create a new one. Select the method 
you want to manage and, for the Key Management Service, the ser.'er on which the service is 
installed. 
If you need to use credentials other than your current account, enter the usemame and password 
before proceeding. 
O 
Active Directory Based Activation 
@ Key Management Service (KMS) 
Alternate credentials (optional) 
domain\username 
user name: 
password

Now you can copy paste the KMS key which you can get from the Microsoft Volume Licensing portal

Volume Activation Tools 
Manage (MS Host 
Introduction 
Activstion Type 
Product Key Management 
Configuration 
KMS —11 
Create a new KMS host by installing yn•ur KMS host key. If have already installed a KMS host 
key, you can activate installed products, or select Skip to Configuration to review and modi%' KMS 
configurations. 
@ Install pur KMS host key 
CD Skip to Activation 
C) Skip to Configuration

Once that done you will get the below window. Here  you can select the Review configuration and click next to proceed.

Volume Activation Tools 
Product Key Installation Succeeded 
KMS — 1 
'w ale 
Introduction 
Activstion Type 
Product Key Management 
The product key has been installed. The product may need to be activated. Select Activate Product 
and click Next to complete activation. Otherwise select Review Configuration and click Next. 
CD Activate Product 
Review Configuration

If you have not added the firewall exceptions, you will get the below window. You can add the firewall exceptions as mentioned below. And then run the setup again.

But for the initial run, disable the Windows firewall and run the activation. This way you will have a way to understand that KMS is not giving any errors. Later give the exceptions in the firewall and enable the destination PC firewall.

If the firewall enabled, you will get the below error.

Volume Activation Tools 
Product Key Installation Succeeded 
Introduction 
Activstion Type 
Product Key Manageme 
Configuration 
The product key has been installed. The product may need to be activated. Select 
and click Next to complete activation. Otherwise select Review Configuration and cli 
Activate Product 
Error 
The following error has occurred. Please resolve the error and try' again. 
Description: 
The firewall rules could not be accessed. Please check your network and 
remote firewall settings.

Go in to Windows firewall and click on New Inbound rule Wizard.

New Inbound Rule Wizard 
Rule Type 
Select the type of firewall rule to create 
Rule Type 
Protocol and Ports 
Action 
Profile 
Name 
What type of rule would you like to create? 
o 
Rule that controls connections for a program 
Rule that controls connections for a TCP or UDP port 
o 
AIJoyn Router 
Rule that controls connections for a Windows experience 
Custom rule

Then add a TCP port 1688.

Protocnl and Ports 
Specfy the protocols and ports to which this rule applies 
Rule Type 
Protocol and Ports 
Action 
Profile 
Name 
Does this rule apply to TCP or UDP? 
@ TCP 
O UDP 
Does this rule apply to all local ports or specific local ports? 
o 
Al locA ports 
@ locA ports: 
Example 80. 443. 5000-5010

Click allow connection.

New Inbound Rule Wizard 
Action 
Specify the action to be taken when a connection matches the conditions specified in the rule 
Rule Type 
Protocol and Ports 
Profile 
Name 
What action should be taken when a connection matches the specified conditions? 
@ Alow ttE corvEdion 
This includes connections that are protected with IPsec as well as those are not 
o 
Alow ttE corvEdion if it is 
This includes only connections that have been authenticated by using IPsec Connections 
will be secured using tha settings in IPsec properties and rules in tha Connection Security 
Rule noda 
Customize n 
o 
Bock ttE corvEdion

Here you can select the Domain as the selected network. But I prefer to go with the Domain and the Private networks.

New Inbound Rule Wizard 
Profile 
Specfy the profiles for which this rule applies 
Rule Type 
Protocol and Ports 
Action 
Name 
When does this rule apply? 
Applies when a computer is connected to ts corporate domain 
Priv*e 
Applies when a computer is connected to a private network location such as a home 
or work place 
Public 
Applies when a computer is connected to a public network location

Give a name for the newly created rule and apply the changes.

New Inbound Rule Wizard 
Name 
Specify the name and description of this rule 
Rule Type 
Protocol and Ports 
Action 
Profile 
The KMS TCP listening portl 
Name 
Descnpt'on (optional)

Now you will be able to use your KMS server to activate Domain joined computers.