Step by step Install SKYPE FOR BUSINESS SERVER 2016

December 26, 2016

Install Skype for Business Server on server with SQL DB has separate DB server.

Skype for Business Server 2016 – Front End Server installation.

OS = Windows 2012 R2 Standard.

 

Open Powershell and put this command.

 

PS C:\Windows\System32> Add-WindowsFeature NET-Framework-Core, RSAT-ADDS, Windows-Identity-Foundation, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Dir-Browsing, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Dyn-Compression, NET-WCF-HTTP-Activation45, Web-Asp-Net45, Web-Mgmt-Tools, Web-Scripting-Tools, Web-Mgmt-Compat, Server-Media-Foundation, BITS -Source D:\sources\sxs

 

2016-09-22_123818

2016-09-22_123836

2016-09-22_124002

2016-09-22_125515

2016-09-22_125533

2016-09-22_125610

2016-09-22_125621

2016-09-22_130004

2016-09-22_130014

2016-09-22_130021

2016-09-22_130116

2016-09-22_130138

2016-09-22_130146

2016-09-22_130207

2016-09-22_130320

2016-09-22_130328

2016-09-22_130340

2016-09-22_130403

2016-09-22_130422

2016-09-22_130503

2016-09-22_130529

2016-09-22_130535

2016-09-22_130544

2016-09-22_133815

2016-09-22_133829

2016-09-22_133846

2016-09-22_133852

2016-09-22_134044

2016-09-22_134055

2016-09-22_134143

2016-09-22_134150

2016-09-22_134351

2016-09-22_134356

2016-09-22_134503

2016-09-22_134538

2016-09-22_134541

2016-09-22_134609

2016-09-22_134712

2016-09-22_134743

2016-09-22_134756

2016-09-22_134802

2016-09-22_134822

2016-09-22_134903

2016-09-22_134949

2016-09-22_135221

2016-09-22_135224

2016-09-22_135442

2016-09-22_135600

2016-09-22_135617

2016-09-25_094311

2016-09-25_094318

2016-09-25_094420

2016-09-25_094512

2016-09-25_094523

2016-09-25_094530

 

2016-09-25_094551

2016-09-25_102152

2016-09-25_102254

2016-09-25_103803

2016-10-10_120414

2016-10-10_120421

2016-10-10_120434

2016-10-10_120501

2016-10-10_121452

2016-10-10_124054

2016-10-10_124111

2016-10-10_124220

2016-10-10_124323

2016-10-10_124536

2016-10-10_125635

2016-10-10_125646

2016-10-10_125657

2016-10-10_125711

2016-10-10_125926

2016-10-10_125949

2016-10-10_130016

2016-10-10_130546

2016-10-10_130555

2016-10-10_132113

 

 

Thanks 🙂 🙂 🙂 !!!

 


Extend volume size in Windows 2012 R2 error “the parameter is incorrect”

July 13, 2021

🙂

Solution:

Open command prompt

Type “diskpart”

Type “list volume”

Type “select volume #”

Type “extend filesystem”

Exit

Thanks 🙂


Upgrade Exchange 2013 CU15 to CU23

June 2, 2021

PREREQUISITE

Disable Antivirus

Disable Monitoring 3rd party services… in my case Solarwind

INSTALLTION PROCEDURE

Install .Net 4.7.2
\\FileServer\Exchange\setup.exe PrepareSchema /IAcceptExchangeServerLicenseTerms
\\FileServer\Exchange\setup.exe PrepareAD /IAcceptExchangeServerLicenseTerms
\\FileServer\Exchange\setup.exe PrepareDomain /IAcceptExchangeServerLicenseTerms

INSTALLATION COMMAND

\\FileServer\Exchange\setup.exe /Mode:Upgrade /IAcceptExchangeServerLicenseTerms

REBOOT SERVER.

*

*

Thanks,

Kabeer.


Exchange 2013 CU23 upgrade error: cannot stop tmlisten service on computer.

June 2, 2021

Error:

Solution:

Antivirus Trend Micro service is running on this Server. Stop or Uninstalled Antivirus during Upgrade.

*

&

Thanks.


Exchange 2013 CU23 failed cannot find path \V15\UnifiedMessaging\grammars because it does not exist

June 2, 2021

Error:

Microsoft Exchange Server 2013 Cumulative Update 23 Unattended Setup

C:\Windows\System32>\\mailserver1\exchange2013CU23\ setup.exe /mode:upgrade /iacceptexchangeserverlicenseterms

Microsoft Exchange Server 2013 Cumulative Update 23 Unattended Setup

