Monthly Archives: October 2012

Make Exchange tabs available in AD users and computers without the Exchange CD

No matter how many times I’ve done this, I can’t seem to remember how when I need to do it again, so here it is. When the Admin pack is installed on a workstation, the AD users and computers MMC does not include the exchange tools plugin. This means that you don’t see the Exchange tabs on user object properties in Active Directory. You can download the admin tools from http://support.microsoft.com/kb/304718 . After that you could install the Exchange management tools from the Exchange CD…or you could just get the piece that you’re looking for by doing the following:

From the Exchange 2003 server in ‘\Program Files\ExchSrvr\Bin’ copy the following to your local system32.
address.dll
escprint.dll
exchmem.dll
gblname.dll
maildsmx.dll
pttrace.dll

cd to \program files\exchsrvr\bin
regsvr32 /i maildsmx.dll

Advertisements

Leave a comment

Filed under Uncategorized

Setting your default printer in a Remote App

RemoteApps in windows are great. They let us manipulate the application environment easier and audit activity related to an application in a controlled geography. With more than one environment I have had reasons why the use of printer redirection was not ideal for an application and it needed to be shut off. In most cases we can predict or manage the printer settings for users in that scenario and use scripts to set the default printer based on a predefined security group of the user or the connecting computer. However, there are cases where you need a user to not have their default printer dictated to them, the application being published doesn’t allow you to change the default printer, the users are not permitted to open devices and printers on the RD server, and the users are not grouped in a way that makes their default printer assignment realistic.
This seems farfetched, right? Well, I have now run into two environments where these were all requirements.. So now the second time I’ve had to do this for a customer I should document it.
There isn’t any great breakthrough here, but I had to put some time into writing this so I thought that it may help somebody else out.
What I needed was a published RemoteApp that would let the user set their default printer for their session and would take affect immediately. I’m using VB in an hta file to create the form so it is not precompiled. To get the printers on the RD server we are using WMI. I am assuming better than W2000.

*******Edit attachment*****

A few people a month were asking me to send them this file directly, because they weren’t able to open from wordpress.

The PDF contains the text for the .hta file.

Selectprinter

3 Comments

Filed under RD Gateway