Install VMwareTools on Linux running on ESXi 4.0

If you install Linux in a virtual Machine on ESXi 4.0 you should install the VMwareTools. This is not a task that you can do as easy as on windows. You’ll have to copy the install files to your machine and install them manually.

There is a List of tasks you’ll have to do to install the VMwareTools.

First you’ll have to prepare your installation of Linux for the installation by executing this command.
aptitude install autoconf automake binutils cpp gcc linux-headers-$(uname -r) make psmisc
After this is finished you should push the installation in the console.

this will copy the installation files so you can mount them in the next step to your virtual cd drive. This is done by using the following command.
mount /dev/cdrom /mnt
then you’ll have to copy the files from the cd to your virtual disk. And by extracting them.
cp /mnt/VMwareTools-4.0.0-208167.tar.gz /root
cd /root
tar xvf VMwareTools-4.0.0-208167.tar.gz

To start the installation do the following
cd vmware-tools-distrib/
./vmware-install.pl

Then follow the instructions on the screen to install the Tools.

Install OpenSSH-Server on Linux

if you are a linux dummy as me you might wonder how to install an ssh server on your Linux box.

I had to learn this is an easy task that can be performed by just entering the following command.

apt-get install openssh-server

This will download the package and install the service for Open SSH. after that you are able to access your server via Putty SSH or any other SSH Client.

Renew Self Signed Certificate on Exchange 2007

After a self signed certificate that exchange creates when Exchange Server is installed has expired, you’ll have to renew the certificate on the Hub Transport and on the Edge Server if there is one.

You know you’ll have to do this if you find the following error in the eventlog of the Exchange Server.

Log Name: Application
Source: MSExchangeTransport
Date: 24.08.2010 10:48:21
Event ID: 12019
Task Category: TransportService
Level: Error
Keywords: Classic
User: N/A
Computer: server.domain.local
Description:
The remote internal transport certificate expired. Certificate subject: CN=edge.

To view the currently installed certificate use the Get-ExchangeCertificate ¦ List cmdlet
To create a new certificate you should use the New-ExchangeCertificate cmdlet.

You’ll have to create a new certificate on the Hub Transport as well as on the Edge server. You’ll have to re rebuild the EdgeSubscription on the Hub Transport server.

You can follow the instructions on the following page. Here
The Microsoft Event Description can be found on the following page. Here

DVD Drive not in Explorer

What to do if the DVD drive is no longer available in Explorer?

Check device manager, it might be that there is an error on the device. If there is an error with Code 19, you’ll have to change the following:

open regedit
navigate to
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Class \ {4D36E965-E325-11CE-BFC1-08002BE10318}
there you’ll find “LowerFilters” and/or “UpperFilters”
delete these two keys and reboot the system

The DVD drive will be recognized as a new device and can be installed again. It will work properly after that re-installation.

Check if your CPU supports 64Bit

What to do if you have to check if a remote system that’s running with 32Bit Windows would also support 64Bit?
The easiest way to do this is to download the application CPU-Z, this freeware application works on various windows based systems, even on server systems.
The application will then read out the informations on your CPU and you can see if the CPU supports EM64T.
Check the Link for further Informations and Download.

Error installing Update KB974417

Symptom: On Windows XP machine update KB974417 cannot be installed and fails with the warning that it does not apply to any installed product.
Problem: There is another update that blocks the installation.
Solution: Uninstall Update KB976569 in add and remove software. You will find the update when showing updates in the list under .NET Framework 2.0 Service Pack 2. After uninstalling, you’ll have to reboot the computer. Install the KB974417 before reinstalling KB976569. In the end both updates will be installed.
Link to original article: Here

Disable Windows Firewall via GPO

Problem: All clients in the network have windows firewall enabled. This may cause problems with the anti-virus to update the clients.
Solution: Disable all firewall services on the clients.
HowTo: Create a GPO that disables every computers windows firewall. You can find an article describing exactly how to do so can be found here.
Additional Info: By doing the stuff described in the link above, the service of the windows firewall is still running. You’ll have to deactivate the service via GPO as well. To do so, go to the group policy editor and ad the following entry: Computer Configuration\Control Panel Settings\Services. Add an entry for the windows firewall service. If your clients use windows XP you have to add an entry for a service called SharedAccess Start type should be set to Disabled. You might also configure to stop the service if it’s still running. If your clients are using windows 7 the service name would be MpsSvc.

sage50 and Windows 7

Problem: sage50 installation fails on Windows 7
Reason: If you start the setup.exe on the DVD, the installation starts with the installation of pervasive database engine before installing sage50.
Solution: Go to the DVD, copy the complete pervasive directory to you local disc. Search the directory for a file called ptksetup.ini then search for the following row:

;PVSW_PSQL_INSTALL_XIO=1

replace 1 by 0 and remove the semicolon in front

PVSW_PSQL_INSTALL_XIO=0

then run the Installation of the pervasive database server out of the directory that you copied earlier.
after the installation is finished, go to the DVD again and start setup.exe. The installation will then work and the program can be used without any problems.

Have fun!

Server Performance Windows Server 2008 (Websites / RDP)

Problem: If you have a web-server with Server 2008 as operating system, you may experience very slow connections to the hosted website and errors in rdp sessions saying that there was a protocol error.
Reason: In Server 2008 IPv6 is enabled by default. This may lead to connection problems and unavailability of hosted services from other systems.
Solution: To solve these problems disable IPv6 on the server.
Attention: If you just uncheck the IPv6 check-box on your network card, you do not disable IPv6. To do so open registry go to the following hive HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\. There should be a key called “DisabledComponents” if so change it’s value to “FF” in hex. If it does not exist, create a new DWORD Key with the value “FF” After you did so, reboot the server and check if the performace has increased.

Source: Microsoft KB Article