Copying Files...
File copy complete. Setup will now collect additional information needed for
installation.
Mailbox role: Transport service
Client Access role: Front End Transport service
Mailbox role: Client Access service
Mailbox role: Unified Messaging service
Mailbox role: Mailbox service
Management tools
Client Access role: Client Access Front End service

Performing Microsoft Exchange Server Prerequisite Check

    Configuring Prerequisites                                 COMPLETED
    Prerequisite Analysis                                     COMPLETED

Configuring Microsoft Exchange Server

    Restoring Services                                        COMPLETED
    Mailbox role: Transport service                           COMPLETED
    Client Access role: Front End Transport service           COMPLETED
    Mailbox role: Client Access service                       COMPLETED
    Mailbox role: Unified Messaging service                   FAILED
     The following error was generated when "$error.Clear();
          $grammarPath = join-path $RoleInstallPath "UnifiedMessaging\grammars\*
";

          $dirs = get-item $grammarPath;

          foreach($d in $dirs)
          {
                  if($d -isnot [System.IO.DirectoryInfo])
                  {
                    continue;
                  }

            $path1 = $d.FullName + "\*";

            $items = get-item $path1 -include *.cfg;

            if($items -ne $null)
            {
              foreach($i in $items)
              {
                remove-item $i;
              }
            }
          }
        " was run: "System.Management.Automation.ItemNotFoundException: Cannot f
ind path 'C:\Program Files\Microsoft\Exchange Server\V15\UnifiedMessaging\gramma
rs' because it does not exist.
   at System.Management.Automation.LocationGlobber.ExpandMshGlobPath(String path
, Boolean allowNonexistingPaths, PSDriveInfo drive, ContainerCmdletProvider prov
ider, CmdletProviderContext context)
   at System.Management.Automation.LocationGlobber.ResolveDriveQualifiedPath(Str
ing path, CmdletProviderContext context, Boolean allowNonexistingPaths, CmdletPr
ovider& providerInstance)
   at System.Management.Automation.LocationGlobber.GetGlobbedMonadPathsFromMonad
Path(String path, Boolean allowNonexistingPaths, CmdletProviderContext context,
CmdletProvider& providerInstance)
   at System.Management.Automation.LocationGlobber.GetGlobbedProviderPathsFromMo
nadPath(String path, Boolean allowNonexistingPaths, CmdletProviderContext contex
t, ProviderInfo& provider, CmdletProvider& providerInstance)
   at System.Management.Automation.LocationGlobber.GetChildNamesInDir(String dir
, String leafElement, Boolean getAllContainers, CmdletProviderContext context, B
oolean dirIsProviderPath, PSDriveInfo drive, ContainerCmdletProvider provider, S
tring& modifiedDirPath)
   at System.Management.Automation.LocationGlobber.GenerateNewPSPathsWithGlobLea
f(StringCollection currentDirs, PSDriveInfo drive, String leafElement, Boolean i
sLastLeaf, ContainerCmdletProvider provider, CmdletProviderContext context)
   at System.Management.Automation.LocationGlobber.ExpandMshGlobPath(String path
, Boolean allowNonexistingPaths, PSDriveInfo drive, ContainerCmdletProvider prov
ider, CmdletProviderContext context)
   at System.Management.Automation.LocationGlobber.ResolveDriveQualifiedPath(Str
ing path, CmdletProviderContext context, Boolean allowNonexistingPaths, CmdletPr
ovider& providerInstance)
   at System.Management.Automation.LocationGlobber.GetGlobbedMonadPathsFromMonad
Path(String path, Boolean allowNonexistingPaths, CmdletProviderContext context,
CmdletProvider& providerInstance)
   at System.Management.Automation.LocationGlobber.GetGlobbedProviderPathsFromMo
nadPath(String path, Boolean allowNonexistingPaths, CmdletProviderContext contex
t, ProviderInfo& provider, CmdletProvider& providerInstance)
   at System.Management.Automation.SessionStateInternal.GetItem(String[] paths,
CmdletProviderContext context)
   at Microsoft.PowerShell.Commands.GetItemCommand.ProcessRecord()".


The Exchange Server setup operation didn't complete. More details can be found
in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.


C:\Windows\System32>
C:\Windows\System32>
C:\Windows\System32>

Solution

Create folder by name “grammars” in the path D:\Program Files\Microsoft\Exchange Server\V15\UnifiedMessaging\ and restart the CU installation again.

Note:- D:\ is my installation path for exchange installation.For you may be different.

@

Thanks,

Kabeer.


Install new Re-Issue public ssl Certificate on Microsoft Exchange 2013/2016/2019.

May 14, 2020

 

Download Certificate bundle from public cert provider usually it downloaded in zip format with 3 files.

  1. Root.crt
  2. Intermediate.crt
  3. ServerCertificate.crt

 

