40 C
Dubai
Friday, May 2, 2025
Home Blog Page 74

External Email stopped with Event 7012 in Exchange 2013

Log Name: Application
Source: MSExchangeFrontEndTransport
Date: 19/01/2015 4:18:38 PM
Event ID: 7012
Task Category: Components
Level: Warning
Keywords: Classic
Computer: Exch.careexchange.in
Description:
The service state for frontend transport is inconsistent. Current state – Inactive. Expected state – Active.

 

Login to Exchange –

Start – run – services.msc – Restart

Microsoft Exchange Frontend Transport Service.

image

Deploy Office 2013 Sp1 via Group Policy to all domain joined machines

Lets see how to deploy Microsoft Office 2013 sp1 via group policy to all desktop machines

My Organizational Unit name – GPDESK

All machines are Windows 7 , As per Microsoft recommendations using Microsoft office 32 bit.

image

Step1 –

Create a folder in Domain Controller or Exchange Server –

Copy the Office2013Sp1 Setup files

Make sure Admin folder exists (If admin folder doesn’t exist – Download the ISO from Volume licensing site or Download admin folder manually)

Create a folder called logfiles in Site C:\Office2013Sp1

Now share the folder with Authenticated users –

image

Verified admin folder exists – Created log files folder

image

Step 2 –

Configuring the Config file – Edit with notepad

Locate — C:\office2013sp1\proplus.ww

image

Add below three lines in the Config file  –

 

<Display Level=”none” CompletionNotice=”no” SuppressModal=”yes” AcceptEula=”yes” />

<USERNAME Value=”Customer” />
<COMPANYNAME Value=”MyCompany” />

image

Creating a .MSP File

Start – run – C:\Office2013Sp1\setup.exe /Admin

image

Click ok

image

Choose Licensing and user interface – Enter the product key.

Choose “I accept the terms in the license agreement”

Choose Display level – none

Choose Suppress model

image

To activate automatically – Modify Setup properties –

Click ADD

Name – AUTO_ACTIVATE

Value – 1

(Skipping this step doesn’t harm anything . Office wont activated automatically)

image

Remove any unwanted components. in Set feature installation states

image

Saving the .msp file

File – Save the .msp file to – C:\Office2013sp1.msp

image

To verify all is ok as of now – Login to a test desktop machine – Open command prompt – Run as administrator

\\C-dc01\office2013sp1\setup.exe /config \\c-dc01\office2013sp1\proplus.ww\config.xml

image

==

If installation happens silently without any issues- So far – all good.

We would see how to apply this through group policy to all the machines.

Step 3 –

Applying Administrative template files

Office 2013 Administrative Template files (ADMX/ADML) and Office Customization Tool

http://www.microsoft.com/en-us/download/details.aspx?id=35554

Download the Group policy files on above link , extract them –

Copy the below .admx files from the extracted folder

paste in below location in domain controller –

%systemroot%\policydefinitions

image

Easily locate- – Start-  run – %systemroot%\policydefinitions

image

Next  – En-us folder from extracted files, Copy all .adml files paste to below location.

Start run – %systemroot%\policydefinitions\en-us

image

To locate en-US folder –

Start—Run — %systemroot%\policydefinitions\en-US

image

Creating a group policy –

Right click on the OU – Create a GPO in this domain

image

Enter the Group policy name —

Deploy Office 2013

image

========================

In my CASE it worked without disabling UAC – Please Ignore this step initially.

In — Computer Configuration – Windows Settings – Security settings – Security options –

Scroll down to the last – Edit the three policies

UAC – Behavior of the elevation prompt for administrators – Elevate without prompting

UAC – Detect application installation and prompt for elevation – Disabled

UAC – Run all administrators in Admin Approval mode -Disabled

image

=================================================

In — Computer Configuration – Windows Settings – Scripts – Startup

image

Download the .bat file – Extract from .zip

Click ADD –

image

Choose browse – And Copy the .bat file inside the folder.

image

Click ok

Click apply ok.

— In the .bat file – edit in notepad and update the below to the right location

image

After logon in all the desktop – Microsoft Office 2013 is Installed

image

Installing netfx manually on Windows server 2012 R2

image

 

The Following error has occurred:

Error while enabling Windows feature : NetFx3, Error Code : –2146498298,Please try enabling windows feature : NetFx3 from Windows Management Tools

and run the setup again.

 

Add the 2012 R2 Media – Assuming the Drive is D . Run below command in Cmd prompt – Run As Administrator

dism /online /enable-feature /featurename:netfx3 /all /source:d:\sources\sxs

