windows Hosting Blog

ASP.NET, MSSQL and Windows dedicated server articles

      

Microsoft Exchange Server

AUTHOR: Gabriel
29.10.2009

Microsoft Exchange Server :

Hello guys,

I am writing a step by step guide on complete installation of Microsoft Exchange server. I will post it here once completed, I mean shortly :)

more..
Comments Off

Enable PING on Windows 2008 server

AUTHOR: Gabriel
25.10.2009

Hello,

I am writing this article as I was unable to ping a Windows 2008 server and I wanted to add it in a monitoring system.
The monitoring system I was using a third party system which try to contact server at some specific ports, telnet and ping etc. to check connectivity.
By default Windows server 2008 comes with a firewall enabled on it which is not the case with Windows 2003  :)
There are hundreds of advanced features available in Windows 2008 firewall.
Well come to the point. To enable ping on a Windows 2008 server following are the steps :-

Login your Windows 2008 server in RDP >>
A pop up windows shown below will be appeared >>

image11

Click on “Configure Windows Firewall” present under “Customize This Server” section >>

a new pop up window will appear >>

image2

here click on “Advanced Settings” >>

a new pop up window for FireWall management will appear >>

image3

Scroll to middle and locate “File and Printer Sharing(Echo Request - ICMPv4-In)” >>

right click on “File and Printer Sharing(Echo Request - ICMPv4-In)” and selct “Enable Rule”.

Thats its :)

Now you should be able to ping your server remotely.

more..
Comments Off

Repair and Fix Windows Services

AUTHOR: Gabriel
21.10.2009

Hello,

Some times you want to start a stopped service on your server but it fail throwing warning message something like “could not start”, “dependency failed”… etc.

This may happen when your server is infected, compromised or hacked.

Windows services can be fixed easily in a quick way with the help of a batch script. This script checks for all Windows services, its dependencies and repair if found anything wrong with them.

FIX :

You have to create a .bat file say WMI.bat

Edit this file and copy following script in it.

@echo on
cd /d c:\temp
if not exist %windir%\system32\wbem goto TryInstall
cd /d %windir%\system32\wbem
net stop winmgmt
winmgmt /kill
if exist Rep_bak rd Rep_bak /s /q
rename Repository Rep_bak

net start winmgmt
goto End

:FixSrv
if /I (%1) == (wbemcntl.exe) goto SkipSrv
if /I (%1) == (wbemtest.exe) goto SkipSrv
if /I (%1) == (mofcomp.exe) goto SkipSrv
%1 /RegServer

:SkipSrv
goto End

:TryInstall
if not exist wmicore.exe goto End
wmicore /s
net start winmgmt
:End

Execute this WMI.bat file on command prompt and it will start listing the name of Windows services and their repair status.

Reboot the server once script is competed.

Hope this helps you to fix your Windows Server broken services :)

more..

In case if you are using a Plesk server with MailEnable as mail service, you get Horde webmail with it which is free.
Have you noticed, if you send an email from your account, the following message gets added at the bottom of your email.

“This message was sent using IMP, the Internet Messaging Program.”

Some users do not want to include this footer message in their outgoing emails considering as security threat :)

me

horde1

This footer message can be eliminated.

Following are the steps :

Open your IIS (Internet Information Service) >>

expand Local Server >>

locate web site entry “Webmail(Horde)” >>

right click on Webmail(Horde) and select Open >>

it will open physical location of webmail >>

here navigate imp/config/trailer.txt   file
trailer.txt is the file responsible to attach above footer in each outgoing mail.
Open this file in notepad and remove above message from it, save it and close.

Thats it :)

Above message will not be attached to your outgoing emails from now.

more..