Getting ADUC to see the Exchange 2003 Attributes on Windows Vista…

I found a post similar to this http://telnetport25.wordpress.com/2007/07/26/getting-aduc-to-see-the-exchange-2003-attributes-on-windows-vista/ which had similar steps and tried it on my Vista computer and it worked well.  Trying on my Windows 7 computer I get an error when I run the regsvr32 command.  Not sure how to resolve this for Windows 7. May look into this in the future when I need it.  Steps from the link above are copied below

Hiya Folks, most of us know that the Exchange Management Extensions for Exchange 2003 are not supported – or do not work on Windows Vista, however – there is a way that you can get the Active Directory Users and Computers Snap-in to work with Windows Vista which will allow you to manage Exchange attributes.

In this post I would like to take you through getting ADUC with the Exchange extensions to work under Windows Vista.

Firstly in order for this to work you will need;

  • A download of the Windows 2003 SP1 Adminpak.msi file, which can be obtained from:http://www.microsoft.com/downloads/details.aspx?FamilyID=c16ae515-c8f4-47ef-a1e4-a8dcbacff8e3&displaylang=en
  • Your Windows Vista computer to be a member of the domain that contains the Exchange Server that you wish to manage using ADUC
  • Be logged onto the Vista machine with an account that has permissions to administer the local machine and the domain (or modify accounts in AD)
  • You will need the following files from your Exchange Server (these may be located in theWindows\system32 folder or in the program files\exchsrvr\bin folder);
    • exchmem.dll
    • glblname.dll
    • Address.dll
    • maildsmx.dll
    • netui0.dll
    • netui1.dll
    • netui2.dll
    • pttrace.dll

Addtionally I would suggest that you copy over the “Active Directory Users and Computers.msc” file from the c:\program files\exchsrvr\bin directory on your Exchange server to a location on your machine (this will ensure that you have the latest version of the msc)

Follow the guidance from for installing the Adminpak.msi on Vista from Daniel Petri’s site, which is located here: http://www.petri.co.il/running_win_2003_adminpak_on_vista_rtm.htm

Copy all of the DLL’s mentioned above to the c:\windows\system32 folder then run the following command line regsvr32 c:\windows\system32\maildsmx.dll

You should now be able to open up the ADUC and manage users accounts as you normally would from you Windows Vista Session.

Reset Windows Local Administrator account password via GPO

#1. Create a script with the following net user command

net user “Administrator” %1

The %1 allows you to pass a parameter to the script (ie the password) so you don’t store it in a file on the server.

#2 Create a GPO and add the following script to the start up script in the computer section.  You can disable the User configuration if that is all you are doing.  When adding the startup script, make sure to enter the new password as the parameter to the script.

#3 Create an OU and apply the GPO and any others needed to the OU.

#4. Add a test computer to the new OU and reboot the test computer.

#5 Test that you can login with the new password.

Install Apache, MySQL and PHP on Windows Server 2008

These instructions were taken from here: http://www.trap17.com/index.php/Installing-Apachemysql-Php-Windows_t3364.html

Installing Apache , MySQL and PHP under Windows

Introduction
While many webservers run
Linux, Unix or BSD most personals computers run on Windows.


So it would be quite comfortable if web designers and developers could develop on their home computer.So in this E-book we will focus on configuring your computer to use Apache, MySQL and PHP, so you can work on your home computer.

Step 1: Installing Apache
Apache is one of the most common webservers in the world.You can
download and use it for free.

You can go to http://httpd.apache.org/download.cgi and download the webserver here yourself.

Make sure you download the version for Windows (Win 32) WITH installer (MSI Installer) .

There are currently 2 branches available of Apache .

Apache2 is the new branch, Apache 1.3 is the old one.I’d recommend installing the latest version of the Apache 2 branch.

When you finished downloading the installer package(somewhere around 6MB) you can install Apache. Just execute the installer and install Apache somewhere in a logical place.

Make sure Apache is installed, but this is only possible under Windows 2000 or XP.

When you install Apache as a server, a small tool called Apache Monitor is also installed.

It is somewhere in the notification area(lower right corner, near the clock).

When you double click the icon you can start/stop and restart the Apache server.

When you change something in the configuration file of Apache (called httpd.conf ) you always have to restart Apache!

When you have installed Apache you can open your web browser and surf to http://localhost/ .

You should now see the standard website from the Apache server that Apache was successfully installed.

So, your webserver is now up and running!!!! Congratulations!

If you installed Apache in the default path, you can go to “ C:\Program Files\Apache Group\Apache2\htdocs ” and place your own HTML pages there and see them by surfing to http://localhost/. If you want to write a HTML only website, you are done now.

If you also want to create more sophisticated website, let’s proceed to the next software package.

Step 2: Installing MySQL
Now on to MySQL.

MySQL is a database.You can also download this one for free.

Surf to the MySQL website : http://dev.mysql.com/downloads/ to download the latest MySQL database server.The default install path is C:\mysql .It is best to leave this default path or else you will need a whole lot of more work to get it up and running.So install MySQL in the default path.

When MySQL is installed we need to test it, right?

We need a simple way to start and stop the MySQL server.

So, let’s create a .bat file to start the MySQL server.(I assume you installed the MySQL server in the directory C:\mysql)

Open Notepad.

Enter the following text:

C:\mysql\bin\mysqld –console

Save this file as mysqlstart.bat on your desktop.

Create a new file in Notepad and enter the following text:

C:\mysql\bin\mysqladmin -u root shutdown

Save this file as mysqlstop.bat on your desktop.

If everything is right you should now be able to start your MySQL server by executing(double click) the mysqlstart.bat file and stopping it by double clicking mysqlstop.bat .

What can we now do with the MySQL server?

A lot! But let’s first install PHP.

Step 3: Installing PHP
PHP is one of the most popular scripting languages used on the Internet nowadays.

You can create anything from guestbooks and shopping carts to complete auction sites and webmail applications with this language. So , let’s install it .

Go to http://www.php.net/downloads.php and download the latest version.

Go to “Windows binaries” and then the ZIP package, not the installer.We need the ZIP package, because we installed Apache and the ZIP package works best with the Apache server.

When you finished extract the zip package into C:/php .

Now comes the most difficult part: We need to let Apache know that PHP is installed.

Rename php.ini-recommended to php.ini .

Open this php.ini file in Notepad.

Look for the following line:

doc_root =

Set this to the Apache htdocs directory:

doc_root = “C:\Program Files\PHP”

This let’s PHP know where the PHP files should be…

Now we need to let Apache know that PHP in installed.

Go to the configuration folder of Apache( :\Program Files\Apache2\conf\ ) and open httpd.conf in Notepad .

Add the following lines to the file (doesn’t really matter where, I’ll leave that up to you):

LoadModule php5_module php5apache2.dll

AddType application/x-httpd-php .php

Look for the following line:

DirectoryIndex index.html index.html.var

and add index.php to the end of the line like this:

DirectoryIndex index.html index.html.var index.php

So, now Apache knows that PHP is installed.

And now what?

Let’s see what we can do with PHP 🙂

Start Apache (or restart if you already have it running).

Open Notepad and enter the following:

<?php

echo phpinfo();

?>

Save this file as phpinfo.php in your htdocs directory (“C:\Program Files\Apache Group\Apache2\htdocs”).

If you now surf to http://localhost/phpinfo.php you should see a page that shows all the info about your PHP installation you ever want to know. This is the proof that PHP is properly working.