Client machines whose IP addresses don’t map to any of the existing sites in the enterprise

Resolving NETLOGON event.

Log Name:      System
Source:        NETLOGON
Date:          12/31/2014 5:54:40 AM
Event ID:      5807
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      DC01.CAREEXCHANGE.LOCAL
Description:
During the past 4.25 hours there have been 75 connections to this Domain Controller from client machines whose IP addresses don’t map to any of the existing sites in the enterprise. Those clients, therefore, have undefined sites and may connect to any Domain Controller including those that are in far distant locations from the clients. A client’s site is determined by the mapping of its subnet to one of the existing sites. To move the above clients to one of the sites, please consider creating subnet object(s) covering the above IP addresses with mapping to one of the existing sites.  The names and IP addresses of the clients in question have been logged on this computer in the following log file ‘%SystemRoot%\debug\netlogon.log’ and, potentially, in the log file ‘%SystemRoot%\debug\netlogon.bak’ created if the former log becomes full. The log(s) may contain additional unrelated debugging information. To filter out the needed information, please search for lines which contain text ‘NO_CLIENT_SITE:’. The first word after this string is the client name and the second word is the client IP address. The maximum size of the log(s) is controlled by the following registry DWORD value ‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\LogFileMaxSize’; the default is 20000000 bytes.  The current maximum size is 20000000 bytes.  To set a different maximum size, create the above registry value and set the desired maximum size in bytes.

Start – Run – %SystemRoot%\debug\netlogon.log

image

Open Active Directory Sites and Services

Right Click Subnets – New Subnet

image

Enter the Missing ranges to the appropriate site.

image

Adding SPSiteURL in SharePoint 2013 site – Automation ExtendASP

Every SharePoint site you create using ExtendASP Control Panel adds the SharePoint site only to the default zone.

You need to add a HTTPS url to every site you create and place it on the internet zone , so that users external users can access it.

Open Powershell in Sharepoint 2013 Server – (Adding Sharepoint 2013 Snapin)

Add-PSSnapin Microsoft.SharePoint.PowerShell

You need to run

Set-SPSiteURL -Identity “http://demo.careexchange.in/” -Zone Internet -Url “https://demo.careexchange.in/”

 

To automate all sites to be placed on internet zone – Add a Scheduled task as below –

Save to .ps1 and run it every 5 mins

######

Add-PSSnapin Microsoft.SharePoint.PowerShell

Get-SPSite | foreach{Set-SPSiteURL -Identity $_.URL -Zone Internet -Url ($_.Url -replace “http”, “https”)}

######

Note – if you want to skip any sites from not applying this in the same sharepoint server – Like default sites

#####

Add-PSSnapin Microsoft.SharePoint.PowerShell

Get-SPSite | Where-Object{($_.Url -notlike “http://defaultsite1”) -and ($_.Url -notlike “http://defaultsite2”) -and ($_.Url –notlike http://defaultsite3.domain.com)} | foreach{Set-SPSiteURL -Identity $_.URL -Zone Internet -Url ($_.Url -replace “http”, “https”)}

#####

Server Manager error in Windows 2008 R2 – Unexpected error refreshing server manager – 0x800F0900

image

Download – Windows System Update Readiness tool using below link

http://support.microsoft.com/kB/947821

Run it, Its going to Run for some time.

Open Log location – C:\Windows\Logs\CBSS

Open CheckSUR file

image

Open Log file

See Unavailable repair files in the bottom of the log file.

 

image

Get the Unavailable repair files from a similar patched system. Take a backup and paste it .
C:\Windows\winsxs\manifests\amd64_microsoft-windows-p..age-codec.resources_31bf3856ad364e35_7.1.7601.16492_pt-br_005a92b13dbbf723.manifest
C:\Windows\winsxs\manifests\amd64_microsoft-windows-p..age-codec.resources_31bf3856ad364e35_7.1.7601.16492_pl-pl_fe06a80d3f32633f.manifest
C:\Windows\servicing\packages\Microsoft-Windows-ApplicationServer-BPA-Package-TopLevel~31bf3856ad364e35~amd64~~7.1.7600.16400.mum
C:\Windows\servicing\packages\Microsoft-Windows-ApplicationServer-BPA-Package-TopLevel~31bf3856ad364e35~amd64~~7.1.7600.16400.cat

 

You need to take ownership of the files and have full control over the files so that system will allow you to copy and paste it .

Properties of the File – Security – Advanced – Owner – Choose the Owner – Click ok apply.

 

No reboot required for this process.

× How can I help you?