Type below commands to Install New updated certificates.

certutil -addstore my ServerCertificate.crt (or .cer)
certutil -addstore ca intermediate.crt (or .cer)

Note: All of the commands should complete successfully with the following message: CertUtil: -addstore command completed successfully.

Open a Windows Explorer window, browse location that copied certificates double-click the file ServerCertificate.crt.

On the certificate information window that opens, select the Details tab, scroll down and select the Thumbprint field from the list.

The Thumbprint will appear in the box below; select the thumbprint and copy to clipboard (click anywhere in the box, then press Ctrl+A followed by Ctrl+C on the keyboard)

Return to the command prompt window and run the following command – paste in the thumbprint as indicated:

certutil -repairstore my "Thumbprint"

The command should similar to:

certutil -repairstore my "00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f"

 

If the command completes successfully, the following message will appear:

CertUtil: -repairstore command completed successfully.

 

Thanks 🙂 🙂 🙂

Kabeer.


vCenter “Virtual machine(s) invalid”

May 8, 2018

 

vCenter “Virtual machine(s) invalid”

 

  1. Check VM is hosted at which ESXi server.
  2. Login to ESXi server using SSH (example using Putty).
  3. check “Invalid VM” only using grep command vim-cmd vmsvc/getallvms | grep invalid 

    Invalid VM UPDATE

  4. Note three/four digit VM ID number(189) for the VM you wish to repair
  5. Type the reload command, to replace <VM ID> vim-cmd vmsvc/reload <VM ID>

  6. Virtual Machine will be Back to normal and PowerON hidden button start appear.
  7. PowerON virtual machine.

 

Thanks.

🙂

 


Installing Dell EQL MEM – ESXCLI

January 11, 2018

Installing Dell EQL MEM – ESXCLI Command

Prerequisite:

  • Download Mem-file from Dell Equallogic portal “dell-eql-mem-esx6-1.5.0.437336.zip”.
  • Copy on desire ESX server to execute it.

 

On Putty – Execute following

[root@esx05:~] esxcli software vib install –depot /vmfs/volumes/datastore1/dell-eql-mem-esx6-1.5.0.437336.zip
Installation Result
Message: Operation finished successfully.
Reboot Required: false
VIBs Installed: Dell_bootbank_dell-eql-host-connection-mgr_1.5.0-437336, Dell_bootbank_dell-eql-hostprofile_1.5.0-437336, Dell_bootbank_dell-eql-routed-psp_1.5.0-437336
VIBs Removed:
VIBs Skipped:
[root@esx05:~]

 

1

 

 

Thanks 🙂

 

 

 


Allow ui for web client ESXi6, ESXi5.5 by Installing VIB file on ESXi

December 27, 2017

 

Allow ui (user interface) for web client ESXi6, ESXi5.5 and etc.

 

VIB Files

 

[root@VM-MGMT:~]

[root@VM-MGMT:~] esxcli software vib install -v /vmfs/volumes/DataStore-RackServer/VMware_bootbank_esx-ui_1.24.0-7119706.vib

Installation Result

Message: Operation finished successfully.

Reboot Required: false

VIBs Installed: VMware_bootbank_esx-ui_1.24.0-7119706

VIBs Removed:

VIBs Skipped:

[root@VM-MGMT:~]

 


Dell Equallogic – Configure iSCSI SAN @ ESXi using VMware vSphere CLI

December 25, 2017

 

Configure iSCSI SAN for Dell Equallogic PS series @ ESXi using VMware vSphere CLI

 

 

C:\>cd “Program Files (x86)\VMware\VMware vSphere CLI\bin”

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>setup.pl –configure –server=192.168.1.11

You must provide the username and password for the server.

Enter username: root

Enter password:

Do you wish to use a standard vSwitch or a vNetwork Distributed Switch (vSwitch/vDS) [vSwitch]:

Found existing switches vSwitch0, vSwitch1, vSwitch3.

vSwitch Name [vSwitchISCSI]:

Which nics do you wish to use for iSCSI traffic? [vmnic0 vmnic1 vmnic10 vmnic11 vmnic2 vmnic3]: vmnic2,vmnic3

IP address for vmknic using nic vmnic2: 10.10.10.11

IP address for vmknic using nic vmnic3: 10.10.10.12

Netmask for all vmknics [255.255.255.0]:

What MTU do you wish to use for iSCSI vSwitches and vmknics?  Before increasing

the MTU, verify the setting is supported by your NICs and network switches. [1500]: 9000

What prefix should be used when creating VMKernel Portgroups? [iSCSI]:

What VLanId do you wish to use for Portgroup for vSwitch to be configured [0]:

Do you wish to use SW iSCSI or HW iSCSI? (sw/hw) [SW]: HW

What PS Group IP address would you like to add as a Send Target discovery address (optional)?: 100.101.102.11

What CHAP user would you like to use to connect to volumes on this group (optional)?:

Would you like to apply Dell EqualLogic best practice settings to the iSCSI adapters?  See the Installation and User Guide for more information on the settings that will be applied. [yes]:

Configuring iSCSI networking with following settings:

Using a standard vSwitch ‘vSwitchISCSI’

Using NICs ‘vmnic2,vmnic3’

Using IP addresses ‘10.10.10.11,10.10.10.12’

Using netmask ‘255.255.255.0’

Using MTU ‘9000’

Using prefix ‘iSCSI’ for VMKernel Portgroups

Using HW iSCSI initiator

Adding PS Series Group IP ‘100.101.102.11’ to Send Targets discovery list. Applying best practice configuration settings

The following command line can be used to perform this configuration:

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\setup.pl –configure –server=192.168.1.11 –vswitch=vSwitchISCSI –mtu=9000 –nics=vmnic2,vmnic3 –ips=172.16.1.21,172.16.1.22 –vlanid=0 –netmask=255.255.255.0 –vmkernel=iSCSI –groupip=100.101.102.11 –bestpractices

Do you wish to proceed with configuration? [yes]: Cambridge English:

The answer must be ‘yes’ or ‘no’

Do you wish to proceed with configuration? [yes]: Advanced (CAE)*

Do you wish to proceed with configuration? [yes]:

Configuring networking for iSCSI multipathing:

vswitch = vSwitchISCSI

mtu = 9000

nics = vmnic2 vmnic3

ips = 172.16.1.21 172.16.1.22

netmask = 255.255.255.0

vmkernel = iSCSI

EQL group IP = 172.16.1.11

bestpractices = 1

Creating vSwitch vSwitchISCSI.

Setting vSwitch MTU to 9000.

Creating portgroup iSCSI0 on vSwitch vSwitchISCSI.

Assigning IP address 172.16.1.21 to iSCSI0.

Creating portgroup iSCSI1 on vSwitch vSwitchISCSI.

Assigning IP address 172.16.1.22 to iSCSI1.

Creating new bridge.

Adding uplink vmnic2 to vSwitchISCSI.

Adding uplink vmnic3 to vSwitchISCSI.

Setting new uplinks for vSwitchISCSI.

Setting uplink for iSCSI0 to vmnic2.

Setting uplink for iSCSI1 to vmnic3.

vmk3 is not usable for port binding with vmhba37, skipping.

Bound vmk3 to vmhba36.

Bound vmk4 to vmhba37.

Set SATP Host System Best Practices.

Checking global HBA settings for adapter vmhba37.

Updating DelayedAck from true to false

Updating LoginTimeout from 5 to 60

Checking global HBA settings for adapter vmhba36.

Updating DelayedAck from true to false

Updating LoginTimeout from 5 to 60

Refreshing host storage system.

Adding discovery address 172.16.1.11 to storage adapter vmhba37.

Adding discovery address 172.16.1.11 to storage adapter vmhba36.

Rescanning all HBAs.

Network configuration finished successfully.

No Dell EqualLogic Multipathing Extension Module found.

Continue your setup by installing the module with the –install option or through vCenter Update Manager.

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>


How to install vSphere vCLI 6.0

December 13, 2017

Install VMware-vSphere-CLI-6.5.0-4566394 

 

I have face new challenges with vmware vsphere cli, while using it on new fresh installation of windows 10 laptop.

Basics or prerequisite from VMware vSphere CLI guide i forget and start scratching google and digging other blogs that consumed more than couple of hours.

 

VMware vsphere VCLI guide… clearly provide a pre-requiste and it states that;

Pre-requisite

Pre-requiste for windows;

Install Visual C++ 2008 redistributable for 32-bit.
ActivePerl or Strawberry Perl version 5.14

Install VMware vSphere vCLI software;

Download software from vmware (my version : VMware-vSphere-CLI-6.5.0-4566394)
Install software  VMware vSphere CLI

 

Post Installation issues with Scripts:

after installing a file as well when try to connect to my ESXi server to install Dell Equallogic MEM files.

Download MEM files and keep it in C:\ folder MEM, use script give error:

Error without directory

SOLUTION:

CHANGE DIRECTORY TO vCLI installation of bin drive

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>

Copy SETUP.PL on this path for Dell Equallogic MEM

WORKING WITH DIRECTORY

 

ISCSI configuration with best practices working.

 

Thanks,

Kabeer Siddiqui.