<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4754853379803618937</id><updated>2012-02-16T08:09:44.741Z</updated><category term='Offline Address Book'/><category term='BitLocker To Go'/><category term='Remote Domains Message Settings'/><category term='URL redirect'/><category term='Recipients'/><category term='SQL'/><category term='Powershell'/><category term='Edge Server'/><category term='cluster'/><category term='Outlook'/><category term='Recover Deleted Messages'/><category term='Remote Desktop Web Access'/><category term='CA'/><category term='Exchange site link costs'/><category term='Queues'/><category term='Single Item Recovery'/><category term='Custom Recipient Filter'/><category term='Powershell Server Core'/><category term='Client Access Servers'/><category term='SAN Certificates'/><category term='Site Topology'/><category term='Remote Desktop Services'/><category term='VPN'/><category term='Mobile Devices'/><category term='Segmentation'/><category term='Outlook Anywhere'/><category term='Backup'/><category term='Message Retention Compliance'/><category term='Forefront Protection for Exchange 2010'/><category term='Remote Desktop Virtualization Host'/><category term='NLB'/><category term='Certificates'/><category term='RDS Pt1'/><category term='WSUS'/><category term='hub transport'/><category term='connectors'/><category term='ReplayLagTime'/><category term='Forefront'/><category term='RDS Farm'/><category term='RDS Pt4'/><category term='OAB'/><category term='accepted domains'/><category term='0x80092013'/><category term='Recovery Storage Groups'/><category term='Server Core'/><category term='Redundency'/><category term='Windows 7'/><category term='linux'/><category term='Distribution Groups'/><category term='RDS'/><category term='Remote Management'/><category term='RDS Pt2'/><category term='Database Management'/><category term='The Client Access Server Role Pt1'/><category term='Retention Tags'/><category term='Updates'/><category term='OWA'/><category term='Remote Desktop Session Host'/><category term='Creating a database'/><category term='VDI'/><category term='Client Configuration File'/><category term='OCSP'/><category term='Address Lists'/><category term='Hyper-V'/><category term='WinRM'/><category term='iSCSI'/><category term='Citrix'/><category term='Archive'/><category term='Exchange 2010 Performing Database Management'/><category term='FSRM'/><category term='Managed Folders'/><category term='Transport Rules'/><category term='Server 2008 Windows Server Backup'/><category term='RDS Pt3'/><category term='asterisk'/><category term='Email Address Policies'/><category term='Legal Hold'/><category term='Remote Powershell and Exchange'/><category term='Dynamic Distribution Groups'/><category term='Remote Desktop Connection Broker'/><category term='RBAC'/><category term='Active Directory'/><category term='Journaling'/><category term='SSTP'/><category term='Internet mail routing'/><category term='ssl'/><category term='oofs'/><category term='ActiveSync'/><category term='Circular Logging'/><category term='Exchange 2010'/><category term='Installing Exchange 2010'/><category term='BitLocker'/><category term='Internal mail routing'/><title type='text'>Compulinx Training Exchange 2010 and Server 2008 R2 Training</title><subtitle type='html'>MCSE,MCITP,MCT,MCTS</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>75</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-1742942801237701896</id><published>2011-09-09T11:27:00.001+01:00</published><updated>2011-09-09T16:27:14.159+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Citrix'/><title type='text'>Citrix XenApp6 Discovery Fails “Errors occurred when using CTXS-XA1 in the discovery process” An Unexpected Error Occurred</title><content type='html'>&lt;p&gt;&lt;font color="#cccccc"&gt;&lt;a href="http://lh3.ggpht.com/-lS6oRBgP6K0/TmowTwztdHI/AAAAAAAAAgA/hDRdkmHtdvk/s1600-h/xenapp6discoveryfails2%25255B3%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="xenapp6discoveryfails2" border="0" alt="xenapp6discoveryfails2" src="http://lh5.ggpht.com/-Jl5Aphz13Fo/TmowUadlVOI/AAAAAAAAAgE/N43JKBBzo44/xenapp6discoveryfails2_thumb%25255B1%25255D.png?imgmax=800" width="240" height="201"&gt;&lt;/a&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#cccccc"&gt;This error may appear when you try to run the discovery process using the Xenapp6 evaluation VHD. I was using the VHD on Hyper-V and decided to change over to VMWare VSphere. I managed to convert the virtual machine to be used on VMWare (using the Standalone Converter &lt;/font&gt;&lt;a title="http://downloads.vmware.com/d/info/infrastructure_operations_management/vmware_vcenter_converter_standalone/5_0" href="http://downloads.vmware.com/d/info/infrastructure_operations_management/vmware_vcenter_converter_standalone/5_0"&gt;&lt;font color="#cccccc"&gt;http://downloads.vmware.com/d/info/infrastructure_operations_management/vmware_vcenter_converter_standalone/5_0&lt;/font&gt;&lt;/a&gt;&lt;font color="#cccccc"&gt;). That worked fine but the problems started when trying to use XenApp 6 on a VM hosted on Vsphere. I tried using the local Administrator account (the one used to create the original image) but could not run the discovery process using Citrix Delivery Services Console. I then tried this:&lt;/font&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;font color="#cccccc"&gt;Logon as the local Administrator&lt;/font&gt;  &lt;li&gt;&lt;font color="#cccccc"&gt;Try to run the discovery process&lt;/font&gt;  &lt;li&gt;&lt;font color="#cccccc"&gt;If it fails (as it did for me) open a command console&lt;/font&gt;  &lt;li&gt;&lt;font color="#cccccc"&gt;Change directory to the following path: &lt;strong&gt;C:\Program Files (x86)\Citrix\Independent Management Architecture&lt;/strong&gt;&lt;/font&gt;  &lt;li&gt;&lt;font color="#cccccc"&gt;Type the following command: &lt;/font&gt;&lt;font color="#f79646"&gt;dsmaint config /user:administrator /pwd:Evaluation1 /dsn:"c:\Program Files (x86)\Citrix\Independent Management Architecture\mf20.dsn"&lt;/font&gt;  &lt;li&gt;&lt;strong&gt;&lt;font color="#cccccc"&gt;For the password use your local administrator account password&lt;/font&gt;&lt;/strong&gt;  &lt;li&gt;&lt;font color="#cccccc"&gt;You will see the following output: &lt;/font&gt; &lt;p&gt;&lt;font color="#cccccc"&gt;Attempting to connect to the data store with new configuration settings.&lt;br&gt;Successfully connected to the data store.&lt;br&gt;Configuration successfully changed.&lt;br&gt;Please restart the IMA Service for changes to take effect.&lt;/font&gt; &lt;/p&gt; &lt;li&gt;&lt;font color="#cccccc"&gt;Open Services in Admin Tools and &lt;strong&gt;stop&lt;/strong&gt; the Citrix Independent Management Architecture&lt;/font&gt;  &lt;li&gt;&lt;font color="#cccccc"&gt;Using the same command console type the following command&lt;/font&gt;&lt;font color="#f79646"&gt;: dsmaint recreatelhc&lt;/font&gt;  &lt;li&gt;&lt;font color="#cccccc"&gt;Now restart the Citrix Independent Management Architecture service&lt;/font&gt;  &lt;li&gt;&lt;font color="#000000"&gt;&lt;font color="#cccccc"&gt;Try the discovery process again and it should work&lt;/font&gt;!&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-1742942801237701896?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/1742942801237701896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/09/citrix-xenapp6-discovery-fails-errors.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1742942801237701896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1742942801237701896'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/09/citrix-xenapp6-discovery-fails-errors.html' title='Citrix XenApp6 Discovery Fails “Errors occurred when using CTXS-XA1 in the discovery process” An Unexpected Error Occurred'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/-Jl5Aphz13Fo/TmowUadlVOI/AAAAAAAAAgE/N43JKBBzo44/s72-c/xenapp6discoveryfails2_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-6658928784357193104</id><published>2011-09-08T09:37:00.001+01:00</published><updated>2011-09-09T12:59:38.424+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Citrix'/><title type='text'>Reset Licence Administration Console Password Citrix XenApp 6</title><content type='html'>&lt;p&gt;If you need to change the administration account (Admin) for Citrix XenApp 6, try the following steps:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Locate the Server.xml file (C:\Program Files (x86)\Citrix\Licensing\LS\conf)  &lt;li&gt;Edit with WordPad  &lt;li&gt;Locate the following entry &lt;font color="#f79646"&gt;&amp;lt;user firstName="System" id="admin" lastName="Administrator" password&lt;/font&gt;  &lt;li&gt;Delete the encrypted password between quotation marks  &lt;li&gt;Replace with a clear text password of your choice  &lt;li&gt;Set &lt;font color="#f79646"&gt;passwordExpired&lt;/font&gt; to True  &lt;li&gt;Save the xml file  &lt;li&gt;Restart the Citrix Licensing service  &lt;li&gt;Open the Licence Administration console once more and select Administration  &lt;li&gt;Logon using using the new password. You will be requested to change the password.  &lt;li&gt;Hey Presto!&lt;/li&gt;&lt;/ol&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-6658928784357193104?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/6658928784357193104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/09/reset-licence-administration-console.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/6658928784357193104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/6658928784357193104'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/09/reset-licence-administration-console.html' title='Reset Licence Administration Console Password Citrix XenApp 6'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-7651101113432074051</id><published>2011-09-04T19:00:00.001+01:00</published><updated>2011-09-09T13:00:35.945+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Citrix'/><title type='text'>Citrix XenApp 6 Fundamentals Installation Has Failed</title><content type='html'>&lt;p&gt;I had a problem installing XenApp Fundamentals. During the installation process I received an installation error that indicated that the installation had failed and that I should check the ‘Citrix Access Essentials Install Log.txt’&lt;/p&gt; &lt;p&gt;I presumed that installing the program on Server 2008 R2 would be enough. However the setup that finally worked for me was as follows:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Install a fresh 2008 R2 member server  &lt;li&gt;Do not install any roles, features or Windows updates  &lt;li&gt;Configure the correct network settings  &lt;li&gt;Disable the firewall (I prefer this but you may not be able to!)  &lt;li&gt;Join the server to your existing AD domain  &lt;li&gt;Install the .NET 3.5.1 Feature using the Server Manager  &lt;li&gt;Install the Remote Desktop Host services role using Server Manager  &lt;li&gt;Run the Citrix XenApp 6 Fundamentals Installation&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;If you follow the above procedure, you should be OK. Also when applying a licence, make sure that the name you use is matches the NetBIOS name of the server (case-sensitive).&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-7651101113432074051?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/7651101113432074051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/09/citrix-xenapp-6-fundamentals.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7651101113432074051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7651101113432074051'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/09/citrix-xenapp-6-fundamentals.html' title='Citrix XenApp 6 Fundamentals Installation Has Failed'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-5043712880902463088</id><published>2011-08-24T10:22:00.001+01:00</published><updated>2011-08-24T10:22:34.787+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database Management'/><category scheme='http://www.blogger.com/atom/ns#' term='Exchange 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Exchange 2010 Performing Database Management'/><title type='text'>Move Arbitration Mailboxes In Exchange 2010</title><content type='html'>&lt;p&gt;Quite simple really. I have found that in certain situations, (help in backup) I have needed to delete databases (perhaps several databases exist on a single drive). You can move mailboxes from one database to another simply by typing the following cmdlet:&lt;/p&gt; &lt;p&gt;&lt;font color="#f79646"&gt;[PS] Get-Mailbox –Database &lt;em&gt;TheDatabaseID&lt;/em&gt;&amp;nbsp; | New-MoveRequest –TargetDatabase &lt;/font&gt;&lt;em&gt;&lt;font color="#f79646"&gt;TheDatabaseID&lt;/font&gt; &lt;/em&gt;&lt;/p&gt; &lt;p&gt;Now this will move the ‘regular’ mailboxes but not those marked as arbitration mailboxes. You can identify those by using the following:&lt;/p&gt; &lt;p&gt;&lt;font color="#f79646"&gt;[PS] Get-Mailbox –Database &lt;em&gt;TheDatabaseID&lt;/em&gt; –Arbitration&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Now you know what mailboxes to look out for, move them to the database of preference.&lt;/p&gt; &lt;p&gt;&lt;font color="#f79646"&gt;[PS] Get-Mailbox –Database &lt;em&gt;TheDatabaseID&lt;/em&gt; –Arbitration | New-MoveRequest –TargetDatabase &lt;em&gt;TheDatabaseID.&lt;/em&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;And then check that the arbitration mailboxes have been moved to an alternative database. You can also check out the move requests themselves:&lt;/p&gt; &lt;p&gt;&lt;font color="#f79646"&gt;[PS] Get-MoveRequest&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Now that the mailboxes (hidden ones included) have been moved, try deleting the database now. It should work but remember that you will still have to remove the database files manually.&lt;/p&gt; &lt;p&gt;For Matt and Mark!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-5043712880902463088?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/5043712880902463088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/08/move-arbitration-mailboxes-in-exchange.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/5043712880902463088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/5043712880902463088'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/08/move-arbitration-mailboxes-in-exchange.html' title='Move Arbitration Mailboxes In Exchange 2010'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-6685081362488954986</id><published>2011-08-21T22:41:00.001+01:00</published><updated>2011-08-22T00:07:17.867+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exchange 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Exchange 2010 Performing Database Management'/><title type='text'>Exchange 2010 MountDial</title><content type='html'>&lt;p&gt;The setting is set per server. You can determine the value on your server by typing the following cmdlet:&lt;/p&gt; &lt;p&gt;&lt;font color="#f79646"&gt;[PS] Get-MailboxServer | FL Name,AutoDatabaseMountDial&lt;/font&gt;&lt;/p&gt; &lt;p&gt;MountDial determines if a passive copy of a DAG can automatically come online based on how many log files being copied to it. If you run the above command, you will see one of several values for AutoDatabaseMountDial including:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;BestAvailability&lt;/li&gt; &lt;li&gt;GoodAvailability&lt;/li&gt; &lt;li&gt;Lossless&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;These mean the following:&lt;/p&gt; &lt;p&gt;&lt;strong&gt;BestAvailability&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;font face="Calibri"&gt;If you specify this value, the database automatically mounts immediately after a failover if the copy queue length is less than or equal to 12. The copy queue length is the number of logs recognized by the passive copy that needs to be replicated. If the copy queue length is more than 12, the database doesn't automatically mount. When the copy queue length is less than or equal to 12, Exchange attempts to replicate the remaining logs to the passive copy and mounts the database.&lt;/font&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;GoodAvailability&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;font face="Calibri"&gt;If you specify this value, the database automatically mounts immediately after a failover if the copy queue length is less than or equal to six. The copy queue length is the number of logs recognized by the passive copy that needs to be replicated. If the copy queue length is more than six, the database doesn't automatically mount. When the copy queue length is less than or equal to six, Exchange attempts to replicate the remaining logs to the passive copy and mounts the database.&lt;/font&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Lossless&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;font face="Calibri"&gt;If you specify this value, the database doesn't automatically mount until all logs that were generated on the active copy have been copied to the passive copy.&lt;/font&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;font face="Calibri"&gt;&lt;strong&gt;BestEffort&lt;/strong&gt;&lt;/font&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;font face="Calibri"&gt;This will mount no matter the copy queue length. Be careful with this setting as you could loose a lot of mailbox data!&lt;/font&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;/code&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;font face="Calibri"&gt;To manually switch from passive to active type the following cmdlets:&lt;/font&gt;&lt;/code&gt;&lt;/p&gt;&lt;pre&gt;&lt;font color="#f79646" face="Calibri"&gt;[PS] Move-ActiveMailboxDatabase DB4 -ActivateOnServer MBX3 -MountDialOverride:None&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Calibri"&gt;As the MountDialOverride property is set to ‘none’ whatever is currently set (probably the default) remains. &lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Calibri"&gt;The default on my server is GoodAvailability. So, replace none with one of the three options listed above to change this.&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;font face="Calibri"&gt;Read an earlier &lt;/font&gt;&lt;a href="http://compulinx.blogspot.com/2010/02/exchange-2010-performing-database_1678.html" target="_blank"&gt;&lt;font face="Calibri"&gt;post&lt;/font&gt;&lt;/a&gt;&lt;font face="Calibri"&gt; regarding DAGs &lt;/font&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;font face="Calibri"&gt;&lt;a href="http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/3812659e-df82-4459-9c8d-3ff72e2e364b/" target="_blank"&gt;Ref&lt;/a&gt;.&lt;/font&gt;&lt;/code&gt;&lt;/pre&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-6685081362488954986?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/6685081362488954986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/08/exchange-2010-mountdial.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/6685081362488954986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/6685081362488954986'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/08/exchange-2010-mountdial.html' title='Exchange 2010 MountDial'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-6371206489781377666</id><published>2011-08-20T13:34:00.001+01:00</published><updated>2011-08-20T21:40:18.366+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Queues'/><category scheme='http://www.blogger.com/atom/ns#' term='Exchange 2010'/><title type='text'>How to Export Exchange 2010 Queues</title><content type='html'>&lt;p&gt;You can use the Shell to export messages from a queue on a computer that has the Microsoft Exchange Server 2010 Hub Transport server role or the Edge Transport server role installed to a specified file path. You can't use Queue Viewer to perform this task. However, you can use Queue Viewer to locate, identify, and suspend the messages before you perform this task.&lt;/p&gt; &lt;p&gt;Messages that get ‘stuck’ in a queue can be exported to a folder and you can later resubmit the messages once you fix the mail flow problem. To export a message (or all messages in a queue) you should first suspend the queue. Suspension does not prevent messages entering the queue, but it will stop them leaving. The following cmdlet suspends the queue. &lt;/p&gt; &lt;p&gt;&lt;font color="#f79646"&gt;[PS] Get-TransportServer | Get-Queue&lt;/font&gt;&lt;/p&gt; &lt;p&gt;This command will show you the queues on your transport servers (you may have more than one in your site).&lt;/p&gt; &lt;p&gt;You might have an example where your messages are failing to be sent because of name resolution:&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-ywY7iPPLD2Q/Tk-pzFkJZ2I/AAAAAAAAAf4/2qjpStdGZdE/s1600-h/q1%25255B5%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="q1" border="0" alt="q1" src="http://lh5.ggpht.com/-e40YKAFTTIA/Tk-pzh9XJgI/AAAAAAAAAf8/_UPvd019uhs/q1_thumb%25255B3%25255D.png?imgmax=800" width="396" height="38"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;You can see that the DeliveryType is set to &lt;strong&gt;DNSConnectorDelivery.&lt;/strong&gt; &lt;em&gt;The messages are queued for delivery to an external recipient by using an SMTP connector that's located on the local server and that's configured to use Domain Name System (DNS) for routing resolution.&lt;/em&gt;&lt;/p&gt; &lt;p&gt;To export the messages, first suspend the queue:&lt;/p&gt; &lt;p&gt;&lt;font color="#f79646"&gt;[PS] Suspend-Queue –Identity SRV1\20 &lt;/font&gt;&lt;/p&gt; &lt;p&gt;Now that the queue is suspended you suspend the messages.&lt;/p&gt; &lt;p&gt;&lt;font color="#f79646"&gt;[PS]Get-Queue -Identity srv1\20 | Get-Message -ResultSize unlimited | Suspend-Message –Confirm:$False&lt;/font&gt;&lt;/p&gt; &lt;p&gt;-ResultSize unlimited is used as the default is set to 1000.&lt;/p&gt; &lt;p&gt;Now the messages are suspended you can export them. To see the list of messages in the queue type the following:&lt;/p&gt; &lt;p&gt;&lt;font color="#f79646"&gt;[PS] Get-Queue -Identity srv1\20 | Get-Message -ResultSize unlimited &lt;/font&gt;&lt;/p&gt; &lt;p&gt;The status should show the messages are suspended and you should see the Email subject heading and from address. Notice how the message ID is created and includes the Queue ID.&lt;/p&gt; &lt;p&gt;Now to export a single message:&lt;/p&gt; &lt;p&gt;&lt;font color="#f79646"&gt;[PS] Get-Message -Identity srv1\20\75 | AssembleMessage -Path c:\exportfolder\email1&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;To export all the messages from the queue is a bit more complicated. Try the following:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;font color="#f79646"&gt;[PS] $array = @(Get-Message -Queue srv222\20 -ResultSize unlimited)&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font color="#f79646"&gt;[PS] $array | ForEach-Object {$i++;Export-Message $_.Identity | AssembleMessage -Path ("c:\exportfolder\"+ $i +".eml")}&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;The above cmdlets will produce .eml files in c:\exportfolder\ with names like 1.eml, 2.eml. At a later stage you can ‘import’ the messages back into the submission queue by using the replay directory. The Replay directory receives messages from foreign gateway servers and can also be used to resubmit messages that administrators export from the queues of Exchange 2010 servers. Read this post for more.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-6371206489781377666?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/6371206489781377666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/08/how-to-export-exchange-2010-queues.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/6371206489781377666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/6371206489781377666'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/08/how-to-export-exchange-2010-queues.html' title='How to Export Exchange 2010 Queues'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/-e40YKAFTTIA/Tk-pzh9XJgI/AAAAAAAAAf8/_UPvd019uhs/s72-c/q1_thumb%25255B3%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-6392331221469433513</id><published>2011-08-16T22:47:00.001+01:00</published><updated>2011-08-16T22:49:13.426+01:00</updated><title type='text'>How to Change the Version of Windows 2008 r2 Standard to Enterprise Without Reinstalling</title><content type='html'>&lt;p&gt;Useful procedure for changing the product version of windows 2008 r2 standard to enterprise without reinstalling from media. &lt;p&gt;To determine the installed edition, run:&lt;br&gt;&lt;code&gt;&lt;font color="#f79646"&gt;DISM /online /Get-CurrentEdition&lt;/font&gt;&lt;/code&gt; &lt;p&gt;To check the possible target editions, run:&lt;br&gt;&lt;code&gt;&lt;font color="#f79646"&gt;DISM /online /Get-TargetEditions&lt;/font&gt;&lt;/code&gt; &lt;p&gt;Finally, to initiate an upgrade, run:&lt;br&gt;&lt;code&gt;&lt;font color="#f79646"&gt;DISM /online /Set-Edition:&amp;lt;edition ID&amp;gt; /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX&lt;/font&gt;&lt;/code&gt; &lt;p&gt;For example, to upgrade to Enterprise from a downlevel version, run:&lt;br&gt;&lt;font color="#f79646"&gt;&lt;code&gt;DISM /online /Set-Edition:ServerEnterprise /ProductKey:&lt;/code&gt;&lt;code&gt;YOUR SETUP KEY&lt;/code&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#f79646"&gt;&lt;code&gt;(Thanks to Kimani and Jon)&lt;/code&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-6392331221469433513?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/6392331221469433513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/08/how-to-change-version-of-windows-2008.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/6392331221469433513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/6392331221469433513'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/08/how-to-change-version-of-windows-2008.html' title='How to Change the Version of Windows 2008 r2 Standard to Enterprise Without Reinstalling'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-2551525707165959008</id><published>2011-08-12T16:12:00.001+01:00</published><updated>2011-08-14T20:05:00.813+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RBAC'/><category scheme='http://www.blogger.com/atom/ns#' term='Legal Hold'/><category scheme='http://www.blogger.com/atom/ns#' term='Exchange 2010'/><title type='text'>Role-Based Access Control (RBAC) Exchange 2010 Legal Hold and Discovery Search</title><content type='html'>&lt;p&gt;RBAC can be used to allow administrators to perform a specific exchange task by being assigned a &lt;strong&gt;management role&lt;/strong&gt; that has permissions to perform the task. Administrators can be assigned these roles directly, or multiple roles can be grouped together into management role groups. Management role groups are infact AD universal security groups. As you will see however, Exchange administrators should NOT be added to these groups using AD tools directly!&lt;/p&gt; &lt;p&gt;Each management role consists of &lt;strong&gt;management role entries&lt;/strong&gt;. A management role entry is an EMS cmdlet or a script that users in a management role can execute. &lt;/p&gt; &lt;p&gt;For a list of management roles, type the following cmdlet:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-ManagementRole | Get-ManagentRoleEntry&lt;/font&gt;&lt;/p&gt; &lt;p&gt;The list you will see has quite a few roles!&lt;/p&gt; &lt;p&gt;If you take just one role for example, say ‘databases’ you will begin to see what's involved:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-ManagementRole –Identity Databases | Get-ManagementRoleEntry&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-q4MLWVGy7X8/TkVC5qiMimI/AAAAAAAAAeo/ax795fRmUFg/s1600-h/mr1%25255B3%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="mr1" border="0" alt="mr1" src="http://lh3.ggpht.com/-WQoTsg2_Rz4/TkVC6Jy5aTI/AAAAAAAAAes/ANp0J9buH4U/mr1_thumb%25255B1%25255D.png?imgmax=800" width="499" height="113"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;So, users are assigned a management role (that can execute scripts that are defined by management role entries) by being &lt;strong&gt;assigned to a management role group&lt;/strong&gt;. This can be very useful. For example we can create a management role group that only allows users to create exchange recipients. After we create the group and add users, management role(s) are then assigned to the group. &lt;/p&gt; &lt;p&gt;Several role groups exist in Exchange 2010 by default. &lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-RoleGroup&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-HCeiFMrkDkY/TkVTRcOLM6I/AAAAAAAAAew/pZFTHyG6tkc/s1600-h/mr2%25255B4%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="mr2" border="0" alt="mr2" src="http://lh6.ggpht.com/-Sb9dmJv8ubc/TkVTRxZ1oKI/AAAAAAAAAe0/9VyQIAvRe7c/mr2_thumb%25255B2%25255D.png?imgmax=800" width="500" height="81"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;If we take a single role group for example ‘Help Desk’&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-RoleGroup –Identity “Help Desk” | fl&lt;/font&gt;&lt;/p&gt; &lt;p&gt;The will list associated parameters for this group.&lt;/p&gt;    &lt;a href="http://lh3.ggpht.com/-qM4ghkFV1CM/TkVTSUYg0DI/AAAAAAAAAe4/DMUMKXLuGgs/s1600-h/mr3%25255B3%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="mr3" border="0" alt="mr3" src="http://lh4.ggpht.com/-jjfP8RGP42A/TkVTS6PT86I/AAAAAAAAAe8/dOCLSvG2ErE/mr3_thumb%25255B1%25255D.png?imgmax=800" width="504" height="150"&gt;&lt;/a&gt; &lt;p&gt;As you can see from the above screenshot, the roles assigned to the Help Desk management role group are shown. These are ‘User Options’ and ‘View Only’. You can also see under role assignments that it shows that these roles are assigned to help-desk! These default role groups can be found in AD in the Microsoft Exchange Security Groups&lt;/p&gt; &lt;p&gt;To add users to the role group of Help Desk use the following cmdlet:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Add-RoleGroupMember –Identity “Help Desk”&amp;nbsp; -Member “Andrew Stevens”&lt;/font&gt;&lt;/p&gt; &lt;p&gt;This will add Andrew Stevens to the Help Desk role group. To determine the membership of the management role group try the following:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-RoleGroupMember -Identity "Help Desk"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;This is great if the Help Desk group has the needed management roles assigned to it. From the screenshot above this includes management roles of “User Options” and View-only Recipients”.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;User Options &lt;/strong&gt;is a management role with the following management role entries, determined by typing the following:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-ManagementRole -Identity "User Options" | Get-ManagementRoleEntry&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-KBvDDCBOZmY/TkWjHSKPK4I/AAAAAAAAAfA/8V4J51Cnrsc/s1600-h/mr4%25255B3%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="mr4" border="0" alt="mr4" src="http://lh6.ggpht.com/-I9UI3JrX3xY/TkWjH_jlJKI/AAAAAAAAAfE/xy4yZb-3l-8/mr4_thumb%25255B1%25255D.png?imgmax=800" width="509" height="202"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;View-Only Recipients &lt;/strong&gt;is a management role with the following management role entries, determined by typing the following:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-ManagementRole -Identity "View-only Recipients" | Get-ManagementRoleEntry&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-_fjIsD1oALw/TkWjIR6PT2I/AAAAAAAAAfI/n0vs2HYaotQ/s1600-h/mr5%25255B3%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="mr5" border="0" alt="mr5" src="http://lh5.ggpht.com/-YpxLcsCl_Lk/TkWjJJB3N9I/AAAAAAAAAfM/4IFGbp3dmYI/mr5_thumb%25255B1%25255D.png?imgmax=800" width="513" height="203"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;So you can see what Andrew Stevens can do having been placed in the Help Desk group. &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;You can also customize a role group to contain the roles that you need if you find the default roles assigned to a group do not fit correctly. If you find yourself changing the roles assigned to the default groups beyond recognition you might as well create a new group.&lt;/p&gt; &lt;p&gt;So, to add a role to an existing group try the following:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] New-ManagementRoleAssignment -SecurityGroup "Help Desk" -Role "MailBox Import Export"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Now type the following again to determine the roles now ‘held’ by the Help Desk group:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-RoleGroup –Identity “Help Desk” | fl&lt;/font&gt;&lt;/p&gt; &lt;p&gt;You will notice that the RoleAssignments has changed to include Mailbox Import Export!&lt;/p&gt; &lt;p&gt;To remove the assignment type the following:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Remove-ManagementRoleAssignment -Identity "Mailbox Import Export-Help Desk"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;If you need to you can create a role group from scratch. Lets create a role group called London Help Desk and assign roles to the group:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] New-RoleGroup "Help Desk London" -Roles "User Options","View-Only Recipients"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Try the Get-RoleGroup cmdlet and you should see it listed.&lt;/p&gt; &lt;p&gt;So far the London help Desk team have the role of View-Only recipients and User Options. This is no different to the default Help Desk assignments. However you can add to it&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] New-ManagementRoleAssignment -SecurityGroup "Help Desk London" -Role "MailBox Import Export"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Legal Hold&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;An interesting role is Legal Hold. A legal hold in Exchange 2010 will keep e-mails even if the user tries to delete them. Note, the user will think the e-mail is deleted. The only way to actually see the e-mails is by doing a discovery search, and opening the discovery mailbox.&lt;/p&gt; &lt;p&gt;The legal hold role has the following assignments:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-RoleGroup | Where-Object {$_.roleassignments -match "Legal Hold"}&lt;/font&gt;&lt;/p&gt; &lt;p&gt;The output will show you that both &lt;strong&gt;Organization and Discovery Management&lt;/strong&gt; groups have this role by default.&lt;/p&gt; &lt;p&gt;To grant our London Help Desk team Legal Hold type the following cmdlet:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] New-ManagementRoleAssignment -SecurityGroup "Help Desk London" –Role “Legal Hold”&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Type the following cmdlet for confirmation:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-RoleGroup | Where-Object {$_.roleassignments -match "Legal Hold"}&lt;/font&gt;&lt;/p&gt; &lt;p&gt;You should now see Help Desk London listed.&lt;/p&gt; &lt;p&gt;To turn this feature on we need to enable it for specific mailboxes. First you must have the role to do so. As mentioned, those in the Organization Management (and Discovery Management) have the Legal Hold role assigned. If you are doing this as a Domain Administrator then you are a member of Organization Management already. &lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-RoleGroup -Identity "Organization Management" | ft name,members&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Now, determine which recipients you wish to define Legal Hold to and type the following:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Set-Mailbox –Identity “A User” –LitigationHoldEnabled $True&lt;/font&gt;&lt;/p&gt; &lt;p&gt;To check to see which mailbox has been enabled, type the following cmdlet:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-Mailbox&amp;nbsp; | ft name,lit* –au&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Performing a Discovery Search&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;You can still find and open the deleted emails using a &lt;em&gt;discovery search.&lt;/em&gt; A discovery search can be made against any organisation mailbox (not just those on litigation hold). Here’s what happens:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;User deletes a message.  &lt;li&gt;The message moves to a 'Deleted Items' folder. At this point the user can see the deleted messages and can move the deleted message back to the inbox. This is known as a 'soft delete'. Messages can also be moved to the 'dumpster' by emptying the deleted items folder.This is a 'hard delete'.  &lt;li&gt;Message moves to the 'Dumpster'. This removes the message from view. Deleted item retention is 14 days by default. Users can still recover items by using the recover deleted items tool (right click deleted items in OWA and select 'recover deleted items')  &lt;li&gt;If the end user purges data from the "Recover Deleted Items" view (hard delete from the Recoverable Items\Deletions folder), the item will be moved to the Recoverable Items\Purges folder. The purges folder is a special folder that sits within the dumpster. The user will not be able to see the deleted message from this folder. However administrators granted the rights to perform 'discovery searches' can search through the purges folder and restore deleted items.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Enabling Litigation Hold means that items never will be purged from the “Purges” subfolder, which of course results mailboxes growing considerably in size over time! &lt;/p&gt; &lt;p&gt;&lt;strong&gt;To perform a discovery search perform the following steps:&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;1. Perform a discovery search for the item you need to restore. This first involves navigating a browser to https://servername/ecp. This is on the CAS role (ecp is the exchange control panel). In &lt;strong&gt;Figure 1&lt;/strong&gt;, the user ‘Al Pacino’ is in the LegalAdmins role group. This group has been assigned the roles ‘User Options and View-only Recipients’ (which is the same as the default Help Desk role). At this point Al cannot perform a discovery search and this is his ECP view (only Users &amp;amp; Groups).&amp;nbsp; &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-sqD0ITcLaF0/Tkga7COfB4I/AAAAAAAAAfQ/y0ejvwp8zyk/s1600-h/mr6%25255B8%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="mr6" border="0" alt="mr6" src="http://lh5.ggpht.com/-G7tfWDc8XZ8/Tkga7hPqgjI/AAAAAAAAAfU/LXtomD_e6-M/mr6_thumb%25255B3%25255D.png?imgmax=800" width="542" height="199"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;2. Assign the Mailbox Search role to the LegalAdmins group using the following cmdlet: [PS] New-ManagementRoleAssignment -SecurityGroup LegalAdmins -Role "Mailbox Search"&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/--cYfXFK6IG4/Tkga8KAZDMI/AAAAAAAAAfY/KVyIM0tHBBA/s1600-h/mr7%25255B10%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="mr7" border="0" alt="mr7" src="http://lh3.ggpht.com/-YHsRfX3Hz2Y/Tkga8o40rXI/AAAAAAAAAfc/DRPYhnxdI-w/mr7_thumb%25255B3%25255D.png?imgmax=800" width="544" height="202"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;3. The above screenshot shows us the ECP view after applying this step. You can now see that the ‘Reporting’ link is shown. Select this link.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-xQAjOYALFPk/Tkga9XbVv6I/AAAAAAAAAfg/Dot4ccIsaiQ/s1600-h/mr8%25255B7%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="mr8" border="0" alt="mr8" src="http://lh5.ggpht.com/-vIo9RoPldZM/Tkga96RJlTI/AAAAAAAAAfk/fVlzD6FZ7U8/mr8_thumb%25255B3%25255D.png?imgmax=800" width="547" height="147"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;4. After you select this link you should see a similar view as shown above. Remember that you can also add a user to the Discovery Management role group instead of creating a group and assigning roles to it.&lt;/p&gt; &lt;p&gt;Select 'New'.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-w8u5zMwMtDo/Tkga-NN-zlI/AAAAAAAAAfo/HIV6MZ8qSkM/s1600-h/m11%25255B3%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="m11" border="0" alt="m11" src="http://lh6.ggpht.com/-D71_KidUgzQ/Tkga-v8rtEI/AAAAAAAAAfs/T00z9n0WBeM/m11_thumb%25255B1%25255D.png?imgmax=800" width="552" height="205"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;5. As you can see there are a number of search methods. Select mailbox to search and select the user mailbox that has purged deleted items. &lt;/p&gt; &lt;p&gt;6. Provide a search name &lt;/p&gt; &lt;p&gt;7. Select 'Select a mailbox in which to store the search results' and choose the 'Discovery Search Mailbox' and click save. &lt;/p&gt; &lt;p&gt;8. After the search has completed (you may have to refresh) select the link that says open by the results output on the right hand side. &lt;/p&gt; &lt;p&gt;9. If you cant open the discovery search mailbox, you will need to grant the user access to it by typing in the following:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Add-MailboxPermission DiscoverySearchMailbox -User al -AccessRights FullAccess&lt;/font&gt;&lt;br&gt;NB. I changed the alias of the mailbox to this simpler name&lt;/p&gt; &lt;p&gt;10. You should now be able to open the discovery search mailbox. Once opened, navigate on the left to the search name and open the sent\deleted items folder. You should be able to find the item that was purged. &lt;/p&gt; &lt;p&gt;NB. If you wish you can create a new &lt;em&gt;discovery search mailbox&lt;/em&gt; by using the following cmdlet:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] New-Mailbox "HelpDeskDiscovery" -UserPrincipalName &lt;/font&gt;&lt;a href="mailto:HelpDeskDiscovery@yourcompany.com"&gt;&lt;font color="#4bacc6"&gt;HelpDeskDiscovery@yourcompany.com&lt;/font&gt;&lt;/a&gt;&lt;font color="#4bacc6"&gt; –Discovery.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Add-MailboxPermission HelpDeskDiscovery -User al -AccessRights FullAccess&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;In the above example, our test user Al, can perform the discovery search and open the discovery search mailbox to find deleted items. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-2551525707165959008?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/2551525707165959008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/08/role-based-access-control-rbac-exchange.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2551525707165959008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2551525707165959008'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/08/role-based-access-control-rbac-exchange.html' title='Role-Based Access Control (RBAC) Exchange 2010 Legal Hold and Discovery Search'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/-WQoTsg2_Rz4/TkVC6Jy5aTI/AAAAAAAAAes/ANp0J9buH4U/s72-c/mr1_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-9008757032035845522</id><published>2011-08-04T17:20:00.001+01:00</published><updated>2011-08-04T17:20:53.822+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Installing Exchange 2010'/><title type='text'>RMS Shared Identity user FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 Not Found</title><content type='html'>&lt;p&gt;Having removed an Exchange Server (and arbitration mailboxes), reinstalling a second&amp;nbsp; Exchange 2010 can be problematic. The deletion of the discovery mailbox will mean that the reinstallation of your Exchange 2010 server will fail. Run the following command:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] New-Mailbox -Arbitration -Name FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 -UserPrincipalName FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042@&amp;lt;Default_Accepted_Domain&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;This should allow you to now rerun the installation program without failure.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-9008757032035845522?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/9008757032035845522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/08/rms-shared-identity-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/9008757032035845522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/9008757032035845522'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/08/rms-shared-identity-user.html' title='RMS Shared Identity user FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 Not Found'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-3216449336715025352</id><published>2011-08-03T09:05:00.001+01:00</published><updated>2011-08-03T09:06:53.007+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exchange 2010'/><title type='text'>Cannot Uninstall Exchange 2010 Because of Arbitration Mailboxes</title><content type='html'>&lt;p&gt;To list the arbitration mailboxes type the following command:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-Mailbox –Database &lt;em&gt;database name&lt;/em&gt;&amp;nbsp; -Arbitration&lt;/font&gt;&lt;/p&gt; &lt;p&gt;This will list all the mailboxes that can be moved or removed.&lt;/p&gt; &lt;p&gt;To move them to another database, type the following command:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-Mailbox -Arbitration -Database db1 | New-MoveRequest -TargetDatabase db2 &lt;/font&gt;&lt;/p&gt; &lt;p&gt;To remove the mailboxes, type the following command:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Get-Mailbox -Arbitration -Database db1 | Remove-Mailbox -Arbitration –RemoveLastArbitrationMailboxAllowed &lt;/font&gt;&lt;/p&gt; &lt;p&gt;Once you do this hopefully you should be able to uninstall Exchange using the Control panel&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-3216449336715025352?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/3216449336715025352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/08/cannot-uninstall-exchange-2010-because.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/3216449336715025352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/3216449336715025352'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/08/cannot-uninstall-exchange-2010-because.html' title='Cannot Uninstall Exchange 2010 Because of Arbitration Mailboxes'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-283210357172110171</id><published>2011-07-18T17:12:00.001+01:00</published><updated>2011-07-23T15:39:19.685+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>SQL Backup Strategies Part 2 How To Backup and Restore…</title><content type='html'>&lt;p&gt;In a previous &lt;a href="http://compulinx.blogspot.com/2011/07/sql-2008-backup-strategies.html" target="_blank"&gt;post&lt;/a&gt; I tried to detail some appropriate backup strategies.&amp;nbsp; This post builds on these concepts and provides some practical details on what to do.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Perform Full Database Backups&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;A full database backup is a page-level copy of the entire database to backup media. You can execute a full database backup using any recovery model (i.e Simple, Bulk-Logged or Full). &lt;/p&gt; &lt;p&gt;To perform a full backup use the following:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;BACKUP DATABASE CompulinxDB&lt;br&gt;TO DISK = ‘D:\Backups\compulinxFULL.bak’&lt;br&gt;WITH RETAINDAYS = 7, INIT;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;RETAINDAYS&lt;/strong&gt; does not actually delete anything, it is just marking the file to tell SQL Server not to overwrite this file before the retain time is up (in the above case 7 days).&lt;/p&gt; &lt;p&gt;&lt;strong&gt;INIT&lt;/strong&gt; This option indicates that SQL Server will overwrite any existing backups on the target media with new backups. In other words, the backup that you are taking with this statement will be&lt;br&gt;the&lt;strong&gt; initial backup&lt;/strong&gt; on the media.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;It is considered good practice to ‘stripe’ the backup to two files on separate disks (and even controllers).&amp;nbsp; So, the following syntax can be used&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;BACKUP DATABASE CompulinxDB&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;TO DISK = ‘D:\Backups\compulinxFULL.bak&lt;br&gt;DISK = ‘E:\Backups\compulinxFULL.bak&lt;br&gt;INIT;&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Differential Backup&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;The following can be used to make differential backups. Here the differential is appended to media containing the full backup:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;BACKUP DATABASE CompulinxDB&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;TO DISK = ‘D:\Backups\compulinxFull.bak’&lt;br&gt;WITH DIFFERENTIAL,&lt;br&gt;RETAINDAYS = 7, NOINIT;&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Notice the use of the command &lt;strong&gt;NOINT&lt;/strong&gt;. This option indicates that SQL Server will append this backup to any other backups on the target media. This option allows you to take multiple backups and target them to the same media set. &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Perform Transaction Log Backups&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Transaction log backups allow the DBA to manage the transaction log size while not requiring the overhead of taking frequent database backups. This is especially useful for large databases that are only moderately volatile. Before you will be able to take a valid Transaction log backup, you must do two things:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Make sure that the recovery model is set to &lt;strong&gt;Full&lt;/strong&gt; or &lt;strong&gt;Bulk-Logged &lt;/strong&gt; &lt;li&gt;Take a full database backup that will act as the initial point in the recovery process.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Try using the following T-SQL syntax:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;BACKUP LOG CompulinxDB&lt;br&gt;TO DISK = ‘D:\Backups\compulinxTLOG.bak’&lt;br&gt;WITH INIT;&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Notice the use of &lt;strong&gt;LOG. &lt;/strong&gt;If you wanted to take a subsequent backup of the transaction log and append it to the existing media, the statement would look like this:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;BACKUP LOG CompulinxDB&lt;br&gt;TO DISK = ‘D:\Backups\compulinxTLOG.bak’&lt;br&gt;WITH NOINIT;&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;At this point, if the database were damaged due to a corruption or loss of a data device, you would have to capture the orphaned log. You can do this with the following:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;BACKUP LOG CompulinxDB&lt;br&gt;TO DISK = ‘D:\Backups\compulinxTLog.bak’&lt;br&gt;WITH NOINIT, NO_TRUNCATE, NORECOVERY;&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;The above syntax has some new points to consider. &lt;strong&gt;NO_TRUNCATE &lt;/strong&gt;will make a copy of the log but does not truncate the log. &lt;strong&gt;NORECOVERY &lt;/strong&gt;allows you to capture a trailing log before making a restore. The database will be placed into a ‘restoring state’. Remember the database will not be accessible until a restore is made.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/strong&gt;The database will look something like the following:&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-54OCfiERBMg/TiiZ5Jjh2qI/AAAAAAAAAd4/Jy90N0KN9QY/s1600-h/SQLBACKUP1%25255B7%25255D.png"&gt;&lt;img style="display: inline" title="SQLBACKUP1" alt="SQLBACKUP1" src="http://lh4.ggpht.com/-Hf4gRW-bLhA/TiiZ5rvhB0I/AAAAAAAAAd8/pp4ndDMsUwE/SQLBACKUP1_thumb%25255B5%25255D.png?imgmax=800" width="453" height="202"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/strong&gt;&amp;nbsp;&lt;strong&gt;&lt;font size="3"&gt;Partial Database Backups&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;In part one I mentioned backing up filegroups; ‘Breaking a large database into files or filegroups for backup allows you to back up portions of it on a rotating schedule when it might be too time-consuming to back up the entire database at once’. Perhaps only a small portion of the database is changing. If this is the case we can backup a filegroup (the group of data files that is dynamic) and therefore make a partial backup. You can also make the non-volatile data read only.&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;BACKUP DATABASE CompulinxDB READ_WRITE_FILEGROUPS&lt;br&gt;TO DISK = ‘E:\Backups\compulinxDB_Partial.bak’&lt;br&gt;WITH INIT;&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Notice the use of &lt;strong&gt;READ_WRITE_FILEGROUPS. &lt;/strong&gt;This causes SQL to backup only the primary filegroup and any other read/write filegroups in the collection.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;How to Restore&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;OK, now we know how to set the different recovery methods for SQL, the different backup methods that use these recovery types and actually how to implement a backup. However, a backup is only as good as knowing how to restore the database.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How to Perform a Full Database Restore&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;There may be several reasons why you need to perform a full database restore. These include the following:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;You need to restore a database to single point-in-time  &lt;li&gt;You need to restore a database because the database is damaged  &lt;li&gt;You need to move the database to a different server altogether&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;To demonstrate this we need to do the following:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Take a full database backup (make a baseline backup)  &lt;li&gt;Next we have to modify the data in some way (perhaps by deleting a row?)  &lt;li&gt;Then performing the restore so that we get our original database again. &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;So, to take a full database backup,&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Make sure the database recovery model is set to &lt;strong&gt;Full &lt;/strong&gt;(see the post before this one for details). I’m using the AdventureWorks DB. It’s a little big but there you go!  &lt;li&gt;Take a full database backup using the following syntax (also shown above)&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;BACKUP DATABASE AdventureWorks&lt;br&gt;TO DISK = 'E:\Backups\ADWORKSFULL.bak'&lt;br&gt;WITH RETAINDAYS = 7, INIT;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp; Using the the following T-SQL code determine the first name of an employee with the last name of Abel&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE AdventureWorks;&lt;br&gt;GO&lt;br&gt;SELECT FirstName &lt;br&gt;FROM person.Contact&lt;br&gt;WHERE LastName = 'Abel';&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;The answer that should be returned is Catherine. I used to go out with a Catherine…&lt;/p&gt; &lt;p&gt;4.&amp;nbsp;&amp;nbsp; Let’s say Catherine wants to change her first name (perhaps to Irene, I won’t say it…). You can use the following to do this:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE AdventureWorks;&lt;br&gt;GO&lt;br&gt;Update Person.Contact&lt;br&gt;SET FirstName = 'Irene'&lt;br&gt;Where LastName = 'Abel'&lt;/font&gt;&lt;/p&gt; &lt;p&gt;5.&amp;nbsp;&amp;nbsp; Now make a differential backup which will record the change of Catherine to Irene. You can do this using the following (this is also shown above). This should only take 0.684 seconds (or there a bouts!)&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;BACKUP DATABASE AdventureWorks&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;TO DISK = 'E:\Backups\ADWORKSFULL.bak'&lt;br&gt;WITH DIFFERENTIAL,&lt;br&gt;RETAINDAYS = 7, NOINIT;&lt;br&gt;GO&lt;br&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;6.&amp;nbsp;&amp;nbsp; Now we need to restore the database using the full database so the first name is Catherine once more. To do this using the interface, simply right click your database and select restore:&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-hpE8Rj_5FoQ/Til50WsDt_I/AAAAAAAAAeI/cOoHenE5Lmc/s1600-h/SQLRes1%25255B5%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="SQLRes1" border="0" alt="SQLRes1" src="http://lh5.ggpht.com/-CjkxPhzZiYc/Til51F1fZLI/AAAAAAAAAeM/-1-R-drJBMg/SQLRes1_thumb%25255B3%25255D.png?imgmax=800" width="427" height="421"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;7.&amp;nbsp;&amp;nbsp; Select &lt;strong&gt;Database &lt;/strong&gt;and the following window will appear:&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-utpY0o_pvSc/Til97kIPUjI/AAAAAAAAAeQ/QaIxhFMA-fU/s1600-h/SQLRes2%25255B4%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="SQLRes2" border="0" alt="SQLRes2" src="http://lh4.ggpht.com/-NEUl7HzLlig/Til973-_WZI/AAAAAAAAAeU/dm3z9x9z_Fk/SQLRes2_thumb%25255B2%25255D.png?imgmax=800" width="434" height="195"&gt;&lt;/a&gt;&amp;nbsp; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;8.&amp;nbsp;&amp;nbsp; Using the backup history, you can select the correct backup or you can find it using the ellipses button on the right. Whatever you choose, select the full database checkbox only. Not the differential.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-LlRy5uPc1E8/Til98axsxHI/AAAAAAAAAeY/2hax_wW3qRg/s1600-h/sqlres3%25255B9%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="sqlres3" border="0" alt="sqlres3" src="http://lh4.ggpht.com/-CC6iLiqtRvo/Til98yh_39I/AAAAAAAAAec/R4_0VlXFr1E/sqlres3_thumb%25255B5%25255D.png?imgmax=800" width="436" height="196"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;9.&amp;nbsp;&amp;nbsp; Click the Options page to see the restore options. As we are restoring over the top of an already existing database, select the Overwrite option. This prevents you from accidentally overwriting a database. The default is off. Click OK.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-X6s6TR1_taY/TimLDP_N_0I/AAAAAAAAAeg/fEkXXa3uUpA/s1600-h/sqlres4%25255B5%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="sqlres4" border="0" alt="sqlres4" src="http://lh3.ggpht.com/-WRVAZm9u9Dc/TimLDltD5vI/AAAAAAAAAek/dZfsTMMIROQ/sqlres4_thumb%25255B3%25255D.png?imgmax=800" width="436" height="307"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;10.&amp;nbsp; If you run the query to find the first name of the customer Abel, it should be Catherine. &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;A. Full Backup Restore (without differential)&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;You can do the restore without using the interface, by using the following T-SQL code. &lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;RESTORE DATABASE AdventureWorks&lt;br&gt;FROM DISK = ‘E:\Backups\ADWORKSFULL.bak’&lt;br&gt;WITH FILE = 1,&lt;br&gt;REPLACE,&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Notice the use of &lt;strong&gt;FILE&lt;/strong&gt;. The file value refers to a backup set file number. This option allows you to specify a specific backup in a media set based on its position number. This value was actually shown in the figure under point 7 above. You need this information to ensure that you are restoring the correct backup from the media if there are multiple backups stored on the same media. To determine the different backup set file numbers, try the following:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;RESTORE Headeronly&lt;br&gt;FROM DISK= ‘E:\Backups\ADWORKSFULL.bak’&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Using &lt;strong&gt;REPLACE&lt;/strong&gt; this restore will overwrite the existing AdventureWorks database on this server with the Full database backup. The first name of customer Abel is now Catherine. &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;B. Restore with Differential&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Since we took a differential database backup after the customer name was updated to Irene we can restore the database using both the baseline full backup and the differential using the following:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;RESTORE DATABASE AdventureWorks&lt;br&gt;FROM DISK = 'E:\Backups\ADWORKSFULL.bak'&lt;br&gt;WITH FILE = 1,&lt;br&gt;REPLACE,&lt;br&gt;NORECOVERY;&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;This looks almost identical to our initial restore code except that we use &lt;strong&gt;NORECOVERY&lt;/strong&gt;. This will put the database into a recovery state allowing us to then include the differential backup (allowing us to get the updated record that has changed customer Catherine to Irene). Just refresh the database in the interface and you will see. We can now include the differential backup while the AdventureWorks is in a recovery state. Remember you can ignore any previous differential backups since the ‘last’ differential is the only one you need. I have taken 2 differential backups following the full backups so the ‘position’ number equals 3. Its this file number that I’m interested in. &lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;RESTORE DATABASE AdventureWorks&lt;br&gt;FROM DISK = ‘E:\Backups\ADWORKSFULL.bak’&lt;br&gt;WITH FILE = 3&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;We do not use the &lt;strong&gt;REPLACE&lt;/strong&gt; option as we are using the differential and not the full backup. Also notice that there is no indication that this is a differential. A query should show that the customer is Irene.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;C. Restore with Full Backup, Differential and T-Log&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;To do this delete the backup file first and lets start from scratch. Once deleted, make sure our customer record is set back to Catherine. Then take another full backup.&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE AdventureWorks;&lt;br&gt;GO&lt;br&gt;Update Person.Contact&lt;br&gt;SET FirstName = 'Catherine'&lt;br&gt;Where LastName = 'Abel'&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;BACKUP DATABASE AdventureWorks&lt;br&gt;TO DISK = 'E:\Backups\ADWORKSFULL.bak'&lt;br&gt;WITH RETAINDAYS = 7, INIT;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Now that we have our initial backup once more, lets change the customer name to Irene, check and take a differential backup&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE AdventureWorks;&lt;br&gt;GO&lt;br&gt;Update Person.Contact&lt;br&gt;SET FirstName = 'Irene'&lt;br&gt;Where LastName = 'Abel'&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE AdventureWorks;&lt;br&gt;GO&lt;br&gt;SELECT FirstName &lt;br&gt;FROM person.Contact&lt;br&gt;WHERE LastName = 'Abel';&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;BACKUP DATABASE AdventureWorks&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;TO DISK = 'E:\Backups\ADWORKSFULL.bak'&lt;br&gt;WITH DIFFERENTIAL,&lt;br&gt;RETAINDAYS = 7, NOINIT;&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Now you can check the File Position numbers, and you should see two files.&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;RESTORE Headeronly&lt;br&gt;FROM DISK= 'E:\Backups\ADWORKSFull.bak'&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#000000"&gt;OK, now we can change the customer name again (perhaps to Letitia…) and after take a T-Log backup.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE AdventureWorks;&lt;br&gt;GO&lt;br&gt;Update Person.Contact&lt;br&gt;SET FirstName = 'Letitia'&lt;br&gt;Where LastName = 'Abel'&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;BACKUP LOG AdventureWorks&lt;br&gt;TO DISK = 'E:\Backups\ADWORKSTLOG.bak'&lt;br&gt;WITH INIT;&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#000000"&gt;Two .bak files now exist. Lets make a final change to our database. Change Letitia to Magda and check. Then we can backup the T-Log&lt;/font&gt;&lt;/p&gt;&lt;font color="#4bacc6"&gt;USE AdventureWorks;&lt;br&gt;GO&lt;br&gt;Update Person.Contact&lt;br&gt;SET FirstName = 'Magda'&lt;br&gt;Where LastName = 'Abel'&lt;/font&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;font color="#4bacc6"&gt;USE AdventureWorks;&lt;br&gt;GO&lt;br&gt;SELECT FirstName &lt;br&gt;FROM person.Contact&lt;br&gt;WHERE LastName = 'Abel';&lt;br&gt;GO&lt;/font&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;BACKUP LOG AdventureWorks&lt;br&gt;TO DISK = 'E:\Backups\ADWORKSTLOG.bak'&lt;br&gt;WITH NOINIT;&lt;br&gt;GO&lt;/font&gt; &lt;p&gt;&lt;font color="#000000"&gt;Now if you check the file position numbers for the T-Log you should see two entries:&lt;/font&gt;&lt;/p&gt;&lt;font color="#4bacc6"&gt;RESTORE Headeronly&lt;br&gt;FROM DISK= 'E:\Backups\ADWORKSTLOG.bak'&lt;br&gt;GO&lt;/font&gt; &lt;p&gt;&lt;font color="#000000"&gt;OK, so to recap the name changed from Catherine to Irene to Letitia to Magda. Say we want to restore the whole thing. Remove the database. Then restore the database using the full backup. AdventureWorks will be put into into restoring mode.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;RESTORE DATABASE AdventureWorks&lt;br&gt;FROM DISK = 'E:\Backups\ADWORKSFULL.bak'&lt;br&gt;WITH FILE = 1,&lt;br&gt;REPLACE,&lt;br&gt;NORECOVERY;&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Now that's done, use the last differential. Check the file position numbers:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;RESTORE Headeronly&lt;br&gt;FROM DISK= 'E:\Backups\ADWORKSFULL.bak'&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;In my case position 2. &lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;RESTORE DATABASE AdventureWorks&lt;br&gt;FROM DISK = 'E:\Backups\ADWORKSFULL.bak'&lt;br&gt;WITH FILE = 2&lt;br&gt;GO&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Now, that's been sorted I apply the T-Log backup. Use position 1 then 2 in that order&lt;/p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;RESTORE LOG AdventureWorks&lt;br&gt;FROM DISK = ‘E:\Backups\ADWORKSTLOG.bak’&lt;br&gt;WITH FILE = 1,&lt;br&gt;NORECOVERY;&lt;br&gt;GO&lt;/font&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;font color="#4bacc6"&gt;USE master;&lt;br&gt;GO&lt;br&gt;RESTORE LOG AdventureWorks&lt;br&gt;FROM DISK = ‘E:\Backups\ADWORKSTLOG.bak’&lt;br&gt;WITH FILE = 2,&lt;br&gt;RECOVERY;&lt;br&gt;GO&lt;/font&gt; &lt;p&gt;The final log is restored with the &lt;strong&gt;RECOVERY &lt;/strong&gt;option to make the database accessible to users. In a real recovery scenario, this will usually be the orphaned log.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-283210357172110171?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/283210357172110171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/07/sql-backup-strategies-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/283210357172110171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/283210357172110171'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/07/sql-backup-strategies-part-2.html' title='SQL Backup Strategies Part 2 How To Backup and Restore…'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/-Hf4gRW-bLhA/TiiZ5rvhB0I/AAAAAAAAAd8/pp4ndDMsUwE/s72-c/SQLBACKUP1_thumb%25255B5%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-160604957013288258</id><published>2011-07-13T23:09:00.001+01:00</published><updated>2011-07-18T17:03:43.890+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>SQL 2008 Backup Strategies</title><content type='html'>&lt;p&gt;For some reason I have found the SQL recovery models and backup strategies a strange mix of being confusing but interesting. To help understand the subject of backup/restore and SQL’s different recovery models I thought I’d share my understanding with the world at large. Maybe if anyone out there is reading this you can contribute as well.&lt;/p&gt; &lt;p&gt;The backup strategy you use depends on a variety of recoverability considerations:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;What is the level of transaction volume. Does the database change minute-by-minute or say hour-by-hour?  &lt;li&gt;What is considered to be an acceptable recovery time?  &lt;li&gt;What is considered an acceptable level of data loss? Maybe you need to return to an exact moment in time.  &lt;li&gt;How big can a backup be? &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;A backup strategy will require you to make decisions as to which kind of backup to make. And there are several. So you will need a fundamental understanding of these backup types.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Full Database Backup&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;A full database backup will truncate the transaction log and then copy every remaining data page and transaction log page to the backup media. The transaction log truncation will be non-reorganizing, meaning that no attempt is made to defrag/compact the log. It is simply truncated to the point of the last required transaction. Most backup strategies require a full database backup as the baseline for recovery. Remember that the log file will be truncated! From what I've read there is little point on having multiple log files. Keep just one. Also place the transaction log on a separate physical structure from the database. That way a loss of the disk containing the data files will not affect the log file. This may also help performance as log files are written to sequentially. Also, use RAID 1 so the log will be available in case of device loss. Regular backups will mean that not only will the log file not get too big but this will help prevent fragmentation. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Differential Backup&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;A differential backup will store all of the database pages that have been modified since the last full database backup. Note that this is a true differential backup and not an incremental backup. This means that each differential backup is inclusive of all transactions executed since the last full database backup and not simply since the last differential backup. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;File or Filegroup Backup&lt;/strong&gt; &lt;/p&gt; &lt;p&gt;If you are dealing with a very large database, you can back up individual files or filegroups. Breaking a large database into files or filegroups for backup allows you to back up portions of it on a rotating schedule when it might be too time-consuming to back up the entire database at once. If there is a failure affecting only one file or filegroup, only that portion and subsequent transaction logs would need to be restored. The log file is not in a filegroup. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Transaction Log Backup&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;This backup type will perform a non-reorganizing backup of the transaction log and store the transactions to the backup media. The backup types mentioned above store copies of the data pages at a particular time. This type of backup stores the actual transactions statements. When you restore using the full or differential backups, using the transaction log backup as well will involve replaying (if that’s the right word?) or re-executing the transactions on the log backup again which would be written back to the database. This process could take some time. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Recovery Models&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Now that we understand (I hope) the different backup types, you need consider SQL’s three recovery models. Recovery is all about how the log file is treated by the SQL server on a day-to-day basis and what is made available for backup. Remember its all about the log file! Recovery in this context is about the level of logging and log retention.&lt;/p&gt; &lt;p&gt;You can determine the recovery model (which by default will be full) in the following way:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Connect the SQL Server Management Studio to the correct instance hosting the database  &lt;li&gt;Expand the Databases folder and locate the right database  &lt;li&gt;Right click the database and select Properties  &lt;li&gt;Select Options  &lt;li&gt;Decide on the recovery model by selecting Recovery Model&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-8USqQMhxUtU/Th4XikSadiI/AAAAAAAAAdQ/DveLqWIgJ7g/s1600-h/recoverysql%25255B3%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="recoverysql" border="0" alt="recoverysql" src="http://lh6.ggpht.com/-yRFH3POiGvg/Th4XjKljdPI/AAAAAAAAAdU/mhtwr_keDzs/recoverysql_thumb%25255B1%25255D.png?imgmax=800" width="313" height="166"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;You can alter the recovery model using the following statement:&lt;/p&gt; &lt;p&gt;&lt;font color="#809ec2"&gt;alter database TESTDB&lt;br&gt;set recovery Full&lt;/font&gt;&lt;/p&gt; &lt;p&gt;You should realize that the recovery model you choose will impact on the backup method you choose. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Simple&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Simple means that the log file will be truncated each time the data pages and log pages held in RAM are flushed are written to disk (checkpointed).&amp;nbsp; This keeps the log file small (there’s no point in backing up the log, in fact you can’t) which is good. But, you will not be able to recover to a point in time. You wouldn’t usually use this one. You might if it was a read-only database or you were developing a database application perhaps. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Bulk-Logged&lt;/strong&gt; &lt;/p&gt; &lt;p&gt;The bulk-logged recovery model uses less disk space than a full logging solution by performing minimal transaction logging for the following operations:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;SELECT INTO  &lt;li&gt;bulk-load  &lt;li&gt;CREATE INDEX  &lt;li&gt;All operations involving text and image data types&lt;/li&gt;&lt;/ul&gt; &lt;blockquote&gt; &lt;p&gt;A database that is in bulk-logged recovery mode cannot be recovered to a specific point in time if a bulk transaction has occurred. You still require log backups. A bulk insert (where you might be inserting a million rows into a table) would cause the log file to become very large if every transaction was recorded (if in Full mode) and would have performance implications. So you can switch to bulk logged from full just before the bulk operation. Once complete you set the recovery model back to full.&amp;nbsp; The bulk operation would be logged as a kind of summary statement. So every transaction would be recorded while being in Full mode, then a summary of the bulk operation and then a continuation of all transactions when in Full mode again. What about the point-in-time recoveries?&lt;font style="background-color: #000000"&gt; If the database is in the bulk-logged recovery model and no bulk actions have occurred since the last full backup, the database can be restored to a point in time. If, however, a bulk action has occurred, it can only be fully restored&lt;/font&gt;. So, it minimally logs bulk transactions but fully logs other transactions. &lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;strong&gt;Full&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The full recovery model is what you would use most of the time. It will give you the best recoverable opportunity at the expense of logging overhead however. Microsoft recommend that you use this model over the other two. The full recovery model will log every transaction to the log and is persistent after a checkpoint. A transaction is a change and any change on the database will cause an entry to be added to the log! A read does not cause a change so this of course will not cause an entry to be made to the log. &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;OK, so we are happy with the different backup types and with the different recovery models. The recovery models really describe how the transaction log is written to and whether the log truncates after a checkpoint or after a backup. With this combined knowledge we can consider the following backup strategies:&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Strategy One: Simple&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;This strategy is suitable under the following conditions:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;The database is relatively small  &lt;li&gt;The database does not change minute-by-minute (less volatile)&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;With this strategy transaction log growth is kept under control, you won’t have to backup the transaction logs but this will mean there may be a small amount of data loss. &lt;/p&gt; &lt;p&gt;&lt;em&gt;How do you do it ?&lt;/em&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Set the recovery model to simple  &lt;li&gt;Take full backups on a schedule of your choice (every night perhaps)  &lt;li&gt;If there is a failure you will have to restore the most recent full database backup. That’s it.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Simple recovery means no transaction logs to use in the restore process. You won’t be able to return to a point-in-time and data loss will probably occur. But this of course depends on how dynamic the database is.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-UMJOmlLHeZc/Th95IWGMffI/AAAAAAAAAdY/vjxJdJPKbhw/s1600-h/simple%252520backup%25255B6%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="simple backup" border="0" alt="simple backup" src="http://lh6.ggpht.com/-uQ__yZAZqwM/Th95JEHyTYI/AAAAAAAAAdc/yTzo5Xb0md4/simple%252520backup_thumb%25255B4%25255D.png?imgmax=800" width="450" height="221"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Strategy Two: The Database Only Backup Strategy&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;This strategy is suitable under the following conditions:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Low transaction volume  &lt;li&gt;The transaction log be on a separate hard disk from database. Hardware failure of the database does not affect the log.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;With this strategy, the transaction log is truncated because of a full database backup. &lt;/p&gt; &lt;p&gt;&lt;em&gt;How do you do it?&lt;/em&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Set the recovery model to Full or Bulk-Logged.  &lt;li&gt;Take full database backups on your preferred schedule (perhaps every night)  &lt;li&gt;If there is a database disk failure, begin by backing up the orphaned log  &lt;li&gt;Restore from the most recent full backup followed by a restore of the orphaned log.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;As you can see, database only backup can be restored to a point-in-time where the that time starts from the last full backup to time of disaster. The orphaned log would have transactions from the last full backup to time of disaster. As long as the log stays safe on another disk from the database your OK. If you lose the log though you lose transactions from the last full backup to time of disaster. As long as you make regular full backups and you have low transaction volume you should be OK.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Strategy Three: The Transaction Log Backup Strategy&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;This strategy is suitable under the following conditions:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Higher transaction volumes (causing increased log growth)  &lt;li&gt;Longer restore time is acceptable&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Instead of backing up the database file as a way of truncating the log, you backup the transaction log file. Backing up the transaction log will truncate log and keep its size under control. Although the backup up time will be relatively quick to do, the restore process will take time.&lt;/p&gt; &lt;p&gt;&lt;em&gt;How do you do it?&lt;/em&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Set the recovery model to Full or Bulk-Logged.  &lt;li&gt;Take a full database backup that will act as the transaction log baseline (perhaps at 1:00AM)  &lt;li&gt;Take regularly scheduled full database backups with periodic log backups in between (perhaps every at 6 hour intervals; 7:00 AM, 1:00 PM, 7:00 PM)  &lt;li&gt;If there is a database disk failure, begin by taking a backup of the orphaned log immediately  &lt;li&gt;Restore the most recent full database backup, followed by each of the subsequent log backups in the order that they were taken.  &lt;li&gt;Finally, restore the orphaned log.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;So if your first full backup was taken on Monday at 1:00 AM and a disk failure occurred at 6:00 PM on Tuesday you would take the following steps:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Immediately take a backup of the orphaned log file  &lt;li&gt;Restore in the following order:  &lt;ul&gt; &lt;li&gt;Full backup from Tuesday 1:00AM  &lt;li&gt;T-log backup from Tuesday 7:00 AM  &lt;li&gt;T-log backup from Tuesday 1:00 PM  &lt;li&gt;Orphaned log at Tuesday 6:00 PM&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Pray&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Strategy Four: The Differential Backup Strategy&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The transaction log strategy described above can be slow. The more you have the longer it will take to restore the database to the point of failure. If the changes made to a database are restricted to a particular number or subset of data pages, you could take differential backups instead of full backups. The transaction logs would then need to be restored only from the point of the latest differential backup. &lt;/p&gt; &lt;ol&gt; &lt;li&gt;Set the recovery model to Full or Bulk-Logged.  &lt;li&gt;Take a full database backup that will act as the transaction log baseline.  &lt;li&gt;Take periodic full database backups as needed (perhaps once once a week)  &lt;li&gt;Take differential backups between the full database backups to record only the data pages that have been modified since the last full database backup  &lt;li&gt;Take transaction log backups between the differential backups to record the individual transactions between each of the differentials.  &lt;li&gt;If there is a database disk failure, begin by taking a backup of the orphaned log.  &lt;li&gt;Restore the most recent full database backup followed by the most recent differential backup.  &lt;li&gt;Restore all transaction log backups taken since the last differential backup in the order that the backups were taken.  &lt;li&gt;Finally, restore the orphaned log.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-ewuloKwPHYo/TiITCYO_ZZI/AAAAAAAAAdo/Q3V2LoZqAxc/s1600-h/sql3%25255B5%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="sql3" border="0" alt="sql3" src="http://lh6.ggpht.com/-HkSzfDwZaao/TiITC9Z8ZqI/AAAAAAAAAds/rcXcMGbeXJU/sql3_thumb%25255B3%25255D.png?imgmax=800" width="496" height="155"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Assuming the above model, a disaster at 1:00 Wednesday would require the following steps:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Immediately take a backup of the orphaned log file  &lt;li&gt;Restore in the following order:  &lt;ul&gt; &lt;li&gt;Full backup from Monday 1:00 AM  &lt;li&gt;Differential from Tuesday 6:00 PM  &lt;li&gt;Transaction log from Wednesday 10:00 AM  &lt;li&gt;Orphaned log at Wednesday 1:00 AM&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Beer&lt;/li&gt;&lt;/ol&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-160604957013288258?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/160604957013288258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/07/sql-2008-backup-strategies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/160604957013288258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/160604957013288258'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/07/sql-2008-backup-strategies.html' title='SQL 2008 Backup Strategies'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/-yRFH3POiGvg/Th4XjKljdPI/AAAAAAAAAdU/mhtwr_keDzs/s72-c/recoverysql_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-2501386212833993037</id><published>2011-07-04T23:18:00.001+01:00</published><updated>2011-07-04T23:20:14.752+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Pre-requisites for Installing SQL Server 2008 on Windows Server 2008 R2 Using PowerShell</title><content type='html'>&lt;p&gt;First step is to allow execution of scripts by changing the execution policy:&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Set-ExecutionPolicy unrestricted (then say ‘Yes’)&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Then copy and paste the following commands to install the pre-requisite operating system components needed&lt;/p&gt; &lt;p&gt;&lt;font color="#4bacc6"&gt;[PS] Add-WindowsFeature AS-NET-Framework,web-server,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Redirect,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Basic-Auth,Web-Windows-Auth,Web-Client-Auth,Web-Cert-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Compat,Web-Metabase,Web-WMI,Web-Lgcy-Scripting,Web-Lgcy-Mgmt-Console –restart&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-2501386212833993037?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/2501386212833993037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/07/pre-requisites-for-installing-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2501386212833993037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2501386212833993037'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/07/pre-requisites-for-installing-sql.html' title='Pre-requisites for Installing SQL Server 2008 on Windows Server 2008 R2 Using PowerShell'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-309168852485402948</id><published>2011-07-03T22:07:00.000+01:00</published><updated>2011-08-01T22:04:53.440+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Powershell'/><title type='text'>Troubleshooting Exchange 2010 Management Tools Startup Issues</title><content type='html'>&lt;p&gt;Pretty good article on how to fix PowerShell errors &lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.technet.com/b/jribeiro/archive/2010/04/05/troubleshooting-exchange-2010-management-tools-startup-issues.aspx" target="_blank"&gt;http://blogs.technet.com/b/jribeiro/archive/2010/04/05/troubleshooting-exchange-2010-management-tools-startup-issues.aspx&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-309168852485402948?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/309168852485402948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/08/troubleshooting-exchange-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/309168852485402948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/309168852485402948'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/08/troubleshooting-exchange-2010.html' title='Troubleshooting Exchange 2010 Management Tools Startup Issues'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-1704864944673155289</id><published>2011-06-15T23:48:00.001+01:00</published><updated>2011-06-15T23:48:10.981+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asterisk'/><title type='text'>How to Convert .wav Files to .gsm Files</title><content type='html'>&lt;p&gt;&lt;code&gt;&lt;pre&gt;&lt;font face="Calibri"&gt;This is how you convert wav files to gsm files used by &lt;/font&gt;&lt;font face="Calibri"&gt;Asterisk&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Calibri"&gt;for i in *.wav&lt;br /&gt;do&lt;br /&gt;        sox $i -r 8000 -c 1 $(basename $i .wav).gsm resample -ql&lt;br /&gt;done&lt;/font&gt;&lt;/pre&gt;&lt;/code&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-1704864944673155289?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/1704864944673155289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/06/how-to-convert-wav-files-to-gsm-files.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1704864944673155289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1704864944673155289'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/06/how-to-convert-wav-files-to-gsm-files.html' title='How to Convert .wav Files to .gsm Files'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-4928824258175495346</id><published>2011-06-13T15:04:00.001+01:00</published><updated>2011-06-15T23:14:49.104+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asterisk'/><title type='text'>How to Configure Asterisk…a very basic guide!</title><content type='html'>&lt;p&gt;After hours of work and frustration I was greeted with “Is that it?” by her-indoors and “Dad can we play now…this stuff is totally boring!” by the little one. Well it was worth it…&lt;/p&gt; &lt;p&gt;First thing get yourself Asterisk running on Centos (maybe on VMWare etc.). The following link to &lt;a href="http://www.youtube.com/watch?v=nIrnGZMnJg0&amp;amp;feature=BFa&amp;amp;list=ULUZkOYKLktNo&amp;amp;index=14" target="_blank"&gt;MiamiManni&lt;/a&gt; on YouTube will provide all the information on how to install the operating system and install Asterisk. This guy is brilliant! The only two files that you need to configure are the sip.conf and extensions.conf files. The following configurations should work for you. As you can see I have configured only two SIP phones in my lab.&lt;/p&gt; &lt;p&gt;&lt;font size="4"&gt;&lt;strong&gt;sip.conf&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;[general]&lt;br&gt;port=5060&lt;br&gt;bindaddr=0.0.0.0&lt;br&gt;context=other&lt;/p&gt; &lt;p&gt;&lt;br&gt;register =&amp;gt; &lt;em&gt;username&lt;/em&gt;:&lt;em&gt;account_password&lt;/em&gt;@&lt;em&gt;voip_provider_fqdn&lt;/em&gt;/&lt;em&gt;username&lt;/em&gt;&lt;/p&gt; &lt;p&gt;[2000]&lt;br&gt;type=friend&lt;br&gt;context=my-phones&lt;br&gt;secret=&lt;em&gt;a_good_password&lt;/em&gt;&lt;br&gt;host=dynamic&lt;/p&gt; &lt;p&gt;[2001]&lt;br&gt;type=friend&lt;br&gt;context=my-phones&lt;br&gt;secret=&lt;em&gt;a_good_password&lt;/em&gt;&lt;br&gt;host=dynamic&lt;/p&gt; &lt;p&gt;[ext-sip-account]&lt;br&gt;type=friend&lt;br&gt;context=from-voip-provider&lt;br&gt;username=&lt;em&gt;your_username&lt;/em&gt;&lt;br&gt;fromuser=&lt;em&gt;your_DID&lt;/em&gt;&lt;br&gt;secret=&lt;em&gt;account_password&lt;/em&gt;&lt;br&gt;host=&lt;em&gt;voip_provider_fqdn&lt;/em&gt;&lt;br&gt;fromdomain=&lt;em&gt;voip_provider_fqdn&lt;/em&gt;&lt;/p&gt; &lt;p&gt;qualify=yes&lt;br&gt;insecure=port,invite&lt;br&gt;nat=yes&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font size="4"&gt;&lt;strong&gt;extensions.conf&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;[globals]&lt;/p&gt; &lt;p&gt;[general]&lt;br&gt;autofallthrough=yes&lt;/p&gt; &lt;p&gt;[my-phones]&lt;br&gt;exten =&amp;gt; 2000,1,Dial(SIP/2000,20)&lt;br&gt;exten =&amp;gt; 2000,2,Voicemail(2000,u)&lt;/p&gt; &lt;p&gt;exten =&amp;gt; 2001,1,Dial(SIP/2001,20)&lt;br&gt;exten =&amp;gt; 2001,2,Voicemail(2001,u)&lt;/p&gt; &lt;p&gt;exten =&amp;gt; 2999,1,VoiceMailMain(${CALLERID(num)},s)&lt;/p&gt; &lt;p&gt;&lt;br&gt;exten =&amp;gt; _X.,1,Dial(SIP/${EXTEN}@ext-sip-account)&lt;/p&gt; &lt;p&gt;[from-voip-provider]&lt;br&gt;exten =&amp;gt; &lt;em&gt;your_DID_Number&lt;/em&gt;,1,Dial(SIP/2000,20)&lt;br&gt;&lt;/p&gt; &lt;p&gt;As said, this will provide you with just the basics. &lt;/p&gt; &lt;p&gt;Remember to open the following ports:&lt;/p&gt; &lt;p&gt;SIP 5004-5100 TCP and UDP&lt;/p&gt; &lt;p&gt;STUN 3400-3499 TCP and UDP&lt;/p&gt; &lt;p&gt;RTPSIP 10000-20000 UDP&lt;/p&gt; &lt;p&gt;Remember to reload asterisk in the CLI&amp;gt; after you make changes to the sip.conf and extensions.conf changes.&lt;/p&gt; &lt;p&gt;You can test trunk registration by typing “CLI&amp;gt; sip show registry”&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-4928824258175495346?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/4928824258175495346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/06/how-to-configure-asteriska-very-basic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4928824258175495346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4928824258175495346'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/06/how-to-configure-asteriska-very-basic.html' title='How to Configure Asterisk…a very basic guide!'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-4246201611143735810</id><published>2011-06-08T23:06:00.000+01:00</published><updated>2011-06-15T23:03:14.605+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Connect CentOS to Windows 7 or 2008</title><content type='html'>&lt;p&gt;I needed to connect my CentOS system to a Windows 7 machine (which is in a workgroup) quickly. &lt;/p&gt; &lt;ul&gt; &lt;li&gt;Yum install samba3x&lt;/li&gt; &lt;li&gt;Yum install samba3x-client&lt;/li&gt; &lt;li&gt;Yum install samba3x-swat&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Once installed I was able to connect to a Windows share by typing&lt;/p&gt; &lt;p&gt;smbclient //&lt;em&gt;WindowsNetBIOSName&lt;/em&gt;/&lt;em&gt;ShareName –&lt;/em&gt;U &lt;em&gt;Username (on WindowsMachine)&lt;/em&gt;&lt;/p&gt; &lt;p&gt;You should be prompted for a password for Windows user account. Using ‘get’ command I was able to copy a file to the CentOS machine. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-4246201611143735810?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/4246201611143735810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/06/connect-centos-to-windows-7-or-2008.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4246201611143735810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4246201611143735810'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/06/connect-centos-to-windows-7-or-2008.html' title='Connect CentOS to Windows 7 or 2008'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-3187397975967550552</id><published>2011-06-01T21:44:00.001+01:00</published><updated>2011-06-01T21:52:25.227+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forefront Protection for Exchange 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Forefront'/><title type='text'>Kaspersky Engine Does Not Update in Forefront Protection for Exchange 2010</title><content type='html'>&lt;p&gt;I found that FPE Kaspersky anti-virus engine failed to update.&amp;nbsp; FPE should use the Kaspersky 8 engine and not the Kaspersky 5 engine (which has stopped being published). &lt;/p&gt; &lt;ol&gt; &lt;li&gt;Download the localenginemapping.cab from this location: &lt;a href="http://go.microsoft.com/fwlink/?LinkId=196982"&gt;http://go.microsoft.com/fwlink/?LinkId=196982&lt;/a&gt;&lt;/li&gt; &lt;li&gt;To enable Kaspersky 8, copy the localenginemapping.cab to the following location ( …\Program Files (x86)\Microsoft Forefront Protection for Exchange Server\Data\Engines\metadata). The settings will take effect automatically. The next engine update will provide the Kaspersky 8 engine.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;If you need to determine your Exchange server rollup version you can run this &lt;a href="http://cid-14adc5cf1e0cbccf.skydrive.live.com/self.aspx/.Public/Blog-Bhargavs/Exchange/Get-ExchangeUpdateRollups.ps1?sa=96372547" target="_blank"&gt;script&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-3187397975967550552?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/3187397975967550552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/06/kaspersky-engine-does-not-update-in.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/3187397975967550552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/3187397975967550552'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/06/kaspersky-engine-does-not-update-in.html' title='Kaspersky Engine Does Not Update in Forefront Protection for Exchange 2010'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-7767609408874154387</id><published>2011-05-31T10:01:00.001+01:00</published><updated>2011-05-31T12:28:52.835+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exchange 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Forefront'/><title type='text'>FPE and FOPE ?</title><content type='html'>&lt;p&gt;Check out this webcast that describes what Exchange provides in terms of anti-spam and anti-virus and how Forefront Protection for Exchange (FPE) and Forefront Online Protection for Exchange (FOPE) improves things.&lt;pre class="csharpcode"&gt;&lt;a href="http://content2.catalog.video.msn.com/e2/ds/alt-en-us/ALTENUS_TECHNET/ALTENUS_TECHNET/298b3406-1a11-447e-8d60-deee5e465200.wmv" target="_blank"&gt;Click here!&lt;/a&gt;&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;FPE &lt;a href="http://www.microsoft.com/fpe" target="_blank"&gt;homepage&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;FOPE &lt;a href="http://www.microsoft.com/fope" target="_blank"&gt;homepage&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;/object&gt;&lt;br /&gt;&lt;/object&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-7767609408874154387?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/7767609408874154387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/05/fpe-and-fope.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7767609408874154387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7767609408874154387'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/05/fpe-and-fope.html' title='FPE and FOPE ?'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-647552280836405860</id><published>2011-05-28T22:35:00.001+01:00</published><updated>2011-05-28T22:35:51.817+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Edge Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Client Access Servers'/><category scheme='http://www.blogger.com/atom/ns#' term='Exchange 2010'/><title type='text'>Don't put CAS in the Perimeter network!</title><content type='html'>&lt;p&gt;The following link provides a good read on why Microsoft does not support putting your CAS servers in the DMZ. Well Done Exchange Team!&lt;/p&gt; &lt;p&gt;&lt;a title="http://blogs.technet.com/b/exchange/archive/2009/10/21/3408587.aspx" href="http://blogs.technet.com/b/exchange/archive/2009/10/21/3408587.aspx"&gt;http://blogs.technet.com/b/exchange/archive/2009/10/21/3408587.aspx&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-647552280836405860?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/647552280836405860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/05/don-put-cas-in-perimeter-network.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/647552280836405860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/647552280836405860'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/05/don-put-cas-in-perimeter-network.html' title='Don&amp;#39;t put CAS in the Perimeter network!'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-1164492588709700504</id><published>2011-05-26T12:57:00.003+01:00</published><updated>2011-05-26T13:05:33.994+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Edge Server'/><category scheme='http://www.blogger.com/atom/ns#' term='hub transport'/><title type='text'>Enable Anti-Spam Functionality on a Hub Transport Server</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In some small organizations, it may make sense to run Microsoft Exchange Server 2010 anti-spam features on Hub Transport servers. For example, some organizations may not have enough e-mail volume to justify the cost of installing and maintaining a full perimeter network together with an Edge Transport server. &lt;br /&gt;You can enable Exchange anti-spam functionality on Hub Transport servers.&lt;br /&gt;&lt;br /&gt;Run the following command from the %system drive%/Program Files\Microsoft\Exchange Server\V14\Scripts folder:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: #6fa8dc;"&gt;./install-AntispamAgents.ps1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After the script has run, restart the Microsoft Exchange Transport service by running the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #6fa8dc;"&gt;Restart-Service MSExchangeTransport&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;You must specify all internal SMTP servers on the transport configuration object in Active Directory forest before you run connection filtering. Specify the internal SMTP&lt;br /&gt;servers by using the InternalSMTPServers parameter on the Set-TransportConfig cmdlet.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #6fa8dc; font-size: small;"&gt;Set-TransportConfig -InternalSMTPServers 192.168.3.1&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-1164492588709700504?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/1164492588709700504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/05/enable-anti-spam-functionality-on-hub.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1164492588709700504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1164492588709700504'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/05/enable-anti-spam-functionality-on-hub.html' title='Enable Anti-Spam Functionality on a Hub Transport Server'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-7293210887455250947</id><published>2011-05-24T23:57:00.001+01:00</published><updated>2011-05-24T23:57:32.970+01:00</updated><title type='text'>Hyper-V Export Error: “Failed to Create Export Directory”</title><content type='html'>&lt;p&gt;If you receive this error while trying to export your VMs in Hyper-V, don’t despair! Just rename the virtual machine name in the management console and it will work (as if by magic…)&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_agRZ53BRnWM/Tdw32nmOLMI/AAAAAAAAAcs/_cvDJ7nTYN4/s1600-h/vmrename%5B2%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="vmrename" border="0" alt="vmrename" src="http://lh4.ggpht.com/_agRZ53BRnWM/Tdw33Nx_BuI/AAAAAAAAAcw/5f7gVGHjMHM/vmrename_thumb.png?imgmax=800" width="244" height="108"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-7293210887455250947?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/7293210887455250947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/05/hyper-v-export-error-failed-to-create.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7293210887455250947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7293210887455250947'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/05/hyper-v-export-error-failed-to-create.html' title='Hyper-V Export Error: “Failed to Create Export Directory”'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_agRZ53BRnWM/Tdw33Nx_BuI/AAAAAAAAAcw/5f7gVGHjMHM/s72-c/vmrename_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-7944051243054390658</id><published>2011-05-16T11:47:00.003+01:00</published><updated>2011-05-16T20:26:47.040+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WinRM'/><category scheme='http://www.blogger.com/atom/ns#' term='Powershell'/><title type='text'>Enable PowerShell Remoting While Running VMWare Workstation in a Domain</title><content type='html'>&lt;p&gt;After trying to configure WinRM I received the following error:&lt;br clear="all"&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_agRZ53BRnWM/TdEAxOye3mI/AAAAAAAAAU0/__mC6CDNh4E/s1600-h/winrm1%5B2%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="winrm1" border="0" alt="winrm1" src="http://lh6.ggpht.com/_agRZ53BRnWM/TdEAxsyW1pI/AAAAAAAAAU4/3zwcMhogT40/winrm1_thumb.png?imgmax=800" width="244" height="19"&gt;&lt;/a&gt;&lt;br clear="all"&gt;&lt;/p&gt; &lt;p&gt;To avoid this I found the following link very &lt;a href="http://powertoe.wordpress.com/2009/12/28/enable-powershell-remoting-while-running-vmware-workstation-in-a-domain/" target="_blank"&gt;usefull&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-7944051243054390658?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/7944051243054390658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/05/enable-powershell-remoting-while.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7944051243054390658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7944051243054390658'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/05/enable-powershell-remoting-while.html' title='Enable PowerShell Remoting While Running VMWare Workstation in a Domain'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_agRZ53BRnWM/TdEAxsyW1pI/AAAAAAAAAU4/3zwcMhogT40/s72-c/winrm1_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-3919088401932693702</id><published>2011-05-16T09:33:00.000+01:00</published><updated>2011-05-16T09:33:10.494+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RDS'/><category scheme='http://www.blogger.com/atom/ns#' term='VDI'/><category scheme='http://www.blogger.com/atom/ns#' term='Hyper-V'/><title type='text'>How to Build a VDI Infrastructure Using VM Pools</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In previous posts I have detailed steps to create Remote Desktop Services application hosting. The flip side of hosting applications using RDS services on Windows Server&amp;nbsp; 2008 R2, is to use RDS services to provide a pool of virtual machines (Windows 7 clients) that users can connect to and use as there own desktops In some of the training schools I attend, this provides a real benefit. Students can connect to a single virtual machine being hosted on Hyper-V. The VM connected to is a member of a pool of VMs. Once the session is over and the student logs off, the VM is returned to a saved Hyper-V snapshot ready to start over again. &lt;br /&gt;&lt;br /&gt;This post will detail steps to create a VDI Infrastructure by using different RDS services including Remote&lt;br /&gt;Desktop Virtualization Host Server. At its most basic, Virtual Desktop Infrastructure (VDI) is a deployment design that puts the user desktop on a virtual machine (VM) in the datacenter, rather than on the physical computer at someone’s desk. There are different types of VDI. These include:&lt;/div&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;Users can connect to a Virtual Desktop (VD) that has specifically been assigned to that user by using the Remote Desktop Connection Client. The user does not have to know which VM the VD is actually on.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;A pool of desktops available to a set of users on a temporary basis. It is this that we will be trying to create.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;Some terms that are often used when discussing VDI include the following:  &lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;The computer that is running the RDC client and that someone sits in front of is called the client.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The VM that this person is connecting to is the endpoint, or the guest (a guest of the RD Virtualization Host it’s running on).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Preparing a VM to be used (for example, bringing it out of hibernation) is called orchestration.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Moving a VM to a new RD Virtualization Host is called placement. Placement is not part of the basic RDS VDI solution but might be supported via a filter plug-in.&lt;/li&gt;&lt;/ul&gt;The following diagram hopes to expose how a typical VDI 'comes together', and shows you the different RDS services involved. Central to VDI is the role of the &lt;b&gt;Connection Broker&lt;/b&gt;. Clients can make connection requests using a web interface, RDC client etc.&amp;nbsp; &lt;br /&gt;&lt;a href="http://lh3.ggpht.com/_agRZ53BRnWM/TchM6vJQ_2I/AAAAAAAAASY/OGCp8NP50a8/s1600-h/vdi1%5B2%5D.png"&gt;&lt;img alt="vdi1" border="0" height="244" src="http://lh4.ggpht.com/_agRZ53BRnWM/TchM659gmYI/AAAAAAAAASc/28EnGeC4i54/vdi1_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi1" width="160" /&gt;&lt;/a&gt;&amp;nbsp;  As you can see, clients can connect to the VDI in a number of different ways, some of which have been investigated in earlier posts. My personal favourite is by Remote Desktop Web Access! In all these cases, the request is brokered by the RD&amp;nbsp; Connection Broker. RD Connection Broker works with RDP clients back to RDP 5.2 (which was available for Windows XP SP2 and Windows Server 2003), so the vast majority of Microsoft RDP clients are supported.&lt;br /&gt;To support Microsoft VDI, you’ll need to do the following. &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Install the RD Virtualization Host.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Install and configure the RD Connection Broker (including the Remote Desktop Session Host in redirector mode on the same computer).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Install and configure RD Web Access to allow users to discover the VMs.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Configure the VMs to work with VDI.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Create pools (and assign personal desktops if required).&lt;/li&gt;&lt;/ul&gt;We will look at these in turn. &lt;br /&gt;&lt;br /&gt;&lt;h1&gt;&lt;b&gt;&lt;span style="font-size: large;"&gt;Install the RD Virtualization Host&lt;/span&gt;&lt;/b&gt;&lt;/h1&gt;&lt;ul&gt;&lt;li&gt;Install Hyper-V Server 2008 R2 on a suitable machine ( I am not adding Hyper-V as a role but as an operating system which can be downloaded from Microsoft &lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=48359dd2-1c3d-4506-ae0a-232d0314ccf6&amp;amp;displaylang=en" target="_blank"&gt;HERE&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Once Hyper-V is installed configure it to have suitable NetBIOS name, IP domain membership etc.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Next enable PowerShell v2 on the system by following an &lt;a href="http://compulinx.blogspot.com/2010/10/how-to-enable-powershell-in-hyper-v.html" target="_blank"&gt;earlier post&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Next you will need to consider management of your Hyper-V server from say a Windows 7 machine. This machine needs to be domain joined and you need to be in as a Domain Administrator. The details can be found by following an &lt;a href="http://compulinx.blogspot.com/2010/10/management-of-hyper-v-from-windows-7.html" target="_blank"&gt;earlier post&lt;/a&gt; and essentially involves adding the RSAT tools. Don’t forget to also add Server Manager as well because you will need to use this interface in the configuration of the Hyper-V server in addition to Hyper-V management!&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The next big step is to Install Remote Desktop Virtualization Host on your Hyper-V server. An &lt;a href="http://compulinx.blogspot.com/2010/10/how-to-install-remote-desktop.html" target="_blank"&gt;earlier post&lt;/a&gt; details how to do this and you will see how you benefit from installing PowerShell which you did in an above step.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;h1&gt;&lt;span style="font-size: large;"&gt;Install and Configure the RD Connection Broker and RD Session Host Roles&lt;/span&gt;&lt;/h1&gt;On a separate server you will need to install the RD Connection Broker role and RD Session Host role. The RDCB is real brains behind the whole thing. The RDSH role is co-resident with RDCB but it doesn’t have to be. &lt;br /&gt;&lt;ol&gt;&lt;li&gt;Log on to the computer as a member of the Domain Administrators group&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select Start Administrative Tools Server Manager.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;In the Roles Summary section, click Add Roles.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the Before You Begin page, click Next.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select the Remote Desktop Services check box, and then click Next.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select the Remote Desktop Connection Broker and Remote Desktop Session Host role services check box and then click Next&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click Next on the application compatibility warning&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select ‘Require Network Level Authentication’ and click Next&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select ‘Configure Later’ on the Licensing Mode and click Next&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Add Domain Users to allow your users access&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click next on the Client Experience page.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click Install on the confirmation page.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;You will now have to restart the RDCB/RDSH server&lt;/li&gt;&lt;/ol&gt;Now the two roles have been installed on a server you should continue by configuring the roles.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;On the same server, select Admin Tools&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select to Remote Desktop Services&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select Remote Desktop Connection Manager (this is configuring RDCB)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select RD Virtualisation Host Servers (shown below) and right click&lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;a href="http://lh4.ggpht.com/_agRZ53BRnWM/Tc6-xLZpJKI/AAAAAAAAASs/r7SwfwAOLBk/s1600-h/vdi32.png"&gt;&lt;img alt="vdi3" border="0" height="62" src="http://lh5.ggpht.com/_agRZ53BRnWM/Tc6-xsDs39I/AAAAAAAAASw/3zgrgHUVoDU/vdi3_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi3" width="244" /&gt;&lt;/a&gt;&lt;br clear="all" /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select Add RD Virtualisation Host Server and enter the name of your Hyper-V machine installed earlier&lt;br /&gt;&lt;/li&gt;&lt;li&gt;You should then see the number of virtual machines created on your Hyper-V system. NB. That this works specifically with Hyper-V and no other Hypervisor. The number seen represents all Hyper-V hosted virtual machines be they on or off.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select Remote Desktop Connection Manager:&lt;i&gt;ServerName&lt;/i&gt;&amp;nbsp; which can be found on the top left part of the window. Their are a number of different configuration settings here (shown below)&lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;a href="http://lh6.ggpht.com/_agRZ53BRnWM/Tc6-yj6lBYI/AAAAAAAAAS0/c-TwUsjCTFw/s1600-h/vdi42.png"&gt;&lt;img alt="vdi4" border="0" height="190" src="http://lh3.ggpht.com/_agRZ53BRnWM/Tc6-y93pw_I/AAAAAAAAAS4/P8fr3SLDTrM/vdi4_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi4" width="244" /&gt;&lt;/a&gt;&lt;br clear="all" /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;You can change the Display Name. This name will appear in the Web Portal (on RD Web Access). This is shown below:&lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;a href="http://lh6.ggpht.com/_agRZ53BRnWM/Tc6-zbKaL5I/AAAAAAAAAS8/erA8ZBj3jJ0/s1600-h/vdi52.png"&gt;&lt;img alt="vdi5" border="0" height="244" src="http://lh3.ggpht.com/_agRZ53BRnWM/Tc6-zqqW64I/AAAAAAAAATA/5U5vjBf488o/vdi5_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi5" width="241" /&gt;&lt;/a&gt;&lt;br clear="all" /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the RD Web Access tab enter the name of the RD Web Access server. If you don’t have one installed I will go though this later, but don’t forget this needs to be added here! The RDWA server account is made a member of the local TS Web Access Computer Group.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;You should see ‘1’ RD Virtualisation Host Server has been added (from step 5 above)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;You can now configure ‘RD Session Host server for redirection’. Select Configure. As this server is also running as a RDSH machine, the same server name should be present. See the diagram below:&lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;a href="http://lh3.ggpht.com/_agRZ53BRnWM/Tc6-0GjsUFI/AAAAAAAAATE/9LhyZfHtHhQ/s1600-h/vdi62.png"&gt;&lt;img alt="vdi6" border="0" height="244" src="http://lh5.ggpht.com/_agRZ53BRnWM/Tc6-0g10y3I/AAAAAAAAATI/cb26_5yAxM4/vdi6_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi6" width="229" /&gt;&lt;/a&gt;&lt;br clear="all" /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;You can also enable redirection for earlier clients as shown above.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select Admin Tools&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select Remote Desktop Services&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select Remote Desktop Session Host Configuration (this is configuring the RDSH). Remember that both RDSH and RDCB are on the same machine but you could have them running on separate machines.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Under Remote Desktop Connection Broker on the main page, select ‘Member of Farm in RD Connection Broker’.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the RD Connection Broker Tab, select Change Settings&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Ensure that the Virtual Machine Redirection button is selected&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Add the RDCB server name to the RD Connection Broker Server Name field:&lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;a href="http://lh3.ggpht.com/_agRZ53BRnWM/Tc6-03_x1zI/AAAAAAAAATM/tV9vLO0db5o/s1600-h/vdi82.png"&gt;&lt;img alt="vdi8" border="0" height="244" src="http://lh4.ggpht.com/_agRZ53BRnWM/Tc6-1DqVyLI/AAAAAAAAATQ/K_hrHBWLrJU/vdi8_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi8" width="239" /&gt;&lt;/a&gt;&lt;br clear="all" /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;You may receive an error. Ensure that the RDSH computer account has been added to the local computer group ‘Session Broker Computers’ on the RDCB.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the Digital Signature tab, you are required to define a suitable certificate. The &lt;a href="http://compulinx.blogspot.com/2011/03/how-to-setup-remote-desktop-session_06.html" target="_blank"&gt;following post&lt;/a&gt; will describe how to create the certificate using Active Directory Certificate Services. The certificate can be shared (I mean it can be the same certificate) amongst all the RD servers. You do this by exporting the certificate. I have gone to some length to explain this in the referred post. &lt;/li&gt;&lt;/ol&gt;&lt;h1&gt;&lt;/h1&gt;&lt;h1&gt;&lt;/h1&gt;&lt;h1&gt;&lt;/h1&gt;&lt;h1&gt;&lt;span style="font-size: large;"&gt;Install and configure RD Web Access&lt;/span&gt;&lt;/h1&gt;&lt;ol&gt;&lt;li&gt;On a separate server add the RD Web Access Server Role: Log on to the computer as a member of the Domain Administrators group&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select Start Administrative Tools Server Manager&lt;br /&gt;&lt;/li&gt;&lt;li&gt;In the Roles Summary section, click Add Roles&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the Before You Begin page, click Next&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select the Remote Desktop Services check box, and then click Next.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select the Remote Desktop Web Access role service check box and then click Next.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Continue on through the wizard and do not change any of the required components.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Once the role has been installed, you should import the server certificate that you have used on the RDCB/RDSH server. If you have created this certificate correctly, you should have defined the right Subject Alternative names which will mean that when a user connects to the RDWA server using the web portal, no errors should occur.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Once the certificate is in place reboot the server.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Once restarted, select Admin Tools&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select Remote Desktop Services&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select Remote Desktop Web Access Configuration&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Sign in as Administrator and select configure. The interface is shown below:&lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;a href="http://lh3.ggpht.com/_agRZ53BRnWM/Tc6-1rRe-II/AAAAAAAAATU/FHdHlnTOfUE/s1600-h/vdi72.png"&gt;&lt;img alt="vdi7" border="0" height="157" src="http://lh6.ggpht.com/_agRZ53BRnWM/Tc6-1xVkmkI/AAAAAAAAATY/DY21S_gqeAk/vdi7_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi7" width="244" /&gt;&lt;/a&gt;&lt;br clear="all" /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select the RD Connection Broker and add the RDCB name as the Source Name.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;You should not receive any errors if you have added the RDWA computer account to the local TS Web Access Computer Group on the RDCB server (see step 9 of Install RDCB and RDSH above)&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h1&gt;&lt;span style="font-size: large;"&gt;Configure the VMs to work with VDI&lt;/span&gt;&lt;/h1&gt;In my test infrastructure I have installed two Windows 7 virtual machines on Hyper-V. The following configuration is made on both of course. &lt;br /&gt;&lt;ol&gt;&lt;li&gt;Each machine needs to be joined to the domain&lt;/li&gt;&lt;li&gt;Click Start, Control Panel, System and Security, click on System, Advanced System Settings and select the Remote tab. Select the radio button that allows connections using Network Level Authentication. Also select the Select Users button. Define which users should have remote access. You will most likely add Domain Users.&lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;a href="http://lh3.ggpht.com/_agRZ53BRnWM/Tc7tbNjo8hI/AAAAAAAAATc/pcYozJ13upw/s1600-h/vdi9%5B8%5D.png"&gt;&lt;img alt="vdi9" border="0" height="244" src="http://lh6.ggpht.com/_agRZ53BRnWM/Tc7tbk5ZiRI/AAAAAAAAATg/ur9Q0NSpqNw/vdi9_thumb%5B2%5D.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi9" width="220" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;br clear="all" /&gt;&lt;li&gt;You will then need to enable RemoteRPC. Remote Procedure calls (RPCs) allow other processes to connect with the operating system. They’re required to allow the VM Host Agent to wake up the VM. To allow RPC connectivity,&lt;br /&gt;set the value of AllowRemoteRPC to 1 in the location HKLM/System/CurrentControlSet/Control/Terminal Server. &lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;a href="http://lh3.ggpht.com/_agRZ53BRnWM/Tc7tb-VFE6I/AAAAAAAAATk/hX3C1fvHLSc/s1600-h/vdi10%5B5%5D.png"&gt;&lt;img alt="vdi10" border="0" height="197" src="http://lh6.ggpht.com/_agRZ53BRnWM/Tc7tceRSA8I/AAAAAAAAATo/RpLN_6gUNOg/vdi10_thumb%5B1%5D.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi10" width="244" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;We next should configure each Windows 7 machines firewall to allow for Remote Desktop. Select Start, type ‘Fire’ and from the list given select ‘Allow Program Through the Windows Firewall’. Select Change Settings and select ‘Remote Desktop’ on the Domain Profile&lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;a href="http://lh5.ggpht.com/_agRZ53BRnWM/Tc78JaPVvlI/AAAAAAAAATs/-khl0sd-IkU/s1600-h/vdi11%5B5%5D.png"&gt;&lt;img alt="vdi11" border="0" height="170" src="http://lh4.ggpht.com/_agRZ53BRnWM/Tc78J0XW_wI/AAAAAAAAATw/hGM74_MQVJ8/vdi11_thumb%5B1%5D.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi11" width="244" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;You will next need to configure RD virtualization host RDP permissions. This is a little tricky. I have found that running a PowerShell script to be the easiest solution. The script can be found &lt;a href="http://gallery.technet.microsoft.com/scriptcenter/bd2e02d0-efe7-4f89-84e5-7ad70f9a7bf0" target="_blank"&gt;here&lt;/a&gt;. A copy can be found at the bottom of this post. Just copy the script to a text document and save as a file with a PS1 extension. &lt;/li&gt;&lt;li&gt;Select Start and simply type ‘Power’ in the search field. Select the PowerShell icon that appears (you should run this as an Administrator).&lt;/li&gt;&lt;li&gt;Type the cmdlet &lt;b&gt;&lt;span style="color: #4bacc6;"&gt;set-executionpolicy&lt;/span&gt; unrestricted&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Locate the directory&amp;nbsp; that your script is in (created in step 5) and type the following cmdlet: &lt;span style="color: #4bacc6;"&gt;.&lt;b&gt;\&lt;i&gt;yourscript&lt;/i&gt;.ps1 –RDVHost &lt;i&gt;yourdomain\RD Virtualisation Server&lt;/i&gt;&lt;/b&gt;&lt;/span&gt; replacing the script, domain and RD virtualisation server with your own&lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;a href="http://lh5.ggpht.com/_agRZ53BRnWM/Tc78KCJGOEI/AAAAAAAAAT0/nEr4Hhl4uBs/s1600-h/vdi12%5B6%5D.png"&gt;&lt;img alt="vdi12" border="0" height="92" src="http://lh6.ggpht.com/_agRZ53BRnWM/Tc78KcI2P2I/AAAAAAAAAT4/mghfJ5UMRBg/vdi12_thumb%5B1%5D.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi12" width="244" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Remember to do this on each Windows 7 machine!&lt;/li&gt;&lt;li&gt;Your next move is to take snapshots of the virtual machines running on your Hyper-V system. Make sure you log off each Windows 7 system. Select each Windows 7 virtual machine and select snapshot as indicated below: &lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;a href="http://lh4.ggpht.com/_agRZ53BRnWM/Tc8NVKKsqvI/AAAAAAAAAT8/0SMl73YKTwo/s1600-h/vdi13%5B2%5D.png"&gt;&lt;img alt="vdi13" border="0" height="132" src="http://lh4.ggpht.com/_agRZ53BRnWM/Tc8NVVwTyaI/AAAAAAAAAUA/4r7wSFJtDAA/vdi13_thumb.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi13" width="244" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Once each snapshot has been taken, ensure that each one is renamed with RDV_Rollback in the snapshot name: &lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;a href="http://lh6.ggpht.com/_agRZ53BRnWM/Tc8NV7kPbdI/AAAAAAAAAUE/klwrc89Pigc/s1600-h/vdi14%5B5%5D.png"&gt;&lt;img alt="vdi14" border="0" height="165" src="http://lh3.ggpht.com/_agRZ53BRnWM/Tc8NWDsTYqI/AAAAAAAAAUI/EKkaM9GbQGU/vdi14_thumb%5B1%5D.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi14" width="244" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The above procedure will automatically roll the VM back to this snapshot after the user logs off. &lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h1&gt;&lt;span style="font-size: large;"&gt;Create VM Pools&lt;/span&gt;&lt;/h1&gt;&lt;span style="font-size: large;"&gt;&lt;/span&gt;&lt;br /&gt;Our next task is to create a VM Pool on the RD Connection Broker. &lt;br /&gt;&lt;ol&gt;&lt;li&gt;Log on as Domain Admin on the RD Connection Broker. &lt;/li&gt;&lt;li&gt;Open the RD Connection Manager from the RD Services in Admin Tools.&lt;/li&gt;&lt;li&gt;Select RD Virtualisation Host Servers&lt;/li&gt;&lt;li&gt;Under Actions on the right hand side, select ‘Create Virtual Desktop Pool’&lt;/li&gt;&lt;li&gt;Click Next on the Welcome screen&lt;/li&gt;&lt;li&gt;You should now see all of your virtual machines created on your Hyper-V system. &lt;/li&gt;&lt;li&gt;Using CTRL key select each Windows 7 machine. Click Next&lt;/li&gt;&lt;li&gt;Enter a name for the pool. Something like ‘Windows 7 Pool’.&lt;/li&gt;&lt;li&gt;Enter the name for the Pool ID. Something like ‘Pool1’&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h1&gt;&lt;/h1&gt;&lt;h1&gt;&lt;span style="font-size: large;"&gt;How Does the User Connect?&lt;/span&gt;&lt;/h1&gt;A user can connect to the pool using the web portal hosted on the RD Web Access Server. &lt;br /&gt;&lt;ol&gt;&lt;li&gt;Opens a browser and types the URL of the RDWA server followed by /owa (E.g. &lt;a href="https://rdwaserver/rdweb"&gt;https://RDWAserver/rdweb&lt;/a&gt;) &lt;/li&gt;&lt;li&gt;Sign in as an ordinary user&lt;/li&gt;&lt;li&gt;You should now see the Windows 7 pool created above:&lt;br clear="all" /&gt;&lt;br clear="all" /&gt;&lt;a href="http://lh6.ggpht.com/_agRZ53BRnWM/Tc8Ue8DLEHI/AAAAAAAAAUM/Lzp4dZlpQFs/s1600-h/vdi16%5B2%5D.png"&gt;&lt;img alt="vdi16" border="0" height="128" src="http://lh4.ggpht.com/_agRZ53BRnWM/Tc8UfRGv3lI/AAAAAAAAAUQ/MPpTaVPb2oo/vdi16_thumb.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="vdi16" width="244" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Select the pool and provide the password&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br clear="all" /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-3919088401932693702?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/3919088401932693702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/05/how-to-build-vdi-infrastructure-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/3919088401932693702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/3919088401932693702'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/05/how-to-build-vdi-infrastructure-using.html' title='How to Build a VDI Infrastructure Using VM Pools'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_agRZ53BRnWM/TchM659gmYI/AAAAAAAAASc/28EnGeC4i54/s72-c/vdi1_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-7492730354546302472</id><published>2011-03-30T13:21:00.002+01:00</published><updated>2011-03-30T20:02:57.007+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Powershell'/><title type='text'>Using the Powershell to Send Email Messages (Send-MailMessage)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;With Exchange 2007 SP2 you can send emails from within powershell! To avoid authentication issues, your default receive connector must allow anonymous users to connect. This is normally required when you allow connections to your exchange server from the Internet. You can do this from the shell:&lt;br /&gt;&lt;br /&gt;To determine your connector name:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Get-ReceiveConnector&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This will provide the following output (EX1 being the name of my exchange server)&lt;br /&gt;&lt;br /&gt;Identity Bindings Enabled&lt;br /&gt;&lt;br /&gt;-------- -------- -------&lt;br /&gt;EX1\Default EX1 {:::25, 0.0.0.0:25} True&lt;br /&gt;&lt;br /&gt;EX1\Client EX1 {:::587, 0.0.0.0:587} True &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Now you can determine the current permissions set on the Default connector: &lt;br /&gt;&amp;nbsp; &lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Get-ReceiveConnector "EX1\Default EX1" ft name,perm* -au&lt;/span&gt; &lt;br /&gt;&amp;nbsp; &lt;br /&gt;This will provide the current permissions set on the connector. If the connector has not been configured to receive mail from the Internet, then you will most likely NOT see "Anonymous" listed. This will need to be included. You can do this as follows: &lt;br /&gt;&amp;nbsp; &lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Get-ReceiveConnector "EX1\Default EX1" |Set-ReceiveConnector -PermissionGroups AnonymousUsers, ExchangeUsers, ExchangeServers, ExchangeLegacyServers&lt;/span&gt; &lt;br /&gt;&lt;span style="color: black;"&gt;&lt;/span&gt;&amp;nbsp; &lt;br /&gt;Once this is done, you can send email from the powershell. Here's an example where the administrator (user currently running powershell) sends an email to a recipient (usermailbox) called ben: &lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Send-MailMessage -From &lt;/span&gt;&lt;a href="mailto:administrator@compulinx.local"&gt;&lt;span style="color: #3d85c6;"&gt;administrator@compulinx.local&lt;/span&gt;&lt;/a&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp;-To &lt;/span&gt;&lt;a href="mailto:ben@compulinx.local"&gt;&lt;span style="color: #3d85c6;"&gt;ben@compulinx.local&lt;/span&gt;&lt;/a&gt;&lt;span style="color: #3d85c6;"&gt; -Subject "Test Email" -Body "Hi Ben ...Just a test" -SmtpServer ex1.compulinx.local&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-7492730354546302472?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/7492730354546302472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/03/using-powershell-to-send-email-messages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7492730354546302472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7492730354546302472'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/03/using-powershell-to-send-email-messages.html' title='Using the Powershell to Send Email Messages (Send-MailMessage)'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-6243667841723271584</id><published>2011-03-24T22:55:00.001Z</published><updated>2011-04-12T20:39:25.896+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Session Host'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Web Access'/><category scheme='http://www.blogger.com/atom/ns#' term='RDS Farm'/><category scheme='http://www.blogger.com/atom/ns#' term='SAN Certificates'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Connection Broker'/><category scheme='http://www.blogger.com/atom/ns#' term='Certificates'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Services'/><title type='text'>How to Setup a Remote Desktop Session Host Farm using NLB on Server 2008 R2 (Part 2)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In a earlier post I went through installing a single remote desktop session host server. The post can be found &lt;a href="http://compulinx.blogspot.com/2010/10/installing-remote-desktop-session-host.html" target="_blank"&gt;here&lt;/a&gt;. The screenshots shown below overview the installation of the RDSH role.  &lt;br /&gt;As this is a test lab, I will not be installing a Licensing Server.&lt;br /&gt;&lt;div class="wlWriterEditableSmartContent" id="scid:66721397-FF69-4ca6-AEC4-17E6B3208830:bef728a1-871c-473e-9e3a-3e8ca187394f" style="display: inline; float: none; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-style: none; margin: 0px; outline: none; padding: 0px; width: 410px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border-style: none; margin: 0px; outline: none; padding: 0px; width: auto;"&gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D%21178&amp;amp;type=5&amp;amp;authkey=AUKL9B2Ced8%24&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" style="border-style: none; margin: 0px; outline: none; padding: 0px;" target="_blank"&gt;&lt;img alt="View album" src="http://lh6.ggpht.com/_agRZ53BRnWM/TYtxXglw8TI/AAAAAAAAARc/ptwStTZ5-w0/album%5B67%5D.jpg?imgmax=800" style="background-image: none; background: none; border-style: none; border: 0px; margin: 0px; outline: none; padding: 0px; vertical-align: bottom;" title="View album" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="margin: 0px; overflow: visible; padding: 0px; text-align: center; width: 410px;"&gt;&lt;div style="overflow: visible; width: 410px;"&gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=browse&amp;amp;resid=7DA6F3E4B234428D%21178&amp;amp;type=5&amp;amp;authkey=AUKL9B2Ced8%24&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" style="text-decoration: none;" target="_blank"&gt;&lt;span defaulttext="Enter album name here" style="font-family: 'Segoe UI',helvetica,arial,sans-serif; font-size: 26pt; line-height: 1.26em; padding: 0px; width: 410px;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: 'Segoe UI', helvetica, arial, sans-serif; font-size: 8pt; margin: 0px 0px 0px 0px; padding: 9px 0px 0px 0px; text-align: center;"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-style: none; margin-left: auto; margin-right: auto; outline: none; padding: 0px; text-align: center; width: auto;"&gt;&lt;tbody&gt;&lt;tr&gt;                                       &lt;td style="border-style: none; margin: 0px; outline: none; padding: 6px 12px 6px 0px; vertical-align: top;"&gt;&lt;a border="0" href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D%21178&amp;amp;type=5&amp;amp;authkey=AUKL9B2Ced8%24&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" style="border-style: none; font-family: 'Segoe UI', helvetica, arial, sans-serif; font-size: 8pt; margin: 0px; outline: none; padding: 0px; text-decoration: none;" target="_blank"&gt;VIEW SLIDE SHOW&lt;/a&gt;&lt;/td&gt;                                       &lt;td style="border-style: none; margin: 0px; outline: none; padding: 6px 0px 6px 0px; vertical-align: top;"&gt;&lt;a border="0" href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=downloadphotos&amp;amp;resid=7DA6F3E4B234428D%21178&amp;amp;type=5&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=AUKL9B2Ced8%24" style="border-style: none; font-family: 'Segoe UI', helvetica, arial, sans-serif; font-size: 8pt; margin: 0px; outline: none; padding: 0px; text-decoration: none;" target="_blank"&gt;DOWNLOAD ALL&lt;/a&gt;&lt;/td&gt;                                                                            &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;So, install the RDSH role on both servers and add ‘Domain Users’ to the local ‘Remote Desktop Users’ group.  &lt;br /&gt;&lt;b&gt;RDSH Certificates Template&lt;/b&gt;  &lt;br /&gt;We now need to configure the RDSH servers to use machine certificates obtained from an enterprise CA. All servers involved in the provision of remote applications to connecting clients require machine certificates. Each server will obtain its own machine certificate from an Enterprise CA. This will be used for remote desktop connections. However, I have found that you will need to share a signing certificate amongst both RDSH and RDCB servers (this certificate originated from RDSH1). I will show you how to create a suitable certificate template on the CA which we will use to enrol a needed certificate on each RDSH server.  &lt;br /&gt;&lt;ol&gt;&lt;li&gt; &lt;div&gt;On the Enterprise CA, under the Certificate Template Node, select Manage and duplicate a Web Server certificate. Select Windows 2008.&lt;/div&gt;&lt;/li&gt;&lt;li&gt; &lt;div&gt;Give the certificate an appropriate name. &lt;/div&gt;&lt;/li&gt;&lt;li&gt; &lt;div&gt;On the Security tab, ensure that all servers involved are placed on the security ACL tab with 'Read' and 'Enrol' permissions.&lt;/div&gt;&lt;/li&gt;&lt;li&gt; &lt;div&gt;On the Request Handling tab, ensure that the Allow Private Key to be Exported is selected &lt;/div&gt;&lt;/li&gt;&lt;li&gt; &lt;div&gt;On the Subject Name tab, ensure the Supply in the Request radio button is selected.&lt;/div&gt;&lt;/li&gt;&lt;li&gt; Select the Certificate Template Node, right click and select New. Locate the duplicated certificate just created and ensure that it is listed in the Certificate Template list.&lt;/li&gt;&lt;/ol&gt;&lt;div class="wlWriterEditableSmartContent" id="scid:66721397-FF69-4ca6-AEC4-17E6B3208830:d0410d6a-0bd9-4a9d-9451-73ead0850b22" style="display: inline; float: none; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-style: none; margin: 0px; outline: none; padding: 0px; width: 410px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border-style: none; margin: 0px; outline: none; padding: 0px; width: auto;"&gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D%21187&amp;amp;type=5&amp;amp;authkey=Lhg91oPtZbg%24&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" style="border-style: none; margin: 0px; outline: none; padding: 0px;" target="_blank"&gt;&lt;img alt="View album" src="http://lh6.ggpht.com/_agRZ53BRnWM/TYumn9hzs4I/AAAAAAAAARg/YEzipuSXB1c/album%5B68%5D.jpg?imgmax=800" style="background-image: none; background: none; border-style: none; border: 0px; margin: 0px; outline: none; padding: 0px; vertical-align: bottom;" title="View album" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="margin: 0px; overflow: visible; padding: 0px; text-align: center; width: 410px;"&gt;&lt;div style="overflow: visible; width: 410px;"&gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=browse&amp;amp;resid=7DA6F3E4B234428D%21187&amp;amp;type=5&amp;amp;authkey=Lhg91oPtZbg%24&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" style="text-decoration: none;" target="_blank"&gt;&lt;span defaulttext="Enter album name here" style="font-family: 'Segoe UI',helvetica,arial,sans-serif; font-size: 26pt; line-height: 1.26em; padding: 0px; width: 410px;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: 'Segoe UI', helvetica, arial, sans-serif; font-size: 8pt; margin: 0px 0px 0px 0px; padding: 9px 0px 0px 0px; text-align: center;"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-style: none; margin-left: auto; margin-right: auto; outline: none; padding: 0px; text-align: center; width: auto;"&gt;&lt;tbody&gt;&lt;tr&gt;                                       &lt;td style="border-style: none; margin: 0px; outline: none; padding: 6px 12px 6px 0px; vertical-align: top;"&gt;&lt;a border="0" href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D%21187&amp;amp;type=5&amp;amp;authkey=Lhg91oPtZbg%24&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" style="border-style: none; font-family: 'Segoe UI', helvetica, arial, sans-serif; font-size: 8pt; margin: 0px; outline: none; padding: 0px; text-decoration: none;" target="_blank"&gt;VIEW SLIDE SHOW&lt;/a&gt;&lt;/td&gt;                                       &lt;td style="border-style: none; margin: 0px; outline: none; padding: 6px 0px 6px 0px; vertical-align: top;"&gt;&lt;a border="0" href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=downloadphotos&amp;amp;resid=7DA6F3E4B234428D%21187&amp;amp;type=5&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=Lhg91oPtZbg%24" style="border-style: none; font-family: 'Segoe UI', helvetica, arial, sans-serif; font-size: 8pt; margin: 0px; outline: none; padding: 0px; text-decoration: none;" target="_blank"&gt;DOWNLOAD ALL&lt;/a&gt;&lt;/td&gt;                                                                            &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&amp;nbsp; &lt;br /&gt;Now that you have created a new certificate template that will be used by the Remote Desktop servers, you should define revocation information on certificates your CA will publish. This is detailed in an earlier post (See &lt;a href="http://compulinx.blogspot.com/2011/01/how-to-setup-server-2008-r2-online.html"&gt;Step 1 Configure Enterprise CA to Support AIA Extension to Support OCSP&lt;/a&gt;). This post will also explain the importance of OSCP in overcoming any revocation errors that you might receive when connecting externally.&lt;br /&gt;&lt;hr /&gt;The next logical step would be to obtain suitable machine certificates for the RDS servers.&lt;br /&gt;&lt;b&gt;Manually Obtain Machine Certificates on Your RDS Servers&lt;/b&gt;  &lt;br /&gt;Now that the RDS certificate template and the correct revocation settings have been made, you can now obtain the necessary machine certificates. Use the following procedure:  &lt;br /&gt;&lt;ol&gt;&lt;li&gt;On your RDS servers, log on as Administrator&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Type MMC in Run&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select File, Add Remove Snap-in&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Under Available snap-ins, select Certificates and click Add&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select Computer account and click next&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select Local computer and click finish and click Ok&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the Certificates snap-in, select the Personal node, right click and select All Tasks, Request New Certificate&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click Next on the Before You Begin window and click Next again&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select the certificate template created above and select the blue hyperlink&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Under the Subject tab type a suitable Common Name. If the certificate is to be used and sent externally (on the Internet) then you should use a public DNS name. Click Add.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Under Alternative name, select DNS and add names corresponding to both public DNS and any private FQDNs. The DNS name should also include the name of the farm that you intend to use (plan wisely!). At this point, you should add the host record (mapping farm name to an IP address) to your internal DNS server. The IP address used will be the IP used for your NLB cluster (more on this later!)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Under General tab, write a suitable name and description for the certificate.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Under Private Key select make Private Key Exportable. You may need to copy the certificate to other servers at some point (that is certificate and private key)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click Apply and OK to finish the wizard&lt;br /&gt;&lt;/li&gt;&lt;li&gt;You should repeat this procedure on both RDSH, RDCB servers and for the RDWA server (with suitable external and internal names).&lt;/li&gt;&lt;/ol&gt;Once you complete the certificate request, you should see your certificate in your certificate MMC personal store. Now you have them, now you need to assign them correctly.&lt;br /&gt;&lt;b&gt;Configuration of Remote Desktop Session Host Configuration and its Certificate (Do this on each RDS server)&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Select Admin Tools, RDS and then open Remote Desktop Session Host Configuration.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Under Connections select RDP-TCP properties&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the General tab you will probably find the Certificate is set to Default. Using the select key make sure you define the certificate you installed above.&lt;/li&gt;&lt;/ol&gt;&lt;i&gt;This should be done for each RDS server (&lt;u&gt;each server should use its own certificate obtained from the Enterprise CA&lt;/u&gt;).&lt;/i&gt;  &lt;br /&gt;&lt;b&gt;To configure a certificate used to digitally sign the RDP file (Do this on both RDSH servers farm members)&lt;/b&gt;  &lt;br /&gt;I have found that it helps to use the same machine certificate across both RDSH servers and on the RDCB server. You will have to export the certificate with private key (therefore a .pfx file) from RDSH1 to RDSH2 &lt;i&gt;and &lt;/i&gt;to RDCB. To export the certificate, just right click on the personal machine certificate in a MMC and select Export. Then import the certificate onto the other machines using a MMC once more. Once the certificate has been&amp;nbsp; exported/imported you can now deal with configuring that certificate to digitally sign the RDP file.  &lt;br /&gt;First, configure a certificate used to digitally sign the RDP file by using RemoteApp Manager.  &lt;br /&gt;&lt;ol&gt;&lt;li&gt;Log on to RDSH1 as Domain\Administrator.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Administrative Tools&lt;/b&gt;, point to &lt;b&gt;Remote Desktop Services&lt;/b&gt;, and then click &lt;b&gt;RemoteApp Manager&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Under the &lt;b&gt;Overview&lt;/b&gt; section, click &lt;b&gt;Change&lt;/b&gt; next to &lt;b&gt;Digital Signature Settings&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select the &lt;b&gt;Sign with a digital certificate&lt;/b&gt; check box.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click &lt;b&gt;Change&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the &lt;b&gt;Confirm Certificate&lt;/b&gt; page, select the appropriate certificate, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click &lt;b&gt;OK&lt;/b&gt; to close the &lt;b&gt;RemoteApp Deployment Settings&lt;/b&gt; dialog box. &lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Certificates and Domain Joined Clients&lt;/b&gt;&lt;br /&gt;Domain joined clients will automatically have the CA root certificates stored in their trusted root store. They will not need personal machine certificates only the trusted root certificate in order to validate certificates received from the RDSH servers.&lt;br /&gt;&lt;h5&gt;Configure the RD Connection Broker server (RDCB server)&lt;/h5&gt;On a separate member server, install the RD Connection Broker role service. Import the digital certificate used by RDSH server to the Personal certificate store of the computer (remembering to import a PFX file). Then configure the imported certificate used to digitally sign the RDP file.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open Remote Desktop Connection Manager. To open Remote Desktop Connection Manager, click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Administrative Tools&lt;/b&gt;, point to &lt;b&gt;Remote Desktop Services&lt;/b&gt;, and then click &lt;b&gt;Remote Desktop Connection Manager&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Under the &lt;b&gt;Virtual Desktops: Resources and Configuration&lt;/b&gt; heading, click &lt;b&gt;Specify&lt;/b&gt; next to &lt;b&gt;Digital Certificate&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the &lt;b&gt;Digital Signature&lt;/b&gt; tab, select the &lt;b&gt;Sign with a Digital Certificate&lt;/b&gt; check box.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click &lt;b&gt;Select&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;In the &lt;b&gt;Confirm Certificate&lt;/b&gt; dialog box, click the certificate that you want to use for signing the RDP files, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/li&gt;&lt;/ol&gt;&lt;h5&gt;Configure the RD Web Access server (RDWA server) &lt;/h5&gt;On a separate member server, install the RD Web Access role service.You will need to obtain a certificate for this server like you obtained a certificate for the RDSH server from the Enterprise CA.&amp;nbsp; &lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Setting Up Authorization&lt;/b&gt;&lt;br /&gt;A chain of authorization needs to be set up. The RDSH servers needs to authorize the RDCB and in turn the RDCB will authorize the RDWA server. You must add Web Access and Connection Broker Servers to TS Web Access Group on Session Host Servers (RDSH1 &amp;amp; RDSH2)  &lt;br /&gt;&lt;ul&gt;&lt;li&gt;On each of your RD Session Hosts go to Start &amp;gt; Administrative Tools &amp;gt; Computer Management.&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://lh4.ggpht.com/_agRZ53BRnWM/TYxz-U4GKuI/AAAAAAAAAPE/56P6n2byX2E/s1600-h/authorize1%5B2%5D.png"&gt;&lt;img alt="authorize1" border="0" height="176" src="http://lh5.ggpht.com/_agRZ53BRnWM/TYxz_a93jRI/AAAAAAAAAPI/AZLAOfsEJ9c/authorize1_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="authorize1" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Open Local Users and Groups and select the Groups sub-folder on the left, then double click the “TS Web Access Computers”&amp;nbsp; group in the center.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Add the names of your RD Web Access and Connection Broker servers. &lt;/li&gt;&lt;/ul&gt;Add Web Access Servers to TS Web Access Group on Connection Broker Server. &lt;br /&gt;Now on the Connection Broker add the Web Access servers to the TS Web Access group.&amp;nbsp; You can do this through Computer Management like above or you can do it using the RD Connection Manager.&amp;nbsp; &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Go to Start &amp;gt; Admin Tools &amp;gt; Remote Desktop Services &amp;gt; Remote Desktop Connection Manager.&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://lh5.ggpht.com/_agRZ53BRnWM/TYx0AFxIDlI/AAAAAAAAAPM/c6RRXeANrB0/s1600-h/authorize2%5B2%5D.png"&gt;&lt;img alt="authorize2" border="0" height="186" src="http://lh5.ggpht.com/_agRZ53BRnWM/TYx0AV2LcrI/AAAAAAAAAPQ/p6h4CzllYDQ/authorize2_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="authorize2" width="244" /&gt;&lt;/a&gt;  &lt;br /&gt;&lt;ul&gt;&lt;li&gt;On the Actions pane, click Add RD Web Access Server.&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://lh4.ggpht.com/_agRZ53BRnWM/TYx0A_NMOSI/AAAAAAAAAPU/EUseL4pZsnQ/s1600-h/authorize3%5B2%5D.png"&gt;&lt;img alt="authorize3" border="0" height="150" src="http://lh5.ggpht.com/_agRZ53BRnWM/TYx0BZwbB7I/AAAAAAAAAPY/5EyHMlJ6EZw/authorize3_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="authorize3" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Enter the FQDNs of any RDWA servers&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;Add Session Hosts to Session Broker Computers Group on Connection Broker &lt;/b&gt;&lt;br /&gt;Now we need to add our Session Hosts to a group to give them the ability to use the Connection Broker.&amp;nbsp; Add them to the local group in Computer Management.&lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_agRZ53BRnWM/TYx0B2cF4FI/AAAAAAAAAPc/bhPjlLvTFbs/s1600-h/authorize4%5B2%5D.png"&gt;&lt;img alt="authorize4" border="0" height="142" src="http://lh5.ggpht.com/_agRZ53BRnWM/TYx0CXAnAtI/AAAAAAAAAPg/NbKLVigGI24/authorize4_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="authorize4" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Add each RDSH server to the list&lt;/li&gt;&lt;/ul&gt;&lt;hr /&gt;&lt;b&gt;Configure Session Hosts to Use Connection Broker (RD1 &amp;amp; RD2) &lt;/b&gt; &lt;br /&gt;Now all of our Session Hosts need to be configured to use the Connection Broker’s services.&amp;nbsp; On each RDSH:  &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Select Admin Tools, Remote Desktop Service, Remote Desktop Session Host Configuration.&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://lh4.ggpht.com/_agRZ53BRnWM/TYx0C3XIU-I/AAAAAAAAAPk/_Q90VDUy1vk/s1600-h/authorize5%5B2%5D.png"&gt;&lt;img alt="authorize5" border="0" height="196" src="http://lh6.ggpht.com/_agRZ53BRnWM/TYx0DNnx8II/AAAAAAAAAPo/PgXxS1T6BkE/authorize5_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="authorize5" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Double-click ‘Member of Farm in RD Connection Broker’ which is under ‘RD Connection Broker’&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://lh5.ggpht.com/_agRZ53BRnWM/TYx0DtPeMSI/AAAAAAAAAPs/u5KS1JuO0rw/s1600-h/authorize6%5B2%5D.png"&gt;&lt;img alt="authorize6" border="0" height="197" src="http://lh6.ggpht.com/_agRZ53BRnWM/TYx0EWkQRDI/AAAAAAAAAPw/a6IIsw74xUI/authorize6_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="authorize6" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Under the RD Connection Broker tab click the Change Settings button.&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://lh6.ggpht.com/_agRZ53BRnWM/TYx75Z3UUPI/AAAAAAAAAP8/gNl--i2363M/s1600-h/authorize7%5B5%5D.png"&gt;&lt;img alt="authorize7" border="0" height="196" src="http://lh5.ggpht.com/_agRZ53BRnWM/TYx754q9Q-I/AAAAAAAAAQA/2qKteQ8vPks/authorize7_thumb%5B1%5D.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="authorize7" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;In the resulting RD Connection Broker Settings window, you specify how this RD Session Host server will interact with RD Connection Broker—that is, what the relationship is. Choose Farm Member and then enter the RD Connection Broker server FQDN and the farm name in the input boxes (see above). You should use the FQDN rather than flat NetBIOS name. This name should be one of the subject names used in the certificate created.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click OK and you will be back on the RD Connection Broker Properties tab. The check box next to Participate in Connection Broker Load Balancing is selected by default. Leave it selected.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The weight describes its capacity relative to the other RD Session Host servers in the farm. Although all RD Session Host servers should be configured identically, not all will necessarily have the same amount of&lt;br /&gt;memory or the same number of processor cores. For example, if a server is only 75% as powerful as other servers in the farm, then you can reduce its weight to allow it only 75% as many connections as the other servers. The default value is 100.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Also by default, the redirection method—how a client connects to the RD Session Host server once RD Connection Broker decides which server should accommodate the connection—is set to Use IP Address Redirection. If the initial load balancer allows clients to connect directly to RD Session Host servers in the farm, keep this default&lt;br /&gt;setting. Unless you have a good reason, you should leave Use IP Address Redirection.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;In the bottom section of this page, select the IP address that will be used for reconnections to this server. NOTE If you have more than one network adapter that you want to use, you can choose them all by checking the box next to each network adapter.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Perform this process for each member of the farm, taking care to use the same farm name and the same redirection method on all farm members.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Configure RemoteApp to Connect to RD Server Farm &lt;/b&gt; &lt;br /&gt;We need to provide the RD farm address so that clients will connect to it when running RemoteApps.&amp;nbsp; On each Session Host:  &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Select &lt;b&gt;Start, Admin Tools, Remote Desktop Services &lt;/b&gt;and &lt;b&gt;RemoteApp Manager&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://lh3.ggpht.com/_agRZ53BRnWM/TYyKJjMkJ6I/AAAAAAAAAQM/rgUPsEX5k48/s1600-h/authorize8%5B2%5D.png"&gt;&lt;img alt="authorize8" border="0" height="171" src="http://lh3.ggpht.com/_agRZ53BRnWM/TYyKJzx3PvI/AAAAAAAAAQQ/_8Qeag1h2nw/authorize8_thumb.png?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="authorize8" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Next to RD Session Host Server Settings click Change.&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://lh3.ggpht.com/_agRZ53BRnWM/TYyKKcalkvI/AAAAAAAAAQU/qa1B4xGyY5A/s1600-h/authorize9%5B2%5D.png"&gt;&lt;img alt="authorize9" border="0" height="244" src="http://lh4.ggpht.com/_agRZ53BRnWM/TYyKK-40SYI/AAAAAAAAAQY/gONjYBA4bfE/authorize9_thumb.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="authorize9" width="219" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;In the RD Session Host Server tab type the FQDN of the farm then click OK.&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;hr /&gt;&lt;b&gt;Configure Connection Broker for RemoteApp Programs Source &lt;/b&gt;&lt;br /&gt;Now it’s time to configure a RemoteApp source for the Connection Broker.&amp;nbsp; On the Connection Broker : &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Select Start Admin Tools, Remote Desktop Services, Remote Desktop Connection Manager.&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://lh4.ggpht.com/_agRZ53BRnWM/TYyKLo-hO5I/AAAAAAAAAQc/JS6S63s6Awc/s1600-h/authorize10%5B2%5D.png"&gt;&lt;img alt="authorize10" border="0" height="151" src="http://lh3.ggpht.com/_agRZ53BRnWM/TYyKMJUOTjI/AAAAAAAAAQg/a8tutEpHbhk/authorize10_thumb.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="authorize10" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Click RemoteApp Sources in the left hand tree, then choose Add RemoteApp Source in the right Actions pane.&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://lh6.ggpht.com/_agRZ53BRnWM/TYyKMq9fmQI/AAAAAAAAAQk/wJsoBFPRnc0/s1600-h/authorizeb%5B2%5D.png"&gt;&lt;img alt="authorizeb" border="0" height="151" src="http://lh5.ggpht.com/_agRZ53BRnWM/TYyKNACE2nI/AAAAAAAAAQo/VN3wqdXFnCE/authorizeb_thumb.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="authorizeb" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Type the DNS name for the RD server farm then click Add.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;b&gt;Configure Web Access Servers to Use Connection Broker RemoteApp Source  &lt;/b&gt; &lt;br /&gt;If you have come this far your doing well! We need to make sure the Web Access Server is configured to use Connection Broker as the source for our RemoteApps.&amp;nbsp; On each Web Access server : &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Select Start, Admin Tools, Remote Deskt0p Services, Remote Desktop Web Access Configuration.&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://lh6.ggpht.com/_agRZ53BRnWM/TYyZanyb3DI/AAAAAAAAAQ0/eQR2zad5oqs/s1600-h/authorizec%5B2%5D.png"&gt;&lt;img alt="authorizec" border="0" height="148" src="http://lh4.ggpht.com/_agRZ53BRnWM/TYyZbEjbbOI/AAAAAAAAAQ4/jCKQ8TL_d9E/authorizec_thumb.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="authorizec" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Supply Domain Admin credentials and sign-in. &lt;/li&gt;&lt;/ul&gt;&lt;a href="http://lh5.ggpht.com/_agRZ53BRnWM/TYyZbi_q-aI/AAAAAAAAAQ8/4aGm5SyFq8g/s1600-h/authorizecd%5B2%5D.png"&gt;&lt;img alt="authorizecd" border="0" height="158" src="http://lh6.ggpht.com/_agRZ53BRnWM/TYyZb7IG_-I/AAAAAAAAARA/vHg9XlPlYFE/authorizecd_thumb.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="authorizecd" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Click the Configuration tab heading.&amp;nbsp; Then for “Select the source to use:” choose “An RD Connection Broker server”.&amp;nbsp; Then type in the Connection Broker server name in the “Source name:” field.&amp;nbsp; Click OK. Remember, the RD Connection Broker server has been added to the TS Web Access Computers group on each farm member (RDSH1 and RDSH2).Also we have added the RD Web Access computer account to the TS Web Access Computers group on the RD Connection Broker.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Configuration of NLB&lt;/b&gt;&lt;br /&gt;We now need to consider our method of initial load balancing. Remember, clients don’t talk to the RD Connection Broker role service directly; they connect to a farm, which sends this connection to the RD Connection Broker to let it find the right endpoint. So, the farm is connected to first&amp;nbsp; (lets call it the initial connection) &lt;i&gt;and then&lt;/i&gt; the connection broker, and then to RD Session Host server in the farm! We will use NLB as our method of load balancing the initial connection to the RDSH farm. &lt;br /&gt;NLB distributes incoming connections evenly across each load-balanced server on the principle that if the incoming requests are evenly distributed, the traffic should be, too. NLB is best for load-balancing servers when the connections are very short, like web servers, or in this case, the initial connection in a farm that is participating in RD Connection Broker load balancing. NLB is more complicated to set up than RR DNS, but it’s capable of detecting when a server is no longer available and will not attempt to send connections to it.&lt;br /&gt;To configure an NLB cluster, you need to complete the following steps.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;If you have a network adapter dedicated to NLB, you need to configure it with static IP and subnet mask&lt;/li&gt;&lt;li&gt;Install the NLB Manager on a host node or other management machine. To do&lt;br /&gt;this, open Server Manager and select the Features section. Click Add Features, select the check box next to Network Load Balancing, and click Install.&lt;/li&gt;&lt;li&gt;Configure the NLB cluster.&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt; &lt;div align="left"&gt;Open NLB Manager on one of the farm members from Start, All Programs, Administrative Tools, Network Load Balancing Manager or by typing nlbmgr in the Run text box on the Start menu. Right-click Network Load Balancing Clusters and choose New Cluster.&lt;/div&gt;&lt;/li&gt;&lt;li&gt; &lt;div align="left"&gt;In the Host input box, enter the name of one of the NLB hosts (one of the RD Session Host server farm members) and click Connect. All available network adapters on that server show up in the lower pane. Select the NLB network adapter and click Next (I am using only a single adapter on each RDSH machine)&lt;/div&gt;&lt;/li&gt;&lt;li&gt; The IP address and subnet mask assigned to the network adapter will show up in the next window. The priority number is a unique number that differentiates the servers. Accept the default value. If you need to make any changes to the address, click Edit and make your changes. Leave the Initial Host State as Started, and click Next.&lt;/li&gt;&lt;li&gt; On the next screen, click Add and add a unique IP address and subnet mask that will be shared by all cluster members, and then click OK. When users request access to the farm, they will be sent to this address instead of a specific RD Session Host server. This is the ‘Cluster Address’&lt;/li&gt;&lt;li&gt; On the Cluster Parameters page, accept the defaults, including Unicast for the Cluster Operation Mode setting, and click Next. All cluster host adapters must use the same operation mode or NLB will not function.&lt;/li&gt;&lt;li&gt; On the New Cluster: Port Rules page, you need to make a few changes to the default settings. Click Edit, and then change the starting and ending port range to 3389 (in both the To and From fields) because you will be using this cluster to load-balance RDP traffic only. In the Protocols section, select TCP. In the Filtering Mode section, choose&lt;br /&gt;Multiple Hosts to allow multiple hosts to handle traffic for this port rule. For Affinity, you have three choices; none, single and network. Choose Affinity: None so that incoming connections can be sent to any member of the farm. (There’s no reason to set affinity when the connections are being redirected, and doing so could make your load-balancing efforts useless by sending repeated connection requests to the same server.)&lt;/li&gt;&lt;/ul&gt;&lt;div align="left"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.&amp;nbsp; Add a DNS entry mapping the farm name to the cluster IP address. &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-6243667841723271584?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/6243667841723271584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/03/how-to-setup-remote-desktop-session_06.html#comment-form' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/6243667841723271584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/6243667841723271584'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/03/how-to-setup-remote-desktop-session_06.html' title='How to Setup a Remote Desktop Session Host Farm using NLB on Server 2008 R2 (Part 2)'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_agRZ53BRnWM/TYtxXglw8TI/AAAAAAAAARc/ptwStTZ5-w0/s72-c/album%5B67%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-8219792153981893928</id><published>2011-03-09T22:36:00.000Z</published><updated>2011-03-09T22:36:33.725Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='FSRM'/><title type='text'>How to Configure File Server Resource Manager  (FSRM) to Send an Email</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;You can ensure FSRM servers send emails to configured administrators as follows:&lt;br /&gt;&lt;br /&gt;1.&amp;nbsp; After installing the FSRM role service, open the snap-in from Admin Tools&lt;br /&gt;2.&amp;nbsp; Right click File Server Resource Manager (Local) and select &lt;b&gt;Configure Options&lt;/b&gt;&lt;br /&gt;3.&amp;nbsp; In the configure options window, configure the &lt;b&gt;SMTP Server Name &lt;/b&gt;(the Exchange Server)&lt;br /&gt;4. Configure the &lt;b&gt;Default Administrator Recipients &lt;/b&gt;email address&lt;br /&gt;5. Configure the &lt;b&gt;Default From Email Address&lt;/b&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-xr8yvl5ZchM/TXf-y2mfqqI/AAAAAAAAAL8/7j0QFiuCu0Q/s1600/fsrm1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://lh6.googleusercontent.com/-xr8yvl5ZchM/TXf-y2mfqqI/AAAAAAAAAL8/7j0QFiuCu0Q/s320/fsrm1.PNG" width="261" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The Default From Email Address is the address for the FSRM server (which can be an ordinary mailbox built earlier). When the FSRM server wants to send an email of notification (perhaps because someone oversteps their quota or places an incorrect file type into a folder) it will use this email address. The server authenticates using its computer account and then submits the email to exchange. So for this to work you need to allow the FSRM to send the email on the mailbox behalf. You can do this by typing the following cmd in powershell on or connected to the Exchange server:&lt;br /&gt;&lt;br /&gt;[PS] Add-Adpermission -Identity "fsrm" -user "compulinx\srvExchange$" -extendedrights "Send-as"&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style="font-size: small;"&gt;Where fsrm is the mailbox that the server (srvExchange$) uses. You can click the 'Test Email' button to make sure it works.&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-8219792153981893928?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/8219792153981893928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/03/how-to-configure-file-server-resource.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/8219792153981893928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/8219792153981893928'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/03/how-to-configure-file-server-resource.html' title='How to Configure File Server Resource Manager  (FSRM) to Send an Email'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh6.googleusercontent.com/-xr8yvl5ZchM/TXf-y2mfqqI/AAAAAAAAAL8/7j0QFiuCu0Q/s72-c/fsrm1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-9179548166855772708</id><published>2011-03-03T00:19:00.044Z</published><updated>2011-03-25T14:03:15.653Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Session Host'/><category scheme='http://www.blogger.com/atom/ns#' term='RDS Farm'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Connection Broker'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Services'/><title type='text'>How to Setup a Remote Desktop Session Host Farm using NLB on Server 2008 R2 (Part 1)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;A RD Session Host server farm consists of two or more RD Session Host servers with the same software configuration (for example, security settings and device redirection policies) and application sets, all represented under a single farm name so that they appear to the client as a single server. Server farms are load-balanced so that the workload is distributed evenly among all farm members. Because the servers are configured the same way, it does not matter to users which server they get directed to. All servers should provide the same user experience.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;When a client connects to RDSH farm, the client makes an initial connection to a particular RDSH server which redirects the client to a Remote Desktop Connection Broker (RDCB) which then brokers a connection to an individual RDSH of the farm. &lt;i&gt;Initial connections&lt;/i&gt; can be load balanced in three main ways:&lt;/div&gt;&lt;ol style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;li&gt;DNS Round Robin&lt;/li&gt;&lt;li&gt;Network Load Balancing&lt;/li&gt;&lt;li&gt;Dedicated RDSH Redirector&lt;/li&gt;&lt;/ol&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;DNS RR is not so clever. By creating multiple host records for each member of the farm, you distribute client connections to the farm. If however a farm member goes down, DNS will continue to hand the host record out to requesting clients despite the fact that a member server is down.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;A dedicated redirector is an RD Session Host server whose sole role is to redirect initial connection requests to RDCB. To avoid asking working RD Session Host farm servers to handle incoming connections, you can dedicate a server to do this work. The only catch to using a dedicated redirector is that it represents a single point of failure.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;We will configure initial connection load balancing by using load Network Load Balancing (NLB):&lt;/div&gt;&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-zoZ0jr4pbtA/TW66ZKSEFZI/AAAAAAAAAKU/2QaUxVXSs5Q/s1600/rdshFarm.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="268" src="https://lh3.googleusercontent.com/-zoZ0jr4pbtA/TW66ZKSEFZI/AAAAAAAAAKU/2QaUxVXSs5Q/s320/rdshFarm.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;As you can see in the diagram above, the client makes an initial connection via the RD Web Access server to RDSH 1. This could be infact to RDSH1 &lt;i&gt;or&lt;/i&gt; RDSH2 as these two servers will be in a NLB cluster. Either server will then redirect the connection to the RDCB. The RD Connection Broker finds the most suitable endpoint for the connection request and gets its IP address. The result is passed back to the RDSH and then back to the client. The client then connects directly to the RDSH that the RD Connection Broker has deemed most suitable.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;If an RDSH server goes offline how does the RDCB know? It monitors whether the connections it redirects are successful. If redirection fails the RDCB begins pinging the suspect RDSH server and if this fails then the RDSH is removed from its database.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="http://compulinx.blogspot.com/2011/03/how-to-setup-remote-desktop-session_06.html"&gt;Part Two&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-9179548166855772708?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/9179548166855772708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/03/how-to-setup-remote-desktop-session.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/9179548166855772708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/9179548166855772708'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/03/how-to-setup-remote-desktop-session.html' title='How to Setup a Remote Desktop Session Host Farm using NLB on Server 2008 R2 (Part 1)'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh3.googleusercontent.com/-zoZ0jr4pbtA/TW66ZKSEFZI/AAAAAAAAAKU/2QaUxVXSs5Q/s72-c/rdshFarm.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-2185600698558590281</id><published>2011-02-20T23:21:00.003Z</published><updated>2011-02-21T21:16:18.351Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Remote Powershell and Exchange'/><category scheme='http://www.blogger.com/atom/ns#' term='Powershell'/><title type='text'>Remote Powershell</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;On my travels I picked up this useful method of remoting into another machines powershell. Windows 7 and Server 2008 R2 have WinRm packed inside so you dont need to download anything. If your not sure you can try typing the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #9fc5e8;"&gt;[PS] Get-Service winrm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On the server you want to remote into (lets call it the target), type the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #9fc5e8;"&gt;[PS] Enable-PSRemoting&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This command will start the WinRM service and sets the startup type to Automatic.&amp;nbsp; It will also enables   a firewall exception for WS-Management communications and create a listener to   accept requests on any IP address. &lt;br /&gt;The next step involves establishing which machines can connect to the target (that is your client). On the target type the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #9fc5e8;"&gt;[PS] cd wsman:&lt;/span&gt;&lt;br /&gt;(note the colon:)&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] cd localhost\client&lt;/div&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] dir&lt;/div&gt;&lt;br /&gt;You should see a table displayed indicating that the TrustedHosts has a no value. This has to be changed so that your client can connect. To do this type the following but note you MUST be in the WSMan namespace as shown above!&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] Set-Item TrustedHosts *&lt;/div&gt;&lt;br /&gt;You should then restart the WinRm service &lt;br /&gt;&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] Restart-Service winrm&amp;nbsp;&lt;/div&gt;&lt;br /&gt;You could have performed the action by typing one single cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #9fc5e8;"&gt;[PS] Set-Item WSMan:\localhost\Client\TrustedHosts *&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now that your target is configured, you need to configure the client. Type the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #9fc5e8;"&gt;[PS] New-PSSession -computername "FQDN of the Target"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You should now see a table displayed referencing your session with an ID number. To display the session created at any time type the following:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] Get-PSsession&lt;/div&gt;&lt;br /&gt;To enter the session type the following:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] Enter-PSsession -id (the numerical value of the session e.g. 1)&lt;/div&gt;&lt;br /&gt;You should now be in the remote powershell! To end the session type the following:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] Exit-PSsession&lt;/div&gt;&lt;br /&gt;and to remove the seesion entirely type the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #9fc5e8;"&gt;[PS] Remove-PSsession&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you want to connect to the powershell of Exchange 2010, you can do so by doing the following:&lt;br /&gt;&lt;br /&gt;You first need to create a session variable (this I've called session) that creates a new PSsession. This time we use a ConnectionUri rather than a computer FQDN like above.Notice the use of the IIS virtual directory. You can see in the command below that you also need to specify a credential of the connecting user.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] $session = New-PSSession -Configurationname Microsoft.Exchange –ConnectionUri http://servername/powershell -Credential (DomainName\UserName)&lt;/div&gt;&lt;br /&gt;You should be prompted to provide the password of the account used. Now that your session is stored you can import the server-side powershell session to the client side one. To do this type the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #9fc5e8;"&gt;[PS] Import-PSSession $session&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It takes some time to import the exchange cmdlets. Once it is completed,  you can use all exchange cmdlets in your Windows Powershell session.&lt;br /&gt;&lt;br /&gt;As before you can remove the session one your done by the typing the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #9fc5e8;"&gt;[PS] Remove-PSSession $session&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-2185600698558590281?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/2185600698558590281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/02/remote-powershell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2185600698558590281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2185600698558590281'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/02/remote-powershell.html' title='Remote Powershell'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-5554583870884390117</id><published>2011-02-11T13:30:00.008Z</published><updated>2011-02-18T14:31:14.175Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Updates'/><category scheme='http://www.blogger.com/atom/ns#' term='WSUS'/><title type='text'>How to Setup a Simple WSUS Server on Server 2008 R2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div&gt;In its most basic form, a WSUS deployment consists of a single server on the local intranet inside the DMZ and inside the Internet firewall. This server will be used to connect to Microsoft Update and download available updates in a process that is called synchronization. You will synchronize the WSUS server with the Windows Update servers on a regular basis, and the WSUS server will verify that available updates have been synchronized to the WSUS server. The initial synchronization will take an extended period of time if your Internet connection speed is good and longer if it is not. Subsequent synchronizations will be faster&lt;br /&gt;because the WSUS server is only synchronizing new updates that have been made available.&lt;br /&gt;&lt;br /&gt;WSUS uses port 80 and 443 to obtain updates from Microsoft Update servers. You can change them (which I have needed to do). Automatic Updating is the client-side part of WSUS deployments. The service has to use the port assigned to the WSUS website in IIS. If there are no websites running on the server where you install WSUS, you can choose to use the default website (port 80) or a custom website and ports.&lt;br /&gt;&lt;br /&gt;WSUS on Server 2008 R2 uses Computer Groups to target client machines that require the updates. There are two default groups that are defined: &lt;b&gt;All Computers &lt;/b&gt;and &lt;b&gt;Unassigned Computers&lt;/b&gt;. You can create additional groups assigned specific computers to these groups so that WSUS can target specific client needs.&lt;br /&gt;&lt;br /&gt;WSUS servers can be &lt;i&gt;chained&lt;/i&gt; together in larger networks. This takes on two methods:&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;In &lt;b&gt;autonomous &lt;/b&gt;mode, the upstream server, or the server connected to Microsoft Update, shares synchronization information with its downstream partner but does not share its computer group information. This way, the available updates are passed from WSUS server to WSUS server while maintaining the integrity of the individual computer groups.&lt;/li&gt;&lt;li&gt;In &lt;b&gt;replica &lt;/b&gt;mode, the upstream server shares its synchronization information &lt;i&gt;and &lt;/i&gt;its computer group information with its downstream partners. The downstream partners hold the same information and are thus functional replicas of the upstream WSUS server.&lt;/li&gt;&lt;/ol&gt;Servers/clients not Connected to The Network.&lt;br /&gt;If you machines that live in isolation, you can export the updates to external media (flash,drive,CD etc.) and sneakernet to the isolated network. You then import the updates to a isolated WSUS server and deploy the updates from there.&lt;br /&gt;&lt;br /&gt;Space Requirements - Keep it Local&lt;br /&gt;Microsoft recommends that you haveat least 20GB of local storage at a minimum and actually recommends 30GB. Keep in mind that these numbers are only estimates and could go higher than 30GB depending on your network needs and particular situation. 1GB minimum free space on the system partition is recommended. 2GB minimum free space on the volume on which the database files will be stored is recommended.&lt;br /&gt;&lt;br /&gt;WSUS uses the Background Intelligent Transfer Service 2.0 (BITS 2.0) protocol for all of its file transfer needs. Each time files are downloaded from servers to clients, they are moved using “spare” bandwidth. This technology also makes it possible to continue downloads, even if the computer is shut down in the middle of a download, once the computer is restarted.&lt;br /&gt;&lt;br /&gt;Software Requirements&lt;br /&gt;Before installing WSUS in your environment, you must ensure that both the WSUS server(s) and clients meet the minimum software requirements.&lt;br /&gt;&lt;br /&gt;The WSUS servers must have at least the following installed:&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Windows Server 2003 with Service Pack 1, Windows Server 2008, or Windows Server 2008 R2.&lt;/li&gt;&lt;li&gt;Internet Information Services (IIS).&lt;/li&gt;&lt;li&gt;Windows Installer 3.1 or newer.&lt;/li&gt;&lt;li&gt;.NET Framework 2.0 or newer.&lt;/li&gt;&lt;li&gt;If you are using a separate database server, you must have a computer installed that is running SQL Server 2005 with Service Pack 2 or newer. We will use an Internal Database.&lt;/li&gt;&lt;/ul&gt;To run the WSUS Administration Console, you must have the following installed: &lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Windows XP with Service Pack 2, Windows Vista, Windows Server 2003, Windows Server 2008 Windows Server 2008 R2, or Windows 7&lt;/li&gt;&lt;li&gt;Microsoft Management Console 3.0&lt;/li&gt;&lt;li&gt;Microsoft Report Viewer Redistributable 2005&lt;/li&gt;&lt;/ul&gt;WSUS clients must be running one of the following operating systems:&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt; Windows 7&lt;/li&gt;&lt;li&gt;Windows Server 2008 R2&lt;/li&gt;&lt;li&gt;Windows Server 2008&lt;/li&gt;&lt;li&gt;Windows Server 2003&lt;/li&gt;&lt;li&gt;Windows Vista&lt;/li&gt;&lt;li&gt;Windows XP&lt;/li&gt;&lt;li&gt;Windows 2000 with Service Pack 4&lt;/li&gt;&lt;/ul&gt;&lt;i&gt;The Windows Internal Database does not support remote connections, so you will not be able to install the WSUS Administration Console on another computer if you are using the Windows Internal Database.&lt;/i&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Configuring Prerequisites for WSUS 3.0&lt;/b&gt;&lt;br /&gt;You will need to install IIS and Report Viewer 2008 SP1Redistributable (at time of writing)&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;Log on to the computer as a member of the local Administrators group&lt;/li&gt;&lt;li&gt;Select Start Administrative Tools Server Manager.&lt;/li&gt;&lt;li&gt;In the Roles Summary section, click Add Roles.&lt;/li&gt;&lt;li&gt;On the Before You Begin page, click Next.&lt;/li&gt;&lt;li&gt;Select the Web Server (IIS) check box, click Add Required Features, and then click Next.&lt;/li&gt;&lt;li&gt;Read the Web Server (IIS) page. On the Select Role Services page, ensure that only the following check boxes are selected:&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Static Content&lt;/li&gt;&lt;li&gt;Default Document&lt;/li&gt;&lt;li&gt;ASP.NET&lt;/li&gt;&lt;li&gt; .NET Extensibility&lt;/li&gt;&lt;li&gt;ISAPI Extensions&lt;/li&gt;&lt;li&gt;ISAPI Filters&lt;/li&gt;&lt;li&gt;Windows Authentication&lt;/li&gt;&lt;li&gt;Request Filtering&lt;/li&gt;&lt;li&gt;Dynamic Content Compression&lt;/li&gt;&lt;li&gt;IIS 6 Metabase Compatibility&lt;/li&gt;&lt;/ul&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7. Click Install. This may take a few minutes to complete.&lt;br /&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 8. When the installation is complete, click Close&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Finally, you can install the Report Viewer 2008 SP1 Redistributable &lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;Download the Microsoft Report Viewer Redistributable from http://tinyurl.com/&lt;br /&gt;l6oex2.&lt;/li&gt;&lt;li&gt;Double-click ReportViewer.exe, and then click Next to start the installation.&lt;/li&gt;&lt;li&gt;Select the “I have read and accept the license terms” check box, and then click Install.&lt;/li&gt;&lt;li&gt;When the installation is complete, click Finish&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Installing and Configuring WSUS 3.0 &lt;/b&gt;&lt;br /&gt;WSUS 3.0 is packaged as a stand-alone installer available from the Microsoft Download Center. On Server 2008 R2 (thats what were using here) it is included as a role:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Log on to the computer as a member of the local Administrators group&lt;/li&gt;&lt;li&gt;Select Start Administrative Tools Server Manager.&lt;/li&gt;&lt;li&gt;In the Roles Summary section, click Add Roles.&lt;/li&gt;&lt;li&gt;Select the WSUS role and click Next (this might take a while).&lt;/li&gt;&lt;li&gt; Click Install&lt;/li&gt;&lt;li&gt;On the Welcome to the Windows Server Update Services 3.0 SP2 Setup Wizard click Next&lt;/li&gt;&lt;li&gt;Select the I Agree radio button and click next&lt;/li&gt;&lt;li&gt;Select the appropriate Update Source (Store Updates Locally)&lt;/li&gt;&lt;li&gt;Select Install Windows Internal Database on this Computer and leave the default path&lt;/li&gt;&lt;li&gt;Select Create a Windows Server Update Services 3.0 SP2 Web Site (NB The listening port of 8530)&lt;/li&gt;&lt;li&gt;Click Next and Finish&lt;/li&gt;&lt;li&gt;On the Windows Server Update Services Configuration Wizard consider your firewall settings and Internet connectivity and click Next&lt;/li&gt;&lt;li&gt;On the Join the Microsoft Update Improvement Program deselect the checkbox and click next&lt;/li&gt;&lt;li&gt;Choose the Upstream Server by synchronizing from Microsoft Update&lt;/li&gt;&lt;li&gt;On Specify Proxy Server, do not configure and click next&lt;/li&gt;&lt;li&gt;On the Connect to Upstream Server click Start Connecting&lt;/li&gt;&lt;li&gt;On the Choose Languages select Download Languages Only in these Languages and select English&lt;/li&gt;&lt;li&gt;On Choose Products choose your update types. By default, WSUS chooses all Windows and&lt;br /&gt;Microsoft Office updates.&lt;/li&gt;&lt;li&gt;Choose the classification of updates. By default, WSUS chooses only critical updates, definition updates, and security updates. Click Next.&lt;/li&gt;&lt;li&gt;On the Set Sync Schedule page, choose the “Synchronize manually” option, and then click Next. If you would rather choose automatic synchronization, you can do it from this step in the configuration wizard.&lt;/li&gt;&lt;li&gt;On the Finished page, click Finish to launch the WSUS Administration Console and begin initial synchronization. &lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;b&gt;Pointing Your Clients to the WSUS Server&lt;/b&gt;&lt;br /&gt;Client computers use the Windows automatic updating client to receive WSUS updates and can be configured by using a Group Policy object.&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;In the Group Policy Object Editor, navigate to Computer Configuration\Administrative&amp;nbsp; Templates\Windows Components\Windows Update.&lt;/li&gt;&lt;li&gt;Double-click Configure Automatic Updates, and then select the Enabled option. &lt;br /&gt;&amp;gt; For the “Configure automatic updating” box, select the appropriate setting. The choices are “Notify for download and notify for install,” “Auto download and notify for install,” “Auto download and schedule the install,” and “Allow local admin to choose setting.”&lt;ul&gt;&lt;/ul&gt;&amp;gt; If you choose “Auto download and schedule the install,” you must enter the day and time for which the updates are scheduled.&lt;/li&gt;&lt;/ol&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-VMZs32cJZMo/TV5-_dDKLXI/AAAAAAAAAKI/2L-UwqSnQj8/s1600/sus1.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="270" src="http://2.bp.blogspot.com/-VMZs32cJZMo/TV5-_dDKLXI/AAAAAAAAAKI/2L-UwqSnQj8/s320/sus1.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The other GPO configuration needed is "Specify Intranet Microsoft Update Location". Supply server FQDN names in both fields as shown below&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-Ls_N5ycHPYM/TV6AUR7mvDI/AAAAAAAAAKM/5wUARrnaJ5E/s1600/sus2.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="293" src="http://3.bp.blogspot.com/-Ls_N5ycHPYM/TV6AUR7mvDI/AAAAAAAAAKM/5wUARrnaJ5E/s320/sus2.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Once the clients have restarted and obtained the above cofigurations, they will be found in the unassigned computer groups. You can create additional groups and move these computers into those groups. You can then approve updates to the various groups.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-5554583870884390117?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/5554583870884390117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/02/how-to-setup-simple-wsus-server-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/5554583870884390117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/5554583870884390117'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/02/how-to-setup-simple-wsus-server-on.html' title='How to Setup a Simple WSUS Server on Server 2008 R2'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-VMZs32cJZMo/TV5-_dDKLXI/AAAAAAAAAKI/2L-UwqSnQj8/s72-c/sus1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-4866164664202806025</id><published>2011-02-05T23:07:00.000Z</published><updated>2011-02-05T23:07:18.708Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='BitLocker'/><category scheme='http://www.blogger.com/atom/ns#' term='BitLocker To Go'/><title type='text'>BitLocker Drive Encryption</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;BitLocker Drive Encryption is a technology designed to provide protection for entire disk drives. BitLocker to Go is a development on the same technology available with Windows 7 that enables encryption of USB flash drives. You can therefore protect drives in the event of theft and data on drives that might exist on decommissioned servers.&lt;br /&gt;&lt;br /&gt;Protection using BitLocker can be enhanced with a TPM chip on the computers' motherboard. TPM (Trusted Platform Module 1.2). BitLocker uses it to seal the keys that are used to unlock the encrypted operating system drive. When you start your operating system, BitLocker requests the key from the TPM chip and then uses it to unlock the drive. If the drive is put in a different computer it will stay locked until it is manually unlocked using a recovery key. When using a BitLocker-encrypted drive, if you add new files to the drive, they are automatically encrypted.&lt;br /&gt;&lt;br /&gt;If the machines do not have TPM, drives (fixed or removable) can be unlocked with a password or a smart card, or you can set the drive to automatically unlock when you log onto the computer.&lt;br /&gt;&lt;br /&gt;To add BitLocker on Server 2008 R2 (REQUIRES TPM!)&lt;br /&gt;&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;Open Server Manager.&lt;/li&gt;&lt;li&gt;Right-click Features.&lt;/li&gt;&lt;li&gt;Click Add Features.&lt;/li&gt;&lt;li&gt;Select BitLocker Drive Encryption&lt;/li&gt;&lt;li&gt;Restart your computer&lt;/li&gt;&lt;li&gt;Close the Server Manager window&lt;/li&gt;&lt;li&gt;Open Control Panel, System and Security and open BitLocker Drive Encryption&lt;/li&gt;&lt;li&gt;Click Turn On BitLocker&lt;/li&gt;&lt;/ol&gt;BitLocker Drive Encryption is available on Windows 7 Enterprise and Ultimate editions. However, the USB and other portable drives encrypted with BitLocker to  Go cannot be accessed directly in Windows Vista or Windows XP. Microsoft has released a special utility with the name BitLocker To Go  Reader (bitlockertogo.exe), which is a program that works on computers  running Windows&amp;nbsp;Vista or Windows&amp;nbsp;XP, allowing you to open and view the  content of removable drives that have been protected (or encrypted) with  BitLocker Drive Encryption in Windows&amp;nbsp;7. BitLocker To Go Reader  allows  people running Windows&amp;nbsp;7 to share their BitLocker-protected data on  removable drives, such as USB flash drives or external hard drives, with  anyone running Windows&amp;nbsp;7, Windows&amp;nbsp;Vista, or Windows&amp;nbsp;XP.Windows&amp;nbsp;XP.This will only work however if the drives have been encrypted with a password.&lt;br /&gt;&lt;br /&gt;Before you turn on BitLocker in control panel you should see the following:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TU3Ue2c8VWI/AAAAAAAAAJ8/ZYi9zXpgMSU/s1600/bitlocker1.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="177" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TU3Ue2c8VWI/AAAAAAAAAJ8/ZYi9zXpgMSU/s320/bitlocker1.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After you click &lt;b&gt;Turn on BitLocker &lt;/b&gt;the following window will appear:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_agRZ53BRnWM/TU3VuOSPznI/AAAAAAAAAKA/oQ8vQfwa9sY/s1600/bitlocker2.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="168" src="http://3.bp.blogspot.com/_agRZ53BRnWM/TU3VuOSPznI/AAAAAAAAAKA/oQ8vQfwa9sY/s320/bitlocker2.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Type in a complex password and confirm. The next window to appear will ask you how you want to save a recovery key in the event of forgetting the password (print or save to file). Choose one and on the next window start encrypting.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TU3Xu_uwikI/AAAAAAAAAKE/2lpkun9Qz0g/s1600/bitlocker3.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TU3Xu_uwikI/AAAAAAAAAKE/2lpkun9Qz0g/s320/bitlocker3.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-4866164664202806025?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/4866164664202806025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/02/bitlocker-drive-encryption.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4866164664202806025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4866164664202806025'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/02/bitlocker-drive-encryption.html' title='BitLocker Drive Encryption'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agRZ53BRnWM/TU3Ue2c8VWI/AAAAAAAAAJ8/ZYi9zXpgMSU/s72-c/bitlocker1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-8983651237332442268</id><published>2011-01-25T00:45:00.000Z</published><updated>2011-01-25T00:45:28.256Z</updated><title type='text'>How to Setup Server 2008 SSTP VPN Server: Obtaining Server SAN Certificate from an Enterprise CA</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Coming Soon!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-8983651237332442268?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/8983651237332442268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/01/how-to-setup-server-2008-sstp-vpn_5036.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/8983651237332442268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/8983651237332442268'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/01/how-to-setup-server-2008-sstp-vpn_5036.html' title='How to Setup Server 2008 SSTP VPN Server: Obtaining Server SAN Certificate from an Enterprise CA'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-7083632769324845128</id><published>2011-01-25T00:43:00.000Z</published><updated>2011-01-25T00:43:14.111Z</updated><title type='text'>How to Setup Server 2008 SSTP VPN Server: Obtaining Server SAN Certificate by Advanced Request to StandAlone CA</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Before you setup the VPN server you should sort out your  certificates.If you have a Stand Alone Root CA the following post will  help (I hope!)&lt;br /&gt;&lt;br /&gt;Add the CA role using Server Manager. As  mentioned the first thing to obtain on the VPN server is a server  authentication certificate from the CA. You can do this using a variety  of methods including &lt;a href="http://technet.microsoft.com/en-us/library/ff625722%28WS.10%29.aspx#BKMK_CertWiz"&gt;these&lt;/a&gt;. Included is the following:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Using the Certificate Enrollment wizard with a standalone CA&lt;/u&gt;&lt;br /&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;br /&gt;1.&amp;nbsp; In the Computer Certificates snap-in, right-click the &lt;b&gt;Personal&lt;/b&gt; folder, point to &lt;b&gt;All Tasks&lt;/b&gt;, point to &lt;b&gt;Advanced Operations&lt;/b&gt;, and then click &lt;b&gt;Create Custom Request&lt;/b&gt;. &lt;a href="http://1.bp.blogspot.com/_agRZ53BRnWM/TTTcVEyJwaI/AAAAAAAAAI8/G7kYeg9U1fc/s1600/certreq1.PNG" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="164" src="http://1.bp.blogspot.com/_agRZ53BRnWM/TTTcVEyJwaI/AAAAAAAAAI8/G7kYeg9U1fc/s320/certreq1.PNG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2.&amp;nbsp; Click Next&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3.&amp;nbsp; Click &lt;b&gt;Proceed without enrollment policy&lt;/b&gt;, and then click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. In the Template field select &lt;b&gt;No Template&lt;/b&gt; (&lt;b&gt;Legacy Key&lt;/b&gt;) and For &lt;b&gt;Request format&lt;/b&gt;, click either &lt;b&gt;PKCS #10&lt;/b&gt; or &lt;b&gt;CMC&lt;/b&gt;. &lt;b&gt;PKCS #10&lt;/b&gt;  is generally accepted by all CAs.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_agRZ53BRnWM/TTYTLtCcbTI/AAAAAAAAAJE/hn7u9YfI3Io/s1600/certreq2.PNG" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="223" src="http://1.bp.blogspot.com/_agRZ53BRnWM/TTYTLtCcbTI/AAAAAAAAAJE/hn7u9YfI3Io/s320/certreq2.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5.&amp;nbsp; Click &lt;b&gt;Next&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;6.&amp;nbsp; Click the &lt;b&gt;Details&lt;/b&gt; arrow, and then click &lt;b&gt;Properties&lt;/b&gt;. You will need to configure all the certificate&amp;nbsp;&amp;nbsp; request options so that the issued certificate will be suitable for TLS/SSL.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;On the &lt;b&gt;General Tab &lt;/b&gt;under &lt;b&gt;Friendly Name&lt;/b&gt; type a name for your certificate and a description&lt;/li&gt;&lt;li&gt; In the &lt;b&gt;Subject name&lt;/b&gt; area under &lt;b&gt;Type&lt;/b&gt;, click &lt;b&gt;Common Name&lt;/b&gt;&lt;/li&gt;&lt;li&gt;              In the &lt;b&gt;Subject name&lt;/b&gt; area under &lt;b&gt;Value&lt;/b&gt;, enter the fully qualified domain name of the server, and then click &lt;b&gt;Add&lt;/b&gt; e.g www.compulinxtraining.com&lt;/li&gt;&lt;li&gt;              In the &lt;b&gt;Alternative name&lt;/b&gt; area under &lt;b&gt;Type&lt;/b&gt;, click &lt;b&gt;DNS&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;                            In the &lt;b&gt;Alternative name&lt;/b&gt; area under &lt;b&gt;Value&lt;/b&gt;, enter the fully qualified domain name of the server, and then click &lt;b&gt;Add&lt;/b&gt; e.g www.compulinxtraining.com&lt;/li&gt;&lt;li&gt;&lt;b&gt; &lt;/b&gt;Repeat the last few steps and add all  necessary DNS names (both external Internet registered names and  internal DNS name of the VPN srvxyz.compulinxtraining.local for example)&lt;/li&gt;&lt;/ul&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TTYaegUSsSI/AAAAAAAAAJM/sG5IppjzNJs/s1600/certreq3.PNG" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="318" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TTYaegUSsSI/AAAAAAAAAJM/sG5IppjzNJs/s320/certreq3.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;7. On the &lt;b&gt;Extensions &lt;/b&gt;tab click the &lt;b&gt;Key usage&lt;/b&gt; arrow. In the &lt;b&gt;Available options&lt;/b&gt; list, click &lt;b&gt;Digital signature&lt;/b&gt;, and then click &lt;b&gt;Add&lt;/b&gt;. Click &lt;b&gt;Key encipherment&lt;/b&gt;, and then click &lt;b&gt;Add&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_agRZ53BRnWM/TTYcj4nQ5jI/AAAAAAAAAJQ/x0TxqaaaUi0/s1600/certreq4.PNG" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="317" src="http://1.bp.blogspot.com/_agRZ53BRnWM/TTYcj4nQ5jI/AAAAAAAAAJQ/x0TxqaaaUi0/s320/certreq4.PNG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;8.&amp;nbsp; Click the &lt;b&gt;Extended Key Usage (application policies)&lt;/b&gt; arrow. In the &lt;b&gt;Available options&lt;/b&gt; list, click &lt;b&gt;Server Authentication&lt;/b&gt; and &lt;b&gt;Client Authentication&lt;/b&gt;, and then click &lt;b&gt;Add&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_agRZ53BRnWM/TTYdnX5SH6I/AAAAAAAAAJU/5HkbS2kLG10/s1600/certreq5.PNG" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="319" src="http://3.bp.blogspot.com/_agRZ53BRnWM/TTYdnX5SH6I/AAAAAAAAAJU/5HkbS2kLG10/s320/certreq5.PNG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;9.&amp;nbsp; On the &lt;b&gt;Private Key&lt;/b&gt; tab, click the &lt;b&gt;Cryptographic Service Provider&lt;/b&gt; arrow. Because we selected the &lt;b&gt;Legacy key&lt;/b&gt; in step 4 above, the Microsoft RSA SChannel Cryptographic Provider is enabled.&lt;br /&gt;&lt;br /&gt;10.&amp;nbsp; Click the &lt;b&gt;Key options&lt;/b&gt; arrow. In the &lt;b&gt;Key size&lt;/b&gt; list, select a key size. If desired, select the &lt;b&gt;Make private key exportable&lt;/b&gt; check box. Do not select either the &lt;b&gt;Allow private key to be archived&lt;/b&gt; or &lt;b&gt;Strong private key protection&lt;/b&gt; check box.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TTYhDL0pynI/AAAAAAAAAJY/0-qS7IYQTeM/s1600/certreq6.PNG" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TTYhDL0pynI/AAAAAAAAAJY/0-qS7IYQTeM/s320/certreq6.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;11.&amp;nbsp;&amp;nbsp;              Click the &lt;b&gt;Select Hash Algorithm&lt;/b&gt; arrow. In the &lt;b&gt;Hash Algorithm&lt;/b&gt; list, select the desired hash algorithm. E.g SHA-1 &lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_agRZ53BRnWM/TTYhfCmwwdI/AAAAAAAAAJc/8ThYpwCGV2s/s1600/certreq7.PNG" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="313" src="http://3.bp.blogspot.com/_agRZ53BRnWM/TTYhfCmwwdI/AAAAAAAAAJc/8ThYpwCGV2s/s320/certreq7.PNG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;12.&amp;nbsp; Click &lt;b&gt;OK &lt;/b&gt;and then click &lt;b&gt;Next&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;13.&amp;nbsp; Enter a path and file name indicating where the request file will be saved and select &lt;b&gt;Base 64 &lt;/b&gt;format and click &lt;b&gt;Finish&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_agRZ53BRnWM/TTdYRa9N-mI/AAAAAAAAAJg/_D5fo9Gq93g/s1600/certreq8.PNG" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="224" src="http://1.bp.blogspot.com/_agRZ53BRnWM/TTdYRa9N-mI/AAAAAAAAAJg/_D5fo9Gq93g/s320/certreq8.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next, submit the certificate request and complete certificate enrollment by using Certreq.exe&lt;br /&gt;&lt;br /&gt;1.&amp;nbsp; Open a command prompt&lt;br /&gt;&lt;br /&gt;2. Type &lt;b&gt;certreq -submit -config &lt;/b&gt; &amp;lt;&lt;b&gt;CertificateRequest.req&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;E.g&amp;nbsp; &lt;b&gt;certreq -submit -config srvXYZ\CompulinxCARoot c:\VPNCertReq&lt;/b&gt;&lt;br /&gt;&amp;nbsp; &lt;br /&gt;This should return a &lt;b&gt;RequestID&lt;/b&gt;.  The request for your certificate will need to be issued by the CA  administrator (the request will be found in the Pending Request folder.  Simply right click the request and issue it).&lt;br /&gt;&lt;br /&gt;3.&amp;nbsp; Type &lt;b&gt;certreq –retrieve -config&amp;nbsp;&lt;/b&gt;&lt;b&gt;  &amp;nbsp;&lt;/b&gt; and press ENTER. Where the &lt;b&gt;CertificateResponse &lt;/b&gt;is  the name given to the certificate you get back from the CA and will be  placed in the directory you run the command from in command prompt&lt;br /&gt;&lt;br /&gt;E.g&amp;nbsp; &lt;b&gt;certreq -retrieve -config srvxyz\CompulinxCARoot 19 MyVPNCert.cer&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;4.&amp;nbsp;  After you retrieve the certificate, you must install it. This      command imports the certificate into the appropriate store and then  links the     certificate to the private key.&lt;br /&gt;Type &lt;b&gt;certreq –accept -config &lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt; and press ENTER&lt;br /&gt;&lt;br /&gt;E.g&amp;nbsp; &lt;b&gt;certreq -accept -config srvxyz\CompulinxCARoot MyVPNCert.cer&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;So, you need to submit, retrieve and then accept.&lt;b&gt; &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_agRZ53BRnWM/TTYhfCmwwdI/AAAAAAAAAJc/8ThYpwCGV2s/s1600/certreq7.PNG" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt; &lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-7083632769324845128?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/7083632769324845128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/01/how-to-setup-server-2008-sstp-vpn_25.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7083632769324845128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7083632769324845128'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/01/how-to-setup-server-2008-sstp-vpn_25.html' title='How to Setup Server 2008 SSTP VPN Server: Obtaining Server SAN Certificate by Advanced Request to StandAlone CA'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_agRZ53BRnWM/TTTcVEyJwaI/AAAAAAAAAI8/G7kYeg9U1fc/s72-c/certreq1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-8091810308083389056</id><published>2011-01-23T16:20:00.007Z</published><updated>2011-01-25T00:47:59.144Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='CA'/><category scheme='http://www.blogger.com/atom/ns#' term='0x80092013'/><category scheme='http://www.blogger.com/atom/ns#' term='OCSP'/><category scheme='http://www.blogger.com/atom/ns#' term='Certificates'/><title type='text'>How to Setup Server 2008 R2 Online Responder Service - Avoid the Dreaded 0x80092013 with SSTP VPN</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In most cases, applications that depend on X.509 certificates, such  as Secure/Multipurpose Internet Mail Extensions (S/MIME), Secure Sockets  Layer (SSL), and smart cards, are required to validate the status of  the certificates used when performing authentication, signing, or  encryption operations. The certificate status and revocation checking is  the process by which the validity of certificates is verified based on  two main categories: time and revocation status.         &lt;br /&gt;&lt;ul&gt;&lt;li class="unordered"&gt;             &lt;b&gt;Time&lt;/b&gt;. Certificates are issued for a fixed  period of time and considered valid as long as the expiration date of  the certificate is not reached, unless revoked before that date.&lt;br /&gt;&lt;/li&gt;&lt;li class="unordered"&gt;             &lt;b&gt;Revocation status&lt;/b&gt;. Certificates can be  revoked before their expiration date because of multiple reasons such as  key compromise or suspension. Before performing any operation,  applications often validate that the certificate was not revoked.&lt;/li&gt;&lt;/ul&gt;Revocation can be made by using Certificate Revocation Lists (CRLs) and Online Certificate Status Protocol (OCSP) and is used when we VPN with SSTP.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Step One&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Configure Enterprise CA to Support AIA Extension to Support OCSP&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;To advertise that revocation status information for a particular CA can  be obtained via OCSP, the CA must include a pointer to the OCSP  Responder in the certificate. This is done by adding an OCSP URI to the  AIA extension of the certificate. This is a configuration &lt;i&gt;made on the CA&lt;/i&gt; and will be applied to certificates issued by the CA.&lt;br /&gt;&lt;br /&gt;1. Open the Certification Authority Snap-in on the CA, as an Enterprise Administrator&lt;br /&gt;&lt;br /&gt;2. Right click on the CA name, and select Properties&lt;br /&gt;&lt;br /&gt;3. Click on the Extension Tab. From the Select Extension drop down Box, select &lt;b&gt;Authority Information Access (AIA)&lt;/b&gt;. This is shown below. For Internet clients,&amp;nbsp; select &lt;b&gt;Add&amp;nbsp; &lt;/b&gt;and enter a public DNS entry e.g http://www.compulinxtraining.com/ocsp&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_agRZ53BRnWM/TT4AUDRXD6I/AAAAAAAAAJw/nF6KIkJ1KYQ/s1600/aia1.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/_agRZ53BRnWM/TT4AUDRXD6I/AAAAAAAAAJw/nF6KIkJ1KYQ/s320/aia1.PNG" width="250" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;4. Check the Checkbox for &lt;b&gt;Include in the online certificate status protocol (OCSP) extension&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;5. Click &lt;b&gt;OK&lt;/b&gt;, to close the CA Properties. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Step Two&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Configure Enterprise CA with OSCP Signing Template&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;1. On the Enterprise CA, select &lt;b&gt;Certificate Templates&lt;/b&gt;, right click and select &lt;b&gt;Manage&lt;/b&gt;. This will open a complete list of the CAs templates in the &lt;b&gt;Certificate Template Console&lt;/b&gt;. &lt;br /&gt;&lt;br /&gt;2. Locate the OCSP Certificate Template, Right-click, and select &lt;b&gt;Properties&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;3. On the Security Tab, add the hostname of the soon to be OCSP Server, and  give the server Read and Enroll permissions to the template. Click &lt;b&gt;OK&lt;/b&gt;.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;4. In the Certification Authority management console, Right-click on the &lt;b&gt;Certificates Templates&lt;/b&gt; node, and from the context menu, select &lt;b&gt;New&lt;/b&gt; and then "Certificate Template to issue.&lt;br /&gt;&lt;br /&gt;5. Select the OCSP Response Signing Template, and select &lt;b&gt;OK&lt;/b&gt;. &lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Step Three&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Installing and Configuring the OCSP Responder Role&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;1. To install the OCSP Responder, add the Online Responder role found under &lt;b&gt;Active Directory Certificate Services&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;2. Open the &lt;b&gt;Online Responder&lt;/b&gt; snapin in &lt;b&gt;Administrat&lt;/b&gt;ive &lt;b&gt;Tools&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;3. Select &lt;b&gt;Revocation Configuration&lt;/b&gt;, right click and select &lt;b&gt;Add Revocation Configuration&lt;/b&gt;. A wizard will open.&lt;br /&gt;&lt;br /&gt;4. Name the configuration with a friendly name&lt;br /&gt;&lt;br /&gt;5. Select a &lt;b&gt;certificate for an existing Enterprise CA&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TT4VUI-WLQI/AAAAAAAAAJ0/D73vBotqreI/s1600/ocsp1.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="220" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TT4VUI-WLQI/AAAAAAAAAJ0/D73vBotqreI/s320/ocsp1.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. Select &lt;b&gt;Browse CA certificate published in Active Directory. &lt;/b&gt;Click &lt;b&gt;Browse&lt;/b&gt;. You should see your CA certificate so select it and click OK.&lt;br /&gt;&lt;br /&gt;7. Next you will need to select a certificate that will be used for signing  OCSP responses. For a particular Revocation Configuration, the OCSP  Signing certificate must be issued by the CA for which the OCSP  Responder will answer revocation status requests. Select &lt;b&gt;Automatically select a signing certificate &lt;/b&gt;and select the OCSP template you configured in step two above. Click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;8. The OCSP responder will obtain its CRL from the CA so you do not have to add any other provider. Finish the wizard.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-8091810308083389056?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/8091810308083389056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/01/how-to-setup-server-2008-r2-online.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/8091810308083389056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/8091810308083389056'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/01/how-to-setup-server-2008-r2-online.html' title='How to Setup Server 2008 R2 Online Responder Service - Avoid the Dreaded 0x80092013 with SSTP VPN'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_agRZ53BRnWM/TT4AUDRXD6I/AAAAAAAAAJw/nF6KIkJ1KYQ/s72-c/aia1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-2861272742745581778</id><published>2011-01-11T01:55:00.006Z</published><updated>2011-01-21T14:22:36.481Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='VPN'/><category scheme='http://www.blogger.com/atom/ns#' term='OCSP'/><category scheme='http://www.blogger.com/atom/ns#' term='Certificates'/><category scheme='http://www.blogger.com/atom/ns#' term='SSTP'/><title type='text'>How to Setup Server 2008 SSTP VPN Server Introduction</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Hope you all had a good Christmas! In the next couple of posts I will showing you how to build SSTP VPN servers on server 2008 R2. The process is a little involved and will cover not only how RRAS configuration, but CA configuration and how to use the new Online Responder Service.&lt;br /&gt;VPN technology has moved on in Windows Server 2008. Now we can use SSTP (as far as I can see just for 'Client to Router' connections). This means you can still VPN to a network in situations where the traditional technologies have been blocked (TCP 1723 PPTP for example). SSTP uses TCP 443.&lt;br /&gt;&lt;br /&gt;A big problem I have found in the SSTP VPN is the certificate revocation check. Before a client manages to connect to the VPN server, a certificate revocation check needs to be made. The client will need to access the certificate revocation list (CRL) which is on the CA but could be hosted on another server. This check uses http not https. This can complicate things because you dont want Internet based clients connecting to an internal CA to check for revocation using unsecured http. You can publish the CRL to a Certificate Distribution Point (CDP) away from the CA. This can be to a web server. The client then receives the VPN certificate sent from the SSTP VPN server and will need to determine if its been revoked (by the way, depending on the method of client authentication, the client will need the CA root certificate and perhaps a user certificate - more on this later). The client can determine the CDP by referencing the CDP extension on the VPN certificate (which is usually an Internet registered DNS address). An HTTP connection is made to the CRL Web Server and the client downloads the full CRL. The client can check for revocation status and then VPN to the SSTP VPN server.&lt;br /&gt;&lt;br /&gt;Server 2008 supports not only the traditional CRL method of revocation but also the Online Responder Service OCSP. The main advantage here is that the client does not require periodic downloading of a CRL. The client gets an accurate point-in-time status check to determine the validity of the certificate sent by the VPN server. A downside to OCSP is that it is supported by Windows 7 and Vista clients only. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-2861272742745581778?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/2861272742745581778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2011/01/how-to-setup-server-2008-sstp-vpn.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2861272742745581778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2861272742745581778'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2011/01/how-to-setup-server-2008-sstp-vpn.html' title='How to Setup Server 2008 SSTP VPN Server Introduction'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-1973225474580027847</id><published>2010-11-28T22:32:00.006Z</published><updated>2010-11-28T22:59:19.722Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Transport Rules'/><category scheme='http://www.blogger.com/atom/ns#' term='hub transport'/><category scheme='http://www.blogger.com/atom/ns#' term='Message Retention Compliance'/><title type='text'>Transport Rules on Exchange 2007 and Exchange 2010</title><content type='html'>Transport rules, like journaling rules in the previous post, occur at the organisation level on transport servers. All messages must pass through a transport server and so we can apply rules to determine how a message is processed.&lt;br /&gt;&lt;br /&gt;Imagine you suspect employees selling company secrets regarding a new product currently under development to a rival drug company. Lets say the new product is known to internal employees only and no outside parties are aware of the products development. How can you route out the dodgy emailers? With transport rules! The following screen shots should help show how its done:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Open the EMC and browse to the Organization Configuration Hub Transport  node in the Console&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tree.In the Work area, select the Transport  Rules tab.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_agRZ53BRnWM/TPLR1u2vwjI/AAAAAAAAAIY/MtaWdjYAfU4/s1600/transport1.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="100" src="http://3.bp.blogspot.com/_agRZ53BRnWM/TPLR1u2vwjI/AAAAAAAAAIY/MtaWdjYAfU4/s320/transport1.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In the Actions pane, click the New Transport Rule action. This launches the New Transport Rule wizard.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TPLUbxmxTDI/AAAAAAAAAIc/kxsXt28tvAI/s1600/transport2.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="279" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TPLUbxmxTDI/AAAAAAAAAIc/kxsXt28tvAI/s320/transport2.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Write a suitable name and optional comment. Select Enable Rule and click next.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_agRZ53BRnWM/TPLV0P-3YAI/AAAAAAAAAIg/Iuh2sYbMkXY/s1600/transport3.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="278" src="http://1.bp.blogspot.com/_agRZ53BRnWM/TPLV0P-3YAI/AAAAAAAAAIg/Iuh2sYbMkXY/s320/transport3.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Under the Conditions, select 'sent to users inside or outside the organisation' and select 'the subject field or the body of the message contains specific words'. Make sure to select the link 'inside' and change the scope to 'outside'. Also click the link 'Specific Words' and add a suitable key word. Click next.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TPLYLpjgYnI/AAAAAAAAAIk/yDEj9_W8LCM/s1600/transport4.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="284" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TPLYLpjgYnI/AAAAAAAAAIk/yDEj9_W8LCM/s320/transport4.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Select 'Blind Carbon Copy' and add the journal mailbox to define a recipient of messages.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Transport Rules Conflicting with Journal Rules&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Perhaps you might have a transport rule which prevents certain messages from being sent from certain recipients to others. If emails are being dropped, then how can they be journaled?&amp;nbsp; You will need to change the order of agent priority. The Transport Agent will by default process the message &lt;i&gt;before&lt;/i&gt; the Journaling Agent. To determine the current state of priority, type the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #6fa8dc;"&gt;[PS] Get-TransportAgent&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_agRZ53BRnWM/TPLdSdv-avI/AAAAAAAAAIo/aKQ81k6sxKc/s1600/transport5.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="92" src="http://1.bp.blogspot.com/_agRZ53BRnWM/TPLdSdv-avI/AAAAAAAAAIo/aKQ81k6sxKc/s320/transport5.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As you can see above, the Transport Agent is set to run before the Journaling Agent. Emails will be dropped before they can be journaled. To change the priority, type the following:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #6fa8dc;"&gt;[PS] Set-TransportAgent -Identity "Journaling Agent" -Priority 1&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TPLee_BxiMI/AAAAAAAAAIs/Hat1PqpfN7k/s1600/transport6.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="95" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TPLee_BxiMI/AAAAAAAAAIs/Hat1PqpfN7k/s320/transport6.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Finally as show in the Powershell, you must restart the Transport Service&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-1973225474580027847?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/1973225474580027847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/11/transport-rules-on-exchange-2007-and.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1973225474580027847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1973225474580027847'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/11/transport-rules-on-exchange-2007-and.html' title='Transport Rules on Exchange 2007 and Exchange 2010'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_agRZ53BRnWM/TPLR1u2vwjI/AAAAAAAAAIY/MtaWdjYAfU4/s72-c/transport1.PNG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-2592164677188262050</id><published>2010-11-28T10:34:00.014Z</published><updated>2010-11-28T21:09:22.288Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Journaling'/><category scheme='http://www.blogger.com/atom/ns#' term='Message Retention Compliance'/><title type='text'>Journaling on Exchange 2007 &amp; 2010</title><content type='html'>Journaling allows you&amp;nbsp; to record all&amp;nbsp;messages flowing in and out of&amp;nbsp;an organization and helps with legal and regulatory compliance.&lt;br /&gt;In Exchange, you can configure journaling on a mailbox database. Every message sent or received by every user on that database will be sent to the Journaling mailbox. When you turn on journaling at the database level, this is known as &lt;b&gt;&lt;i&gt;standard journaling&lt;/i&gt;&lt;/b&gt;.&lt;br /&gt;You can also enable standard journaling with the EMS using the Set-MailboxDatabase cmdlet. Specify the JournalRecipient parameter and include the address of the journal mailbox. The following command&lt;br /&gt;demonstrates this usage: &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #6fa8dc;"&gt;[PS] Set-MailboxDatabase “DB1” -JournalRecipient journal@compulinx.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As the above command shows, an already created mailbox called journal is used (of course any recipient can be used!)&lt;br /&gt;&lt;br /&gt;If you want to turn off journaling on a mailbox database, you use the same command, except specify $null instead of a journal mailbox:&lt;br /&gt;&lt;span style="color: black;"&gt;&lt;span style="color: #6fa8dc;"&gt;[PS] Set-MailboxDatabase “DB01” -JournalRecipient $null&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Configure Journaling for Specific Users&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You can configure a journaling rule which will journal messages written by a recipient (in this case Jocelyn) and will be sent to a specific mailbox like the journal mailbox we saw earlier. &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #6fa8dc;"&gt;[PS] New-journalRule -Name 'Monitor Jocelyn' -JournalEmailAddress journal@compulinx.com -Scope 'Global' -Enabled $true -Recipient 'jocelyn@compulinx.com'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The 'Scope' determines which type of messages are journaled. This can be &lt;i&gt;Global&lt;/i&gt; (all messages), &lt;i&gt;Internal &lt;/i&gt;(messages inside the organization) or &lt;i&gt;External &lt;/i&gt;(messages outside the organization).&lt;br /&gt;&lt;br /&gt;An important consideration is that messages sent to journal@compulinx.com come from the established rule. Infact the journal mailbox used here should only accept messages from the &lt;i&gt;journal agent&lt;/i&gt;. Its the journal agent that is responsible for applying the journaling rule (Monitor Jocelyn) and for sending reports to the journal mailbox. You must make sure that no false data is sent to the journal mailbox. To complete what we have done so far, type the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-Mailbox “Journal Mailbox” -AcceptMessagesOnlyFrom “Microsoft Exchange” -RequireSenderAuthenticationEnabled $true&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-2592164677188262050?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/2592164677188262050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/11/journaling-on-exchange-2007.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2592164677188262050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2592164677188262050'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/11/journaling-on-exchange-2007.html' title='Journaling on Exchange 2007 &amp; 2010'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-4272153904995674484</id><published>2010-11-26T13:04:00.021Z</published><updated>2010-11-26T22:42:14.115Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Recovery Storage Groups'/><category scheme='http://www.blogger.com/atom/ns#' term='Backup'/><title type='text'>BackUp of Exchange 2007 SP1 on Server 2003</title><content type='html'>The main backup types considered here are&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Full and Copy&lt;/li&gt;&lt;li&gt;Differential&lt;/li&gt;&lt;li&gt;Incremental&lt;/li&gt;&lt;/ul&gt;Here are just a few notes... &lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_agRZ53BRnWM/TO-vvwLUxBI/AAAAAAAAAIE/b4ZLu5eeMbU/s1600/Full+Backup.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="217" src="http://3.bp.blogspot.com/_agRZ53BRnWM/TO-vvwLUxBI/AAAAAAAAAIE/b4ZLu5eeMbU/s320/Full+Backup.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_agRZ53BRnWM/TO-wN7-WffI/AAAAAAAAAII/XBe8fwhSzWE/s1600/incdiff.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="207" src="http://1.bp.blogspot.com/_agRZ53BRnWM/TO-wN7-WffI/AAAAAAAAAII/XBe8fwhSzWE/s320/incdiff.PNG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_agRZ53BRnWM/TO-6HWxKswI/AAAAAAAAAIM/lTv6xET8F38/s1600/restore.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="208" src="http://3.bp.blogspot.com/_agRZ53BRnWM/TO-6HWxKswI/AAAAAAAAAIM/lTv6xET8F38/s320/restore.PNG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_agRZ53BRnWM/TO-636EkJbI/AAAAAAAAAIU/IK8rubrT7gw/s1600/restore2.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="185" src="http://4.bp.blogspot.com/_agRZ53BRnWM/TO-636EkJbI/AAAAAAAAAIU/IK8rubrT7gw/s320/restore2.PNG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The backup process is quite straight forward with Server 2003's NTBackup:&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Launch NTBackup by typing NTBackup in the the Run box&lt;/li&gt;&lt;li&gt;Select the 'Advanced Mode' link&lt;/li&gt;&lt;li&gt;Select the 'Backup' tab&lt;/li&gt;&lt;li&gt;Select Microsoft Exchange Server and drill down to the storage group needed to back up&lt;/li&gt;&lt;li&gt;Define a suitable backup location &lt;/li&gt;&lt;li&gt;Click the Start Backup button&lt;/li&gt;&lt;li&gt;As this will be a Full backup, select the 'Replace the data on the media with this backup'&lt;/li&gt;&lt;li&gt;Click the 'Start Backup' button&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;To simulate a corrupt database &lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Now dismount the database you just backed up using the console&lt;/li&gt;&lt;li&gt; Now delete the database in Windows Explorer C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Delete the .edb file&lt;/li&gt;&lt;li&gt;Open NTBackup as you did above but this time select the 'Restore and Manage Media' tab&lt;/li&gt;&lt;li&gt;Select the appropriate backup&lt;/li&gt;&lt;li&gt;Click Start Restore&lt;/li&gt;&lt;li&gt;Define a temporary location for log and patch files&lt;/li&gt;&lt;li&gt;Select Last restore set&lt;/li&gt;&lt;li&gt;Select Mount Database After Restore. Click OK.&lt;/li&gt;&lt;li&gt;Check out the storage group in Windows Explorer and you should see the database is back (and you should still have access to your email) &lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Recovery Storage Groups&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Its possible we may need to restore a particular mail message or an entire mailbox. You can retrieve deleted messages using outlook but if you permanently delete the message (hold the shift key down when you delete the message) or you go beyond the 14 day retention limit you would need to restore from backup. If you delete a mailbox it is kept in the database for 30 days, but if you go over this you will need to restore the mailbox from backup. The problem is that when you restore from backup, you will restore all the mailboxes not just the mailbox of interest.&lt;br /&gt;&lt;br /&gt;I will show you how to create and use a Recovery Storage Group using Powershell:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Create a Recovery Storage Group &lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt; Login as a valid Exchange recipient and make sure you have email in your Inbox.&lt;/li&gt;&lt;li&gt;Using the methods shown above, backup your mailbox server&lt;/li&gt;&lt;li&gt;Now, login as the user in step 1. and delete an email message (permanently using the shift key)&lt;/li&gt;&lt;li&gt;Now create a Recovery Storage Group in the Powershell:&lt;span style="color: #3d85c6;"&gt; [PS] New-StorageGroup –Server SRV161 –LogFolderPath “C:\Program  Files\Microsoft\Exchange Server\Mailbox\First Storage Group\RSG" –Name  “Recovery Storage Group” –SystemFolderPath “C:\Program  Files\Microsoft\Exchange Server\Mailbox\First Storage Group\RSG”  –Recovery&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;blockquote style="color: #f3f3f3;"&gt;You can determine if the RSG has been built by using the Get-StorageGroup cmdlet (observe the 'Recovery' attribute)&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote style="color: #f3f3f3;"&gt;&lt;div&gt;In the next three steps we create a new mailbox database in the recovery storage group, allow it to be overwritten and finally overwrite it by restoring the backed up database.&amp;nbsp;&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;div style="color: #f3f3f3;"&gt;&lt;b&gt;Add a Recovery Database&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;blockquote&gt;&lt;span style="color: #3d85c6;"&gt;[PS] &lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;New-MailboxDatabase –MailboxDatabaseToRecover “DB1”  –StorageGroup “SRV161\Recovery Storage Group” –EDBFilePath “C:\Program  Files\Microsoft\Exchange Server\Mailbox\First Storage Group\RSG\DB1.edb”&lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="color: black;"&gt;The -MailboxDatabaseToRecover references the production database that has been backedup and contains our deleted email.&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: #f3f3f3;"&gt;With the Mailbox Database created in the Recovery Storage Group we now  need to configure it to allow overwrites by running the  Set-MailboxDatabase cmdlet with the –AllowRestore parameter.&lt;/span&gt; &lt;span style="color: #3d85c6;"&gt;[PS]Set-MailboxDatabase -Identity "SRV161\Recovery Storage Group\DB1" -AllowFileRestore $true&lt;/span&gt;&lt;/li&gt;&lt;li style="color: #f3f3f3;"&gt;Now restore the database using NTBackup&lt;/li&gt;&lt;li&gt;&lt;span style="color: #f3f3f3;"&gt;We now need to mount the restore Mailbox Database using the Mount-Database cmdlet: &amp;nbsp; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: #3d85c6;"&gt;[PS] Mount-Database –Identity “SRV161\Recovery Storage Group\DB1”&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: #f3f3f3;"&gt;Now we want to merge the mailbox data of an existing user  in the recovery database to the production mailbox database: &lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;[PS]Restore-Mailbox –Identity paulwest -RSGDatabase “servername\RSG name\database name”&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;div class="BdyTxt" style="color: #f3f3f3;"&gt;If you need to recover mailbox data for all users in the RSG, you would need to use the following command:&lt;/div&gt;&lt;div class="BdyTxt" style="color: #3d85c6;"&gt;[PS]Get-MailboxStatistics&amp;nbsp; -Database “Recovery Storage Group\Mailbox Database” | Restore-Mailbox&lt;/div&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;&lt;b&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;You should now remove the recovery database and recovery storage group using the following cmdlets:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #6fa8dc;"&gt;[PS]Remove-MailboxDatabase –Identity “SRV161\Recovery Storage Group\DB1”&amp;nbsp;&lt;/div&gt;&lt;div style="color: #6fa8dc;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: #6fa8dc;"&gt;[PS]&lt;/span&gt;&lt;span style="color: #6fa8dc;"&gt;Remove-StorageGroup –Identity “SRV161\Recovery Storage Group”&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TO-6uT5V9AI/AAAAAAAAAIQ/RxgyTravXPU/s1600/restore.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-4272153904995674484?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/4272153904995674484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/11/backup-of-exchange-2007-sp1-on-server.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4272153904995674484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4272153904995674484'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/11/backup-of-exchange-2007-sp1-on-server.html' title='BackUp of Exchange 2007 SP1 on Server 2003'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_agRZ53BRnWM/TO-vvwLUxBI/AAAAAAAAAIE/b4ZLu5eeMbU/s72-c/Full+Backup.PNG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-3707953360216120693</id><published>2010-11-20T22:42:00.080Z</published><updated>2011-02-27T20:42:13.708Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Managed Folders'/><category scheme='http://www.blogger.com/atom/ns#' term='Archive'/><category scheme='http://www.blogger.com/atom/ns#' term='Message Retention Compliance'/><category scheme='http://www.blogger.com/atom/ns#' term='Retention Tags'/><title type='text'>Message Retention Compliance in Exchange 2010</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;Keeping particularly important emails in a users mailbox over a long period of time chews into available disk space. One common option is to transfer these emails to a PST file either on the users machine or a network share. Doing this will save space on the mailbox server but will most likely cause problems when you try to collect the data again. You have to search for the PST files, hope they are not password protected and after that search through the files themselves looking for the emails you want to restore.&lt;br /&gt;&lt;br /&gt;There are two methods of managing retention compliance in Exchange 2010:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Use 'Managed Folders' as used in Exchange 2007&lt;/li&gt;&lt;li&gt;Use 'Retention Tags' a new approach used only in Exchange 2010&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;b&gt;Using Managed Folders &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Managed folders involves the user deliberately dragging their important emails into &lt;u&gt;administrator built folders&lt;/u&gt; which are visible in Outlook. The point to take home here is that the user has to do some dragging action! A lot of people simply can't be bothered to file emails into folders and prefer to search through their mail looking for key words.This is where retention tags can be used. We will talk about that later.&lt;br /&gt;&lt;br /&gt;There are 4 main steps to managed folder configuration:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Create managed folders&lt;/li&gt;&lt;li&gt;Set managed content settings &lt;/li&gt;&lt;li&gt;Create managed folder policies&lt;/li&gt;&lt;li&gt;Apply the managed folder policy to the mailbox&lt;/li&gt;&lt;li&gt;Schedule the messaging records management enforcement process &lt;/li&gt;&lt;/ol&gt;1. &lt;u&gt;Create the Managed Folder&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;Managed folders come in two flavours. Default and custom. The default managed folders include the familiar folders like 'Inbox' and 'Sent Items'. You can create a custom managed folder that appears under the folder 'Managed Folder'.&lt;br /&gt;&lt;br /&gt;1. Open the EMC and browse to the Organization Configuration Mailbox node in the Console tree.&lt;br /&gt;&lt;br /&gt;2. In the Actions pane, click the New Managed Custom Folder task to launch the configuration wizard.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TOl4al33cQI/AAAAAAAAAHs/A4876PeuhWA/s1600/custom+folder.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="278" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TOl4al33cQI/AAAAAAAAAHs/A4876PeuhWA/s320/custom+folder.PNG" width="320" /&gt;&amp;nbsp;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;3. Enter the name of the folder in the Name field. The field below it can be used to define a different name when the folder is viewed in Outlook. By default, this field is set to the same value that you type in the Name field. You can define a storage quota in KB and also set a comment for this folder that the user sees when the folder is opened. Enter this comment in the field Display The Following Comment When The Folder Is Viewed In Outlook. If you check the box Do Not Allow Users To Minimize This Comment In Outlook, then the comment is always visible to the user.&lt;br /&gt;&lt;br /&gt;You can do the same in the shell:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] New-ManagedFolder -Name 'Test Folder' -StorageQuota '51 MB' -Comment 'This folder is used only testing' -MustDisplayCommentEnabled $true&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. &lt;u&gt;Set Managed Content Settings&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;In this step you define how long items stay in a folder before an action is performed. You can also choose to forward a copy of any message placed in the folder to another mailbox (journaling).&lt;br /&gt;&lt;br /&gt;1. Right click the Custom Managed Folder created in step one. This will launch the following window:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_agRZ53BRnWM/TOl9m7q7eaI/AAAAAAAAAHw/LhugtynLnSU/s1600/manage+content+settings.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="273" src="http://1.bp.blogspot.com/_agRZ53BRnWM/TOl9m7q7eaI/AAAAAAAAAHw/LhugtynLnSU/s320/manage+content+settings.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;2. In the New Managed Content Settings wizard, type a name for content settings, such as Delete After 12 Months.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. From the Message Type drop-down list, select the type of content that you want this setting to&amp;nbsp; apply to. For example, you can apply the setting to specific items such as email only. Or you can apply the setting to every item type by choosing All Mailbox Content.&lt;br /&gt;&lt;br /&gt;4. Check the Length Of Retention Period (Days) box and type the number of days that you want the items to be retained before an action is taken on them.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. In the Retention Period Starts box, you can choose when the retention period starts. It can start either when the item is delivered or when it is moved into the folder. For example, if you want to create a setting to delete items after one year, you could set the retention period for 365 days.&lt;br /&gt;&lt;br /&gt;6. In the field Action To Take At The End Of The Retention Period, choose what happens to the item when the period is over. If you choose to move it to a managed folder, click the Browse button to select that folder. Then click next.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TOmCLSsrudI/AAAAAAAAAH0/cKL6_JG9c4E/s1600/manage+content+settings2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="279" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TOmCLSsrudI/AAAAAAAAAH0/cKL6_JG9c4E/s320/manage+content+settings2.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;7. At the Journaling screen, you can choose to forward copies of the message to a mailbox when it’s placed in the folder. Check the Forward Copies To option and click the Browse button to select the mailbox. You can also define a label for the message in the field Assign The Following Label To The Copy Of The Message. Doing so can make the messages easier to sort through. Click Next to continue.&lt;br /&gt;&lt;br /&gt;The settings for the managed folder are now configured and the folder is ready to be added to a managed folder policy.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. &lt;u&gt;Create Managed Folder Policy&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;A managed folder policy will be used to link the created managed folder to your mailboxes.&lt;br /&gt;&lt;br /&gt;1. Open the EMC and browse to the Organization Configuration Mailbox node in the Console tree&lt;br /&gt;&lt;br /&gt;2. Select the New Managed Folder Mailbox Policy task in the Actions pane.&lt;br /&gt;&lt;br /&gt;3. In the New Managed Folder Mailbox Policy wizard, enter a name for this policy in the field&lt;br /&gt;Managed Folder Mailbox Policy Name.&lt;br /&gt;&lt;br /&gt;4. Click the Add button to add a managed folder to this policy. The Select Managed Folder dialog box will be displayed. Select either a managed default folder or a managed custom folder and click OK.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TOmI_hYZXdI/AAAAAAAAAH4/lDcCo98CjUI/s1600/managed+folder+policy.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="299" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TOmI_hYZXdI/AAAAAAAAAH4/lDcCo98CjUI/s320/managed+folder+policy.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;4. &lt;u&gt;Apply the Managed Folder Policy to Mailboxes&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Browse to the Recipient Configuration Mailbox node in the Console tree.&lt;br /&gt;&lt;br /&gt;2. From the list of mailboxes displayed in the Results pane, select one or more mailboxes that you want to apply the policy to.&lt;br /&gt;&lt;br /&gt;3. Click the Properties option for the selected mailboxes in the Actions pane.&lt;br /&gt;&lt;br /&gt;4. In the properties dialog box, select the Mailbox Settings tab.&lt;br /&gt;&lt;br /&gt;5. Select the Messaging Records Management option in the list of mailbox settings and click the Properties button above the list.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TOmNjd05wpI/AAAAAAAAAIA/ZXCR-mDs5kY/s1600/mailbox+message+retention.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="246" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TOmNjd05wpI/AAAAAAAAAIA/ZXCR-mDs5kY/s320/mailbox+message+retention.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;6. In the Messaging Records Management dialog box, select the Managed Folder Mailbox Policy check box. Click the Browse button to select the policy that you just created.&lt;br /&gt;&lt;br /&gt;7. click OK to close the Messaging Records Management dialog box.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. &lt;u&gt;Schedule the Messaging Records Management Enforcement Process&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;The final thing we need to do is to schedule the messaging records management enforcement process to run at a specified time. The messaging records management enforcement process is disabled by&lt;br /&gt;default. This means that although you have applied a managed folder mailbox policy to one or more recipients, the respective managed folders will not show up in the user’s client (Outlook 2007 or OWA 2007) until the process has run at least one time.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;In the Exchange Management Console, click the Mailbox subnode under the Server Configuration work center node.&lt;/li&gt;&lt;li&gt;Select the respective Mailbox server in the Result pane.&lt;/li&gt;&lt;li&gt;Now click the Properties link under the mailbox server name in the Action pane.&lt;/li&gt;&lt;li&gt;Click the Messaging Records Management tab.&lt;/li&gt;&lt;li&gt;The Messaging Records Management Enforcement Process is set to Never Run. Change that to Use Custom Schedule, then click the Customize button&lt;/li&gt;&lt;li&gt;In the schedule, specify the times and days when the managed folder assistant&lt;br /&gt;should run.&lt;/li&gt;&lt;/ol&gt;If you want to force a newly created managed folder to appear in the mailboxes, before the schedule runs you can use the Start-ManagedFolderAssistant CMDlet in the EMS to process all mailboxes immediately. This can be a resource-intensive process for the mailbox server and the network in general so be careful!&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;b&gt;Retension Tags&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt; &lt;br /&gt;Retension Tags are new to Exchange 2010! As mentioned above, managed folders require users to move mail into folders that the Exchange administrator has created. With retension tags users apply retension settings directly to mail in the their inbox. Users can also create their own folders and apply retension settings to these folders much like the administrator.&lt;br /&gt;&lt;br /&gt;The process of creating and using retension tags is similar to using managed folders:&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;Create the retension tags&lt;/li&gt;&lt;li&gt;Link retension tags to retention policies&lt;/li&gt;&lt;li&gt;Apply the retension policies to mailboxes&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;b&gt;Create Retension Tags&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;Using these parameters, you can create meaningful retention tags for your content. The following example creates a tag that archives every message after 1 years (365 days). Achives will be mentioned later.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] New-RetentionPolicyTag “RPT-ArchiveAfter1Year1” -Type All -MessageClass E‑mail   -AgeLimitForRetention 365 -RetentionAction MoveToArchive -RetentionEnabled $True&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Link Retention Tags to Retention Policies&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;Now that you have a retention tag created, you need to create a retention policy to link the tag to.&lt;b&gt; &lt;/b&gt;The following retension policy (called RP Staff) is created and linked to the tag created above.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] New-RetentionPolicy “RP Staff” -RetentionPolicyTagLinks “RPT-ArchiveAfter1Year”&lt;/div&gt;&lt;br /&gt;If a retension tags ALREADY exists, you use the set-retensionpolicy cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] Set-RetentionPolicy "RP Staff" -RetentionPolicyTagLinks "RPTag ArchiveAfter1Year"&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Apply Retention Policies to Mailboxes&lt;/b&gt;&lt;br /&gt;After the retention policy is created and retention tags are linked to it, you can apply the policy to mailboxes. To do this, use the Set-Mailbox cmdlet with the RetentionPolicy parameter&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] Set-Mailbox “Paul Pidgeon“ -RetentionPolicy "RP Staff"&lt;/div&gt;&lt;br /&gt;When you apply the above cmdlet, you will be asked to confirm that clients are using the right version of Outlook. Outlook 2007 or earlier dont have all client features enabled.&lt;br /&gt;&lt;br /&gt;If a user is away for extended period of time she may not get to see email messages that are moved or deleted during that time. You can put the mailbox on hold (suspend the policy) by putting the mailbox on &lt;i&gt;retention hold&lt;/i&gt;.&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] Set-Mailbox “Paul Pidgeon” -RetentionHoldEnabled $true&lt;/div&gt;&lt;br /&gt;You can then take the mailbox out of retention hold by the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] Set-Mailbox "Paul Pidgeon" -RetentionHoldEnabled $False&lt;/div&gt;&lt;br /&gt;If your users are using Outlook 2010 you can move away from using managed folders and start using retention tags. You can convert your existing managed folders into retention tags by using an existing managed folder as a template. The following example creates a new retention tag that mirrors an existing managed folder:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] New-RetentionPolicyTag "RPT One" -ManagedFolderToUpgrade "MF One"&lt;br /&gt;&lt;div style="color: black;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;/div&gt;&lt;div style="color: #eeeeee;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #eeeeee;"&gt;&lt;b&gt;Archiving Email&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #eeeeee;"&gt;&lt;/div&gt;&lt;div style="color: #eeeeee;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #eeeeee;"&gt;Exchange 2010 gives users the ability to archive email in an online archive and avoid using PST files. Users can drag and drop email from their mailbox or from existing PSTs into their online archive, which has a bigger storage quota than the mailbox. Unlike PST files, the archive is accessible in Outlook Web Access as well as locally in Outlook 2010. Large amounts of data can reside in an archive folder because the archive is only available online. Users do not need to download many gigabytes of data into their Outlook client when working in cached mode with the online archive.&lt;/div&gt;&lt;div style="color: #eeeeee;"&gt;&lt;/div&gt;&lt;div style="color: #eeeeee;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #eeeeee;"&gt;An archive for a user can be created when you create the mailbox or after the mailbox has been created. To create an archive when creating the mailbox use the following cmdlet:&lt;/div&gt;&lt;div style="color: #f3f3f3;"&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #9fc5e8;"&gt;[PS] New-Mailbox “Clint Eastwood” -UserPrincipalName clint@compulinxtraining.com -Archive  &lt;/div&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;br /&gt;&lt;div style="color: #eeeeee;"&gt;Archive mailboxes have size quotas applied to them like regular mailboxes but they don't restrict the users ability to send and receive mail if the quota is reached. There is a warning quota and a hard quota. When an archive reaches the warning quota, an event is logged in the server’s Application event&lt;/div&gt;&lt;div style="color: #eeeeee;"&gt;log. When the hard quota is reached, items can no longer be placed in the archive. You can modify the warning quota in the EMC or the EMS, but the hard quota must be modified in the EMS.&lt;/div&gt;&lt;/div&gt;&lt;div style="color: #9fc5e8;"&gt;&lt;div style="color: black;"&gt;&lt;br /&gt;&lt;/div&gt;[PS] Set-Mailbox “Andrew Stevens” -ArchiveWarningQuota 20GB –ArchiveQuota 25GB&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #eeeeee;"&gt;You can get useful information on your archives by typing the following:&lt;/div&gt;&lt;br /&gt;[PS] Get-Mailbox | ft name,archive*&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-3707953360216120693?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/3707953360216120693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/11/message-retention-compliance-in.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/3707953360216120693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/3707953360216120693'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/11/message-retention-compliance-in.html' title='Message Retention Compliance in Exchange 2010'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agRZ53BRnWM/TOl4al33cQI/AAAAAAAAAHs/A4876PeuhWA/s72-c/custom+folder.PNG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-5603912509524725342</id><published>2010-11-14T22:42:00.014Z</published><updated>2010-11-19T14:42:54.352Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='CA'/><category scheme='http://www.blogger.com/atom/ns#' term='Outlook Anywhere'/><category scheme='http://www.blogger.com/atom/ns#' term='SAN Certificates'/><category scheme='http://www.blogger.com/atom/ns#' term='Certificates'/><title type='text'>How to Obtain an Exchange Certificate (SAN) from a 2008 StandAlone CA</title><content type='html'>This post will help you obtain a SAN certificate from a StandAlone CA (on Server 2008). You will need this for correct configuration of autodiscovery and outlookanywhere/availability service.&lt;br /&gt;&lt;br /&gt;1. On your Exchange 2007 server (CAS), type the following cmdlet to make the necessary SAN certificate request which will be stored in the root of c:\. Notice the use of multiple names in the request.&lt;br /&gt;&lt;ol&gt;&lt;/ol&gt;&lt;span style="color: #3d85c6;"&gt;[PS] New-ExchangeCertificate -GenerateRequest -Path c:\certrequest.txt -KeySize 2048 -SubjectName "c=UK, s=London, l=London, o=CompulinxTraining, ou=ExchangeServers, cn=mail.compulinxtraining.com" -DomainName compulinxtraining.com, srv1.compulinxtraining.local, srv1, autodiscover.compulinxtraining.com -PrivateKeyExportable:$True&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It should be noted that Exchange 2010 does NOT use the -path  parameter as mentioned in step one. You will need to establish a  variable. You could try the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;$Data&lt;/span&gt;&lt;b style="color: red;"&gt;&lt;span style="color: #0b5394;"&gt;=&lt;/span&gt;&lt;/b&gt;&lt;span style="color: #3d85c6;"&gt;New-ExchangeCertificate -GenerateRequest&lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;  -KeySize 2048 -SubjectName "c=UK, s=London,  l=London,  o=CompulinxTraining, ou=ExchangeServers,  cn=mail.compulinxtraining.com"  -DomainName compulinxtraining.com,  srv1.compulinxtraining.local, srv1,  autodiscover.compulinxtraining.com  -PrivateKeyExportable:$True&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0b5394;"&gt;&lt;span style="color: #3d85c6;"&gt;Set-Content -path "C:\req.req" -Value $Data&lt;/span&gt;  &lt;/span&gt;&lt;br /&gt;2. Once you have generated the request, visit your CA by opening a browser and type http://TheCAName/certsrv. Select 'Request a Certificate' and then select 'Advanced Certificate Request'. Then select 'Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file, or submit a renewal request by using a base-64-encoded PKCS #7 file'. Copy and paste the contents of the request (all of it... even the lines!) into the 'Saved Request field and 'Submit' the request to your CA.&lt;br /&gt;&lt;br /&gt;3. On the CA select 'Pending Request' and 'issue' the certificate.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;4. Back on the Exchange Server, visit the home page again and check for the pending request. Save the the .cer file to a easy to find location on the server.&lt;br /&gt;&lt;br /&gt;5. Create an MMC and add your Local Computer Certificate snap-in. Under personal 'import' your saved certificate. Once imported you will probably find that if you open it that it will not be trusted. You will have to download the root CA and import it to the trusted root store on the Exchange Certificate.&lt;br /&gt;You may also find that the certificate has no private key. This will cause problems later on so you should repair the certificate by following these steps:&lt;br /&gt;&lt;br /&gt;&amp;gt;Open MMC and add the Certificate Snap-In for the Local Computer account.&lt;br /&gt;&lt;br /&gt;&amp;gt;Double-Click on the recently imported certificate. Note: In Windows Server 2008 it will be the certificate missing the golden key beside it.&lt;br /&gt;&lt;br /&gt;&amp;gt;Select the Details tab.&lt;br /&gt;&lt;br /&gt;&amp;gt;Click on the Serial Number field and copy that string.Note: You may use CTRL+C, but not right-click and copy.&lt;br /&gt;&lt;br /&gt;&amp;gt;Open up a command prompt session. (cmd.exe aka DOS Prompt)&lt;br /&gt;&lt;br /&gt;&amp;gt;Type: certutil -repairstore my "SerialNumber" (SerialNumber is that which was copied down in step 4.) &lt;br /&gt;&lt;br /&gt;&amp;gt;After running the above command, go back to the MMC and Right-Click Certificates and select Refresh (or hit F5 in the MMC)&lt;br /&gt;&lt;br /&gt;&amp;gt;Double-Click on the problem certificate. At the bottom of this window (General tab) it should state: "You have a private key that corresponds to this certificate."Note: In Windows Server 2008 there will be a golden key to the left of the certificate, so there is no need to double-click the certificate.&lt;br /&gt;&lt;br /&gt;Now that the Private Key is attached to the certificate, please proceed to enable Exchange Services via Enable Exchange Certificate &lt;span style="font-size: xx-small;"&gt;(Courtesy of &lt;a href="https://support.comodo.com/index.php?_m=knowledgebase&amp;amp;_a=viewarticle&amp;amp;kbarticleid=1188"&gt;comodo.com)&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;span style="font-size: small;"&gt;6. Now you need to enable your certificate and bind it to the correct exchange services. Type the following cmdlet:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;span style="color: #3d85c6; font-size: small;"&gt;[PS] Get-ExchangeCertificate -Thumbprint ABCDEFetc. | Enable-ExchangeCertificate -Services IIS,SMTP&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-5603912509524725342?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/5603912509524725342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/11/how-to-obtain-exchange-certificate-san.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/5603912509524725342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/5603912509524725342'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/11/how-to-obtain-exchange-certificate-san.html' title='How to Obtain an Exchange Certificate (SAN) from a 2008 StandAlone CA'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-5310519796249144457</id><published>2010-10-31T21:31:00.000Z</published><updated>2011-05-24T22:32:18.730+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Installing Exchange 2010'/><title type='text'>Exchange 2010 Post Installation Tasks</title><content type='html'>&lt;p&gt;This previous post details a typical Exchange 2010 installation. Once installed there are some post-installation tasks to perform (what is presented below is not an exhaustive list)&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;strong&gt;Enter the Product Key&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;The key is not required during the install process. In unlicensed mode, you have 120 days, during which your Server will function as Exchange Standard Edition. Every time you launch the Exchange 2010 Management Console you are reminded of the number of days left&lt;br clear="all"&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_agRZ53BRnWM/Tdwj3JcKAkI/AAAAAAAAAcc/bXznqbouAEw/s1600-h/postinstall1%5B2%5D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="postinstall1" border="0" alt="postinstall1" src="http://lh4.ggpht.com/_agRZ53BRnWM/Tdwj3e4KFWI/AAAAAAAAAcg/iDnpm_np4rg/postinstall1_thumb.png?imgmax=800" width="244" height="138"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;br clear="all"&gt;You can determine the trial period time by using the following cmdlet:&lt;/p&gt; &lt;p&gt;&lt;font color="#809ec2"&gt;[PS] C:\&amp;gt;Get-ExchangeServer | Where-Object {$_.IsExchange2007TrialEdition -match $true} | ft name,rem* -au&lt;br&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;To enter the product key you can use the Management Console or the Exchange Shell. To use the console see below:&lt;br clear="all"&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_agRZ53BRnWM/Tdwj3ygDBjI/AAAAAAAAAck/3rtPfa0qjwM/s1600-h/postinstall2%5B2%5D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="postinstall2" border="0" alt="postinstall2" src="http://lh3.ggpht.com/_agRZ53BRnWM/Tdwj4T1NawI/AAAAAAAAAco/c_xMHmug7is/postinstall2_thumb.png?imgmax=800" width="244" height="126"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;To use the shell type the following cmdlet:&lt;/p&gt; &lt;p&gt;&lt;font color="#809ec2"&gt;[PS] C:\&amp;gt;Set-ExchangeServer -Identity srvmail -ProductKey ASMTV-GMXFD-C23GH-8SSAS-ADSAP&lt;/font&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;strong&gt;Verify a Successful Installation&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;You will want to make sure that the installation was a success. Setup logs can help with this. All of the setup logs for Exchange are found in a folder on the root of the system drive (E.g. C:\ExchangeSetupLogs). Within this folder holds the ExchangeSetupLog file. This log file records the status of every task that the installer performs when installing and configuring Exchange.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;strong&gt;Check Services &lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;I have found that on reboot, the server does not always start the necessary exchange services like it should. You can determine this using the following cmdlet:&lt;/p&gt; &lt;p&gt;&lt;font color="#809ec2"&gt;[PS] E:\&amp;gt;Test-Service Health | fl&lt;br clear="all"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-5310519796249144457?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/5310519796249144457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/10/exchange-2010-post-installation-tasks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/5310519796249144457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/5310519796249144457'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/10/exchange-2010-post-installation-tasks.html' title='Exchange 2010 Post Installation Tasks'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_agRZ53BRnWM/Tdwj3e4KFWI/AAAAAAAAAcg/iDnpm_np4rg/s72-c/postinstall1_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-2918410933023467772</id><published>2010-10-30T19:14:00.011+01:00</published><updated>2011-03-18T15:53:04.097Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Installing Exchange 2010'/><title type='text'>Installing Exchange 2010 - Exchange Server Operating System PreReqs</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span xmlns:hidexhtml="http://www.w3.org/1999/xhtml" xmlns:mtps-scripts="urn:mtps-scripts" xmlns:xhtml="http://www.w3.org/1999/xhtml"&gt;Before we install Exchange 2010, we must ensure that the certain operating system components are in place.&lt;/span&gt;&lt;br /&gt;&lt;span xmlns:hidexhtml="http://www.w3.org/1999/xhtml" xmlns:mtps-scripts="urn:mtps-scripts" xmlns:xhtml="http://www.w3.org/1999/xhtml"&gt;On the Start menu, navigate to &lt;b&gt;All Programs&lt;/b&gt; &amp;gt; &lt;b&gt;Acce&lt;span style="font-size: small;"&gt;ssories&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: small;"&gt; &amp;gt; &lt;b&gt;Windows PowerShell&lt;/b&gt;. Open an elevated Windows PowerShell console, and run the following command:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;" xmlns:hidexhtml="http://www.w3.org/1999/xhtml" xmlns:mtps-scripts="urn:mtps-scripts" xmlns:xhtml="http://www.w3.org/1999/xhtml"&gt;&lt;span xmlns:hidexhtml="http://www.w3.org/1999/xhtml" xmlns:mtps-scripts="urn:mtps-scripts" xmlns:xhtml="http://www.w3.org/1999/xhtml"&gt;&lt;span id="ctl00_MTCS_main_ctl84_ctl00_ctl06"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;[PS]&lt;span style="color: #0b5394;"&gt; Import-Module ServerManager&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then copy and paste the following commands to install the pre-requisite operating system components needed to later build a hub transport server, client access server and mailbox server all in one go.&lt;br /&gt;&lt;br /&gt;[PS&lt;span style="color: #0b5394;"&gt;]Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0b5394;"&gt;WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0b5394;"&gt;Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: white;"&gt;On  servers that will have the Client Access server role installed, after  the system restarts, log on as an administrator, open an elevated  Windows PowerShell console, and configure the Net.Tcp Port Sharing  Service for automatic startup by running the following command &lt;/div&gt;&lt;span style="color: #0b5394;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0b5394;"&gt;[PS]&lt;/span&gt;&lt;span style="color: #0b5394;"&gt; Set-Service NetTcpPortSharing -StartupType Automatic&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For Edge Servers, you will need the AD LDS role installed, an internal card configured to use a AD DNS server and the server configured to be in a workgroup. Additional operating system requirements can be added by using the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #0b5394;"&gt;[PS] &lt;/span&gt;&lt;span style="color: #0b5394;"&gt;Add-WindowsFeature NET-Framework,RSAT-ADDS,ADLDS -Restart&lt;/span&gt;&lt;span style="color: #0b5394;"&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span id="ctl00_MTCS_main_ctl84_ctl00_ctl15"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0b5394;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-2918410933023467772?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/2918410933023467772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/10/installing-exchange-2010-exchange.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2918410933023467772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2918410933023467772'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/10/installing-exchange-2010-exchange.html' title='Installing Exchange 2010 - Exchange Server Operating System PreReqs'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-1079227132879241675</id><published>2010-10-29T19:48:00.001+01:00</published><updated>2011-05-24T21:03:55.972+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Installing Exchange 2010'/><title type='text'>Installation of Exchange 2010 (Typical)</title><content type='html'>&lt;p&gt;This is a walk-through of a typical Exchange 2010 installation. The slides include a preparation of the Schema (/PrepareSchema), configuration partition (/PrepareAD)&amp;nbsp; and domain partition (/PrepareAllDomains).&lt;br clear="all"&gt;&lt;/p&gt; &lt;p&gt;Notice that the Schema Preparation should be made on the Schema Master FSMO role holder. You can determine this by using the netdom utility.&lt;/p&gt; &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:66721397-FF69-4ca6-AEC4-17E6B3208830:c5d0b3fa-9354-45de-a4f6-0bb091ee7f54" class="wlWriterEditableSmartContent"&gt;&lt;table border=0 cellspacing=0 cellpadding=0 style='outline:none;border-style:none;margin:0px;padding:0px;width:400px;border-collapse:collapse;' &gt;                     &lt;tr&gt;                        &lt;td colspan=2 style='outline:none;border-style:none;margin:0px;padding:5px 0px 5px 5px;width:157px;vertical-align:bottom;' &gt;                            &lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!282&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" target="_blank" border="0" style="outline:none;border-style:none;margin:0px;padding:0px;"&gt;                                &lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" alt="View album" title="View album" width="157" height="157" src="http://lh3.ggpht.com/_agRZ53BRnWM/TdwPAi3UO8I/AAAAAAAAAac/az2c4kP35LI/-148422987573DDC694.png?imgmax=800" /&gt;&lt;/a&gt;                        &lt;/td&gt;                        &lt;td colspan=3 style='vertical-align:middle;margin:0px;padding:5px 5px 5px 0px;outline:none;border-style:none;width:223px' &gt;                            &lt;div style="margin-left:10px;top:-3%;" &gt;                                &lt;div style='width:223px;overflow:visible;'&gt;&lt;a style="text-decoration:none;" href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=browse&amp;amp;resid=7DA6F3E4B234428D!281&amp;amp;type=5&amp;amp;authkey=BCYse95ONrg%24&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" target="_blank"&gt;&lt;span  style="line-height:1.26em;padding:0px;width:223px;font-size:26pt;font-family:'Segoe UI', helvetica, arial, sans-serif;"  defaultText="Enter album name here"&gt;Install Exchange 2010&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;                                &lt;div style="padding:10px 0px 0px 0px;margin:0px;"&gt;                                   &lt;table border=0 cellspacing=0 cellpadding=0 style="margin:0px;padding:0px;outline:none;border-style:none;border-collapse:collapse;width:auto;"&gt;                                        &lt;tr&gt;                                            &lt;td style="vertical-align:top;outline:none;border-style:none;margin:0px;padding:10px 15px 6px 0px;"&gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!281&amp;amp;type=5&amp;amp;authkey=BCYse95ONrg%24&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;VIEW SLIDE SHOW&lt;/a&gt;&lt;/td&gt;                                            &lt;td style="vertical-align:top;outline:none;border-style:none;margin:0px;padding:10px 0px 6px 0px;"&gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=downloadphotos&amp;amp;resid=7DA6F3E4B234428D!281&amp;amp;type=5&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;DOWNLOAD ALL&lt;/a&gt;&lt;/td&gt;                                        &lt;/tr&gt;                                                                           &lt;/table&gt;                                                                                                     &lt;/div&gt;                                                            &lt;/div&gt;                        &lt;/td&gt;                     &lt;/tr&gt;                    &lt;tr&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 5px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!283&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh3.ggpht.com/_agRZ53BRnWM/TdwPA0CvmeI/AAAAAAAAAag/DYze5bS4spw/26826830126419A14.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!284&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh6.ggpht.com/_agRZ53BRnWM/TdwPBLlRsPI/AAAAAAAAAak/RUxXhlB0z_A/478049037542EECCC.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!285&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh5.ggpht.com/_agRZ53BRnWM/TdwPBdlvIbI/AAAAAAAAAao/lcfxi5pi-p0/994276109542EECCC.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!286&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh3.ggpht.com/_agRZ53BRnWM/TdwPB0Yj8cI/AAAAAAAAAas/lB_Wj16qMlI/-88944468021C3F85.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!287&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh5.ggpht.com/_agRZ53BRnWM/TdwPCNFYfXI/AAAAAAAAAaw/6sacHgos2OE/-889443096D2ABD11.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 5px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!288&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh4.ggpht.com/_agRZ53BRnWM/TdwPCkYNk2I/AAAAAAAAAa0/ZPcOB0M0Eyk/-889444021B180FCA.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!289&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh5.ggpht.com/_agRZ53BRnWM/TdwPC0Jdo7I/AAAAAAAAAa4/PImGjXNyQy4/-8894449906268D57.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!290&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh6.ggpht.com/_agRZ53BRnWM/TdwPDbP0TGI/AAAAAAAAAa8/q3x8uQ3mPgk/-88944526620132C7.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!291&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh5.ggpht.com/_agRZ53BRnWM/TdwPDrcy9cI/AAAAAAAAAbA/k4JVeusXrvQ/-88944623620132C7.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!292&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh5.ggpht.com/_agRZ53BRnWM/TdwPD-vVrxI/AAAAAAAAAbE/nHTnogc08ak/-889442044D0FB054.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 5px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!293&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh4.ggpht.com/_agRZ53BRnWM/TdwPEPZDnXI/AAAAAAAAAbI/enJBj0hexjE/-889440457AFD030C.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!294&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh4.ggpht.com/_agRZ53BRnWM/TdwPEcdytlI/AAAAAAAAAbM/nsGKjIM_J98/-719728468660B8099.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!295&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh3.ggpht.com/_agRZ53BRnWM/TdwPEloYyGI/AAAAAAAAAbQ/Cd_nJ86ui5o/-71972830913F8D352.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!296&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh5.ggpht.com/_agRZ53BRnWM/TdwPFGhIFWI/AAAAAAAAAbU/FZGsqn1TXIg/-71972840241E6260A.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!297&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh3.ggpht.com/_agRZ53BRnWM/TdwPFemRQyI/AAAAAAAAAbY/I0WcTXZD7fQ/-7197284992CF4A397.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 5px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!298&amp;amp;parid=7DA6F3E4B234428D!281&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=BCYse95ONrg%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh3.ggpht.com/_agRZ53BRnWM/TdwPFi_UVjI/AAAAAAAAAbc/V7shmc77rJM/-7197285925AE1F64F.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&amp;nbsp;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&amp;nbsp;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&amp;nbsp;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt; &lt;p&gt;Once the Active Directory has been prepared, its time to turn your attention to the installation of Exchange 2010 server proper. There are a number of Server 2008 R2 pre-requisites that are required. These are mentioned in &lt;a href="http://compulinx.blogspot.com/2010/10/installing-exchange-2010-exchange.html" target="_blank"&gt;here&lt;/a&gt;. Once this has been done execute the setup.exe on the CD. Follow the next couple of steps as illustrated below.&lt;br clear="all"&gt;&lt;/p&gt; &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:66721397-FF69-4ca6-AEC4-17E6B3208830:3afaec27-52a8-4875-8886-797e867d2a2f" class="wlWriterEditableSmartContent"&gt;&lt;table border=0 cellspacing=0 cellpadding=0 style='outline:none;border-style:none;margin:0px;padding:0px;width:400px;border-collapse:collapse;' &gt;                     &lt;tr&gt;                        &lt;td colspan=2 style='outline:none;border-style:none;margin:0px;padding:5px 0px 5px 5px;width:157px;vertical-align:bottom;' &gt;                            &lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!300&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" target="_blank" border="0" style="outline:none;border-style:none;margin:0px;padding:0px;"&gt;                                &lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" alt="View album" title="View album" width="157" height="157" src="http://lh4.ggpht.com/_agRZ53BRnWM/TdwPF22sSSI/AAAAAAAAAbg/j-dWEygz05Q/-719728623215EE658.png?imgmax=800" /&gt;&lt;/a&gt;                        &lt;/td&gt;                        &lt;td colspan=3 style='vertical-align:middle;margin:0px;padding:5px 5px 5px 0px;outline:none;border-style:none;width:223px' &gt;                            &lt;div style="margin-left:10px;top:-3%;" &gt;                                &lt;div style='width:223px;overflow:visible;'&gt;&lt;a style="text-decoration:none;" href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=browse&amp;amp;resid=7DA6F3E4B234428D!299&amp;amp;type=5&amp;amp;authkey=fLGzMIVsxMI%24&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" target="_blank"&gt;&lt;span  style="line-height:1.26em;padding:0px;width:223px;font-size:26pt;font-family:'Segoe UI', helvetica, arial, sans-serif;"  defaultText="Enter album name here"&gt;Install Exchange 2010 (Pt2)&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;                                &lt;div style="padding:10px 0px 0px 0px;margin:0px;"&gt;                                   &lt;table border=0 cellspacing=0 cellpadding=0 style="margin:0px;padding:0px;outline:none;border-style:none;border-collapse:collapse;width:auto;"&gt;                                        &lt;tr&gt;                                            &lt;td style="vertical-align:top;outline:none;border-style:none;margin:0px;padding:10px 15px 6px 0px;"&gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!299&amp;amp;type=5&amp;amp;authkey=fLGzMIVsxMI%24&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;VIEW SLIDE SHOW&lt;/a&gt;&lt;/td&gt;                                            &lt;td style="vertical-align:top;outline:none;border-style:none;margin:0px;padding:10px 0px 6px 0px;"&gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=downloadphotos&amp;amp;resid=7DA6F3E4B234428D!299&amp;amp;type=5&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;DOWNLOAD ALL&lt;/a&gt;&lt;/td&gt;                                        &lt;/tr&gt;                                                                           &lt;/table&gt;                                                                                                     &lt;/div&gt;                                                            &lt;/div&gt;                        &lt;/td&gt;                     &lt;/tr&gt;                    &lt;tr&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 5px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!301&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh3.ggpht.com/_agRZ53BRnWM/TdwPGdJVRVI/AAAAAAAAAbk/sLZjGNVZpXg/-7197282040CD996DA.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!302&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh6.ggpht.com/_agRZ53BRnWM/TdwPG-iG9EI/AAAAAAAAAbo/DXhwXpzChtc/-71972804525D5671F.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!303&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh5.ggpht.com/_agRZ53BRnWM/TdwPHAjUo2I/AAAAAAAAAbs/lk9RxWqhx98/-187928883253C2B9D7.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!304&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh5.ggpht.com/_agRZ53BRnWM/TdwPHm26f8I/AAAAAAAAAbw/U82mckCfDUY/-188132044801B00C90.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!305&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh3.ggpht.com/_agRZ53BRnWM/TdwPH8YjA0I/AAAAAAAAAb0/W-1Jld8SeRc/-18741770246CBE8A1C.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 5px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!306&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh4.ggpht.com/_agRZ53BRnWM/TdwPIIpbtqI/AAAAAAAAAb4/qd00KBoUrwo/-18688686081AABDCD5.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!307&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh3.ggpht.com/_agRZ53BRnWM/TdwPIgnQ-mI/AAAAAAAAAb8/VGg4jFTjRus/-186172518405BA5A62.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!308&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh6.ggpht.com/_agRZ53BRnWM/TdwPI9EipUI/AAAAAAAAAcA/o4ZyzvU1zUQ/-187214540833A7AD1A.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!309&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh6.ggpht.com/_agRZ53BRnWM/TdwPJAZdw3I/AAAAAAAAAcE/Mv0lQPb9loE/-18660505604CA37D5F.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!310&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh3.ggpht.com/_agRZ53BRnWM/TdwPJc49yeI/AAAAAAAAAcI/8UE9XQW7NaQ/-18596935687A90D017.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 5px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!311&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh6.ggpht.com/_agRZ53BRnWM/TdwPJuSvWtI/AAAAAAAAAcM/pSmAvAfop9k/-1853598720659F4DA4.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!312&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh5.ggpht.com/_agRZ53BRnWM/TdwPJ_0NkTI/AAAAAAAAAcQ/mbtpz8VoNAY/-18640189444179F315.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!313&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh3.ggpht.com/_agRZ53BRnWM/TdwPKIPK-LI/AAAAAAAAAcU/Mj-GGvkgKiw/-18813205432C8870A2.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&lt;a href="https://cid-7da6f3e4b234428d.skydrive.live.com/redir.aspx?page=play&amp;amp;resid=7DA6F3E4B234428D!314&amp;amp;parid=7DA6F3E4B234428D!299&amp;amp;type=1&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=fLGzMIVsxMI%24" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" border="0" width="76" alt="View album" title="View album" height="76" src="http://lh5.ggpht.com/_agRZ53BRnWM/TdwPKkBKv5I/AAAAAAAAAcY/naZdoHfZyy8/-1874177119458440E7.png?imgmax=800" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style='vertical-align:bottom;outline:none;border-style:none;padding:0px 5px 5px 0px;margin:0px;width:76px;height:76px;' &gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-1079227132879241675?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/1079227132879241675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/10/installation-of-exchange-2010-typical.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1079227132879241675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1079227132879241675'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/10/installation-of-exchange-2010-typical.html' title='Installation of Exchange 2010 (Typical)'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_agRZ53BRnWM/TdwPAi3UO8I/AAAAAAAAAac/az2c4kP35LI/s72-c/-148422987573DDC694.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-1106551238988200396</id><published>2010-10-26T22:04:00.001+01:00</published><updated>2010-10-26T22:08:32.119+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Client Configuration File'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Connection Broker'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Services'/><title type='text'>Create a Client Configuration File for RemoteApp and Desktop Connection</title><content type='html'>Another method that allows you to launch applications from the client  that applies specifically to Windows 7 clients is the use of configuration files. The previous post relies on the client visiting a website and is especially useful when you have a mixed bag of clients. The configuration file is a little like the .rdp and .msi methods of remote application distribution. To start, log on to your RDCB server:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create a configuration file &lt;/b&gt;       &lt;br /&gt;&lt;ol class="ordered"&gt;&lt;li&gt;           On the RD&amp;nbsp;Connection Broker server, open Remote Desktop Connection Manager. To open Remote Desktop Connection Manager, click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Administrative Tools&lt;/b&gt;, point to &lt;b&gt;Remote Desktop Services&lt;/b&gt;, and then click &lt;b&gt;Remote Desktop Connection Manager&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;           In the left pane, click &lt;b&gt;Remote Desktop Connection Manager:&lt;/b&gt;&lt;i&gt;&lt;servername&gt;&lt;/servername&gt;&lt;/i&gt;, where &lt;i&gt;&lt;servername&gt;&lt;/servername&gt;&lt;/i&gt; is the name of the Remote Desktop Connection Broker (RD&amp;nbsp;Connection Broker) server.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;           On the &lt;b&gt;Action&lt;/b&gt; menu, click &lt;b&gt;Create Configuration File&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;           In the &lt;b&gt;Create Configuration File&lt;/b&gt; dialog box, in the &lt;b&gt;RAD Connection feed URL&lt;/b&gt;  box, enter the RemoteApp and Desktop Connection URL that specifies the  Remote Desktop Web Access (RD&amp;nbsp;Web Access) server that provides RemoteApp  and Desktop Connection resources to users. When you specify the URL,  use the fully qualified domain name (FQDN) of the RD&amp;nbsp;Web Access server.  For example, enter &lt;b&gt;https://rdwaserver/RDWeb/Feed/webfeed.aspx&lt;/b&gt;.&lt;br /&gt;&lt;div class="alert"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;                 &lt;th align="left"&gt;&lt;img alt="note" src="http://i.technet.microsoft.com/ee216782.note%28en-us,WS.11%29.gif" /&gt;Note &lt;/th&gt;               &lt;/tr&gt;&lt;tr&gt;                 &lt;td&gt;RDWeb is the default virtual directory name used by RD&amp;nbsp;Web Access. If  your implementation of RD&amp;nbsp;Web Access uses a different virtual directory  name, provide that name in the URL.&lt;/td&gt;               &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;           Click &lt;b&gt;Save&lt;/b&gt;, specify a file name and a folder location, and then click &lt;b&gt;Save&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;           Distribute the configuration file to the end users.&lt;/li&gt;&lt;li&gt;Allow users to run the webfeed program&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;End users will be able to see the remote applications by going to All Programs, RemoteApps and Desktop Connections.&lt;br /&gt;To update the list of programs on the client in the event of adding new remote applications on RDSH server do the following:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Launch Control Panel on your Windows 7 client&lt;/li&gt;&lt;li&gt;Go to RemoteApp and Desktop Connections (if using 'Category' view type this in)&lt;/li&gt;&lt;li&gt;Click Properties&lt;/li&gt;&lt;li&gt;Under Update click Update Now&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-1106551238988200396?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/1106551238988200396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/10/create-client-configuration-file-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1106551238988200396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1106551238988200396'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/10/create-client-configuration-file-for.html' title='Create a Client Configuration File for RemoteApp and Desktop Connection'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-3710975455097027184</id><published>2010-10-26T14:22:00.002+01:00</published><updated>2010-10-26T14:31:26.305+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RDS Pt4'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Services'/><title type='text'>Running the Remote Applications from the Client (RDS Pt4)</title><content type='html'>&lt;div id="mainBody"&gt;&lt;div class="section" id="sectionSection0"&gt;To verify the functionality of a RemoteApp program  deployment, log on as a domain user and connect to the RemoteApp  program by using Remote Desktop Web Access (RD&amp;nbsp;Web Access).&lt;br /&gt;&lt;b&gt;To connect to the RemoteApp program&lt;/b&gt;         &lt;br /&gt;&lt;ol class="ordered"&gt;&lt;li&gt;             Log on to the domain joined Windows 7 client asan ordinary domain user&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;All Programs&lt;/b&gt;, and then click &lt;b&gt;Internet Explorer&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the Address bar, type &lt;b&gt;https://rdwa.compulinx.local/RDWeb&lt;/b&gt; and then press ENTER.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;In the &lt;b&gt;Domain\user name&lt;/b&gt; box, type &lt;b&gt;Domain\UserName&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;Password&lt;/b&gt; box, type the password that you specified for the account and click &lt;b&gt;Sign in&lt;/b&gt;.&lt;br /&gt;&lt;div class="alert"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;                   &lt;th align="left"&gt;&lt;img alt="note" src="http://i.technet.microsoft.com/dd883263.note%28en-us,WS.10%29.gif" /&gt;Note &lt;/th&gt;                 &lt;/tr&gt;&lt;tr&gt;                   &lt;td&gt;In you receive a prompt asking you to install the &lt;b&gt;Microsoft Remote Desktop Services Web Access Control&lt;/b&gt;, click &lt;b&gt;Run Add-on&lt;/b&gt;, and then click &lt;b&gt;Run&lt;/b&gt;.&lt;/td&gt;                 &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;Calculator&lt;/b&gt;, and then click &lt;b&gt;Connect&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Well done chaps! If you find you get certificate warnings then make sure you have correctly added the certificate thumbprint to the Default Domain Group Policy setting and ran a Gpudate/force (for both RDSH and RDWA servers)&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-3710975455097027184?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/3710975455097027184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/10/running-remote-applications-from-client.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/3710975455097027184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/3710975455097027184'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/10/running-remote-applications-from-client.html' title='Running the Remote Applications from the Client (RDS Pt4)'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-4780040008326170354</id><published>2010-10-26T11:50:00.005+01:00</published><updated>2010-10-26T14:30:29.595+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RDS Pt3'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Services'/><title type='text'>Installing and Configuring RemoteApp (RDS Pt3)</title><content type='html'>Ensure that 'Domain Users' are included in the local group on 'Remote Desktop Users' on the RDSH server. A chain of authorization is set up. The RDSH server will use the RDCB as a web access server and in turn the RDCB will use the RDWA server.&lt;br /&gt;You must add the RDCB server computer account object to the TS&amp;nbsp;Web Access Computers security group on RDSH server.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;b&gt;To add RDCB server to the TS Web Access Computers group on RDSH server&lt;/b&gt;         &lt;br /&gt;&lt;ol class="ordered"&gt;&lt;li&gt;             Log on to RDSH server as Domain\Administrator.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Administrative Tools&lt;/b&gt;, and then click &lt;b&gt;Computer Management&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Expand &lt;b&gt;Local Users and Groups&lt;/b&gt;, and then click &lt;b&gt;Groups&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Right-click &lt;b&gt;TS Web Access Computers&lt;/b&gt;, and then click &lt;b&gt;Add to Group&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;Add&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;Select Users, Computers, Service Accounts, or Groups&lt;/b&gt; dialog box, click &lt;b&gt;Object Types&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;Object Types&lt;/b&gt; dialog box, select the &lt;b&gt;Computers&lt;/b&gt; check box, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;Enter the object names to select&lt;/b&gt; box, type the &lt;b&gt;rdcb server&lt;/b&gt; name and then click &lt;b&gt;OK&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;OK&lt;/b&gt; to close the &lt;b&gt;TS Web Access Computers&lt;/b&gt; dialog box.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Next, you must add the RDWA server computer account object to the TS&amp;nbsp;Web Access Computers security group on the RDCB server computer.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To add RDWA server to the TS&amp;nbsp;Web Access Computers group on RDCB server&lt;/b&gt;         &lt;br /&gt;&lt;ol class="ordered"&gt;&lt;li&gt;             Log on to RDCB server as Domain\Administrator.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Administrative Tools&lt;/b&gt;, and then click &lt;b&gt;Computer Management&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Expand &lt;b&gt;Local Users and Groups&lt;/b&gt;, and then click &lt;b&gt;Groups&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Right-click &lt;b&gt;TS Web Access Computers&lt;/b&gt;, and then click &lt;b&gt;Add to Group&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;Add&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;Select Users, Computers, Service Accounts, or Groups&lt;/b&gt; dialog box, click &lt;b&gt;Object Types&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;Object Types&lt;/b&gt; dialog box, select the &lt;b&gt;Computers&lt;/b&gt; check box, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;Enter the object names to select&lt;/b&gt; box, type the &lt;b&gt;rdwa server account&lt;/b&gt; and then click &lt;b&gt;OK&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;OK&lt;/b&gt; to close the &lt;b&gt;TS Web Access Computers&lt;/b&gt; dialog box.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Next, you must add a RemoteApp program to RDSH server by using RemoteApp Manager.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To add a RemoteApp program by using RemoteApp Manager&lt;/b&gt;         &lt;br /&gt;&lt;ol class="ordered"&gt;&lt;li&gt;             Log on to RDSH server as Domain\Administrator.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Administrative Tools&lt;/b&gt;, point to &lt;b&gt;Remote Desktop Services&lt;/b&gt;, and then click &lt;b&gt;RemoteApp Manager&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;Action&lt;/b&gt; pane, click &lt;b&gt;Add RemoteApp Programs&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Welcome to the RemoteApp Wizard&lt;/b&gt; page, click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Choose programs to add to the RemoteApp Program list&lt;/b&gt; page, select the &lt;b&gt;Calculator&lt;/b&gt; check box, and then click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Review Settings&lt;/b&gt; page, click &lt;b&gt;Finish&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&amp;nbsp;You can add Office 2007/2010 to the list. Do not install from the CD. This important! Go to the Contrrol Panel and type 'Install'. Select 'Install Application on Remote Desktop Server'. Also with Server 2008 R2, you can select a listed program and under properties and define 'user assignment' where you define which users can run the particular program.&lt;br /&gt;&lt;br /&gt;Next, assign a RemoteApp source on the RD&amp;nbsp;Web Access server (RDWA server). The calculator application is not running on the RDWA server. This is just a front-end interface for applications used by clients. So,&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To assign a RemoteApp source on RDWA-SRV&lt;/b&gt;         &lt;br /&gt;&lt;ol class="ordered"&gt;&lt;li&gt;             Log on to RDWA server as Domain\Administrator.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Administrative Tools&lt;/b&gt;, point to &lt;b&gt;Remote Desktop Services&lt;/b&gt;, and then click &lt;b&gt;Remote Desktop Web Access Configuration&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;Continue to this website (not recommended)&lt;/b&gt;.&lt;br /&gt;&lt;div class="alert"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;                   &lt;th align="left"&gt;&lt;img alt="Important" src="http://i.technet.microsoft.com/dd883260.Important%28en-us,WS.10%29.gif" /&gt;Important &lt;/th&gt;                 &lt;/tr&gt;&lt;tr&gt;                   &lt;td&gt;You should see a warning because of the use of 'Localhost'. This is normal because the certificate defines the name using the FQDN. However, you may get problems such as not being able to display the web site. If this happens, within IIS, select the default Web Site and make sure that the bindings are set correctly to use the certificate obtained from the CA. Do not use self-signed certificate!&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;                 &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;Domain\user name&lt;/b&gt; box, type &lt;b&gt;Domain\Administrator&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;Password&lt;/b&gt; box, type the password that you specified for Domain\Administrator, and then click &lt;b&gt;Sign in&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Configuration&lt;/b&gt; page, click &lt;b&gt;An RD&amp;nbsp;Connection Broker server&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;Source name&lt;/b&gt; box, type &lt;b&gt;the name of the RDCB server&lt;/b&gt; and then click &lt;b&gt;OK&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Finally, you must add a RemoteApp source on the RDCB server by using Remote Desktop Connection Manager. The broker needs to locate RDSH server to offer the applications to the RDWA server.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To add a RemoteApp source by using Remote Desktop Connection Manager&lt;/b&gt;         &lt;br /&gt;&lt;ol class="ordered"&gt;&lt;li&gt;             Log on to RDCB server as Domain\Administrator.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Administrative Tools&lt;/b&gt;, point to &lt;b&gt;Remote Desktop Services&lt;/b&gt;, and then click &lt;b&gt;Remote Desktop Connection Manager&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;RemoteApp Sources&lt;/b&gt;, and then in the &lt;b&gt;Actions&lt;/b&gt; pane, click &lt;b&gt;Add RemoteApp Source&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;RemoteApp source name&lt;/b&gt; box, type &lt;b&gt;the name of the RDSH server&lt;/b&gt; and then click &lt;b&gt;Add&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-4780040008326170354?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/4780040008326170354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/10/installing-and-configuring-remoteapp.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4780040008326170354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4780040008326170354'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/10/installing-and-configuring-remoteapp.html' title='Installing and Configuring RemoteApp (RDS Pt3)'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-534667230358764366</id><published>2010-10-26T09:56:00.008+01:00</published><updated>2010-10-26T14:28:38.793+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RDS Pt2'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Web Access'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Connection Broker'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Services'/><title type='text'>Deploying Remote Desktop Web Access with Remote Desktop Connection Broker (RDS Pt2)</title><content type='html'>For this exercise, you will need a suitable certificate infrastructure in place. Some thought is needed. We will be deploying our remote desktop service to internal domain clients so certificate revocation checks should work by default. Consider the following certificate requirements:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li class="unordered"&gt;        The certificate must be trusted explicitly or from a trusted root certificate.&lt;br /&gt;&lt;/li&gt;&lt;li class="unordered"&gt;        The certificate name or the Subject Alternative Name must match the fully-qualified domain name of the server.&lt;br /&gt;&lt;/li&gt;&lt;li class="unordered"&gt;        The certificate must support Server Authentication or Remote Desktop Authentication Extended Key Usage.&lt;br /&gt;&lt;/li&gt;&lt;li class="unordered"&gt;        Indirect certificate revocation lists are not supported.&lt;br /&gt;&lt;/li&gt;&lt;li class="unordered"&gt;        Certificate revocation checks are performed by default. &lt;br /&gt;&lt;/li&gt;&lt;li class="unordered"&gt;        When you use CredSSP, you can turn off certificate revocation  checks by configuring the following registry entry to a value of 1:  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\UseCachedCRLOnlyAndIgnoreRevocationUnknownErrors&lt;br /&gt;&lt;/li&gt;&lt;li class="unordered"&gt;        When you use Transport Layer Security (TLS), you can turn off  certificate revocation checks by configuring the following registry  entries to a value of 0: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Terminal  Server Client\ CertChainRevocationCheck and  HKEY_CURRENT_USER\SOFTWARE\Microsoft\Terminal Server Client\  CertChainRevocationCheck&lt;/li&gt;&lt;/ul&gt;The last two points are not necessary to configure. What I recommend is constructing a certificate template based on Web Server (I seem to always use this!). The subject name should be set to be 'supplied in the request' and the remote desktop session host (RDSH) server should be listed on the ACL with enroll and read permissions. Also allow the private key to be exported. When the RDSH server makes the request from the CA using certificate snapin, you can supply the internal DNS name and external DNS names using the subject alternative name. Don't forget to supply the correct CRL locations on the CA itself BEFORE you make the certificate request. You might need to add a new CRL location perhaps to a DMZ web server. I will write a post on this later.&lt;br /&gt;&lt;br /&gt;Once the RDSH server has a certificate do the following:&lt;br /&gt;First, configure a certificate used to digitally sign the RDP file by  using RemoteApp Manager.&lt;br /&gt;&lt;br /&gt;&lt;h4 class="subHeading"&gt;To configure a certificate used to digitally sign the RDP file&lt;/h4&gt;&lt;div class="subSection"&gt;&lt;ol class="ordered"&gt;&lt;li&gt;                 Log on to SRV1 as Domain\Administrator.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 Click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Administrative Tools&lt;/b&gt;, point to &lt;b&gt;Remote Desktop Services&lt;/b&gt;, and then click &lt;b&gt;RemoteApp Manager&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 Under the &lt;b&gt;Overview&lt;/b&gt; section, click &lt;b&gt;Change&lt;/b&gt; next to &lt;b&gt;Digital Signature Settings&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 Select the &lt;b&gt;Sign with a digital certificate&lt;/b&gt; check box.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 Click &lt;b&gt;Change&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 On the &lt;b&gt;Confirm Certificate&lt;/b&gt; page, select the appropriate certificate, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 Click &lt;b&gt;OK&lt;/b&gt; to close the &lt;b&gt;RemoteApp Deployment Settings&lt;/b&gt; dialog box.&lt;/li&gt;&lt;/ol&gt;You must add the thumbprint of the certificate used to digitally sign  the RDP file to the Default Domain Group Policy setting. This is  required so that the trusted publisher warning dialog box is not shown  to the user each time the RemoteApp program is started.           &lt;br /&gt;&lt;h4 class="subHeading"&gt;To add the certificate thumbprint to the Default Domain Group Policy setting&lt;/h4&gt;&lt;div class="subSection"&gt;&lt;ol class="ordered"&gt;&lt;li&gt;                 Log on to a domain controller as Domain\Administrator.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 Open the GPMC. To open the GPMC, click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Administrative Tools&lt;/b&gt;, and then click &lt;b&gt;Group Policy Management&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 Expand &lt;b&gt;Forest: compulinx.local&lt;/b&gt;, expand &lt;b&gt;Domains&lt;/b&gt;, and then expand &lt;b&gt;compulinx.local&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 Right-click &lt;b&gt;Default Domain Policy&lt;/b&gt;, and then click &lt;b&gt;Edit&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 Navigate to &lt;b&gt;Computer  Configuration\Policies\Administrative Templates\Windows  Components\Remote Desktop Services\Remote Desktop Connection Client&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 Double-click &lt;b&gt;Specify SHA1 thumbprints of certificates representing trusted .rdp publishers&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 Select the &lt;b&gt;Enabled&lt;/b&gt; option.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 In the &lt;b&gt;Comma-separated list of SHA1 trusted certificate thumbprints&lt;/b&gt; box, type the certificate thumbprint used to digitally sign the RDP file, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/li&gt;&amp;nbsp;&lt;/ol&gt;&lt;h3 class="subHeading"&gt;&lt;span style="font-size: small;"&gt;Configure the domain joined client computer (Windows 7)&lt;/span&gt;&lt;/h3&gt;&lt;div class="subSection"&gt;To configure the client computer, you must:Import the digital certificate used by RDSH server to the Trusted  Root Certification Authorities certificate store of the computer  account. &lt;b&gt;You must import a PFX certificate file that includes the private key.&lt;/b&gt; I export the certficate first to a shared location and then import on the client machine using the certificate snapin.&lt;/div&gt;&lt;div class="subSection"&gt;&lt;/div&gt;&lt;div class="subSection"&gt;&lt;h3 class="subHeading"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h3 class="subHeading"&gt;&lt;span style="font-size: small;"&gt;Configure the RD&amp;nbsp;Connection Broker server (RDCB server)&lt;/span&gt;&lt;/h3&gt;On a separate member server, install the RD&amp;nbsp;Connection Broker role service. Import the digital certificate used by RDSH server to the Personal certificate store of the computer account (remebering to import a PFX certificate like you did above). Configure a certificate used to digitally sign the RDP file. &lt;br /&gt;&lt;br /&gt;&lt;h4 class="subHeading"&gt;To configure a certificate used to digitally sign the RDP file&lt;/h4&gt;&lt;div class="subSection"&gt;&lt;ol class="ordered"&gt;&lt;li&gt;                 Open Remote Desktop Connection Manager. To open Remote Desktop Connection Manager, click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Administrative Tools&lt;/b&gt;, point to &lt;b&gt;Remote Desktop Services&lt;/b&gt;, and then click &lt;b&gt;Remote Desktop Connection Manager&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 Under the &lt;b&gt;Virtual Desktops: Resources and Configuration&lt;/b&gt; heading, click &lt;b&gt;Specify&lt;/b&gt; next to &lt;b&gt;Digital Certificate&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 On the &lt;b&gt;Digital Signature&lt;/b&gt; tab, select the &lt;b&gt;Sign with a Digital Certificate&lt;/b&gt; check box.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 Click &lt;b&gt;Select&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;                 In the &lt;b&gt;Confirm Certificate&lt;/b&gt; dialog box, click the certificate that you want to use for signing the RDP files, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="subSection"&gt;&lt;h3 class="subHeading"&gt;&lt;span style="font-size: small;"&gt;Configure the RD&amp;nbsp;Web Access server (RDWA server)&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;On a separate member server, install the RD&amp;nbsp;Web Access role service.You will need to obtain a certificate for this server like you obtained a certificate for the RDSH server. You can duplicate the 'Web Server' template as before,making sure the ACL is correct etc.&amp;nbsp; &lt;br /&gt;Add the thumbprint of the certificate used for the RD Web Access server  to the Default Domain Group Policy setting by using the GPMC as also done above under the configuration of RDSH server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol class="ordered"&gt;&lt;/ol&gt;&lt;/div&gt;&lt;ol class="ordered"&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-534667230358764366?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/534667230358764366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/10/deploying-remote-desktop-web-access.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/534667230358764366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/534667230358764366'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/10/deploying-remote-desktop-web-access.html' title='Deploying Remote Desktop Web Access with Remote Desktop Connection Broker (RDS Pt2)'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-4482437688849850701</id><published>2010-10-26T09:17:00.009+01:00</published><updated>2010-10-26T14:46:43.620+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RDS Pt1'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Session Host'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Services'/><title type='text'>Installing Remote Desktop Session Host (RDS Pt1)</title><content type='html'>The next four posts will demonstrate how to setup remote desktop services so that clients can run specific remote applications&lt;b&gt; &lt;/b&gt;using a web browser. This will involve running the applications on a Remote Desktop Session Host (RDSH) server (once called a Terminal server). A Remote Desktop Connection Broker (RDCB) will be used to connect the RDSH with the Remote Desktop Web Application server (RDWA)&lt;b&gt;. &lt;/b&gt;The use of the RDCB will be useful later when we try clustering servers. For this exercise we are not concerned with clustering. You will need 4 servers and a Windows 7 client, all in a single AD domain.&lt;b&gt; &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To install the RD&amp;nbsp;Session Host role service&lt;/b&gt;         &lt;br /&gt;&lt;ol class="ordered"&gt;&lt;li&gt;             Log on to a member server as domain\Administrator. &lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Open Server Manager. To open Server Manager, click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Administrative Tools&lt;/b&gt;, and then click &lt;b&gt;Server Manager&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Under &lt;b&gt;Roles Summary&lt;/b&gt;, click &lt;b&gt;Add Roles&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Before You Begin&lt;/b&gt; page of the Add Roles Wizard, click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Select Server Roles&lt;/b&gt; page, select the &lt;b&gt;Remote Desktop Services &lt;/b&gt;check box, and then click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Remote Desktop Services&lt;/b&gt; page, click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Select Role Services&lt;/b&gt; page, select the &lt;b&gt;Remote Desktop Session Host&lt;/b&gt; check box, and then click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Uninstall and Reinstall Applications for Compatibility&lt;/b&gt; page, click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Specify Authentication Method for Remote Desktop Session Host&lt;/b&gt; page, click &lt;b&gt;Require Network Level Authentication&lt;/b&gt;, and then click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;div class="alert"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;                   &lt;th align="left"&gt;&lt;img alt="note" src="http://i.technet.microsoft.com/dd883253.note%28en-us,WS.10%29.gif" /&gt;Note &lt;/th&gt;                 &lt;/tr&gt;&lt;tr&gt;                   &lt;td&gt;If client computers that are running Windows®&amp;nbsp;XP will use this RD&amp;nbsp;Session Host server, select &lt;b&gt;Do not require Network Level Authentication&lt;/b&gt;.&lt;/td&gt;                 &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Specify Licensing Mode &lt;/b&gt;page, select &lt;b&gt;Configure later&lt;/b&gt;, and then click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;div class="alert"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;                   &lt;th align="left"&gt;&lt;img alt="note" src="http://i.technet.microsoft.com/dd883253.note%28en-us,WS.10%29.gif" /&gt;Note &lt;/th&gt;                 &lt;/tr&gt;&lt;tr&gt;                   &lt;td&gt;For the purposes of this class, a Remote Desktop  licensing mode is not configured. For use in a production environment,  you must configure a Remote Desktop licensing mode.&lt;/td&gt;                 &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Select User Groups Allowed Access To This Remote Desktop Session Host Server&lt;/b&gt; page, click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Configure Client Experience&lt;/b&gt; page, click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Confirm Installation Selections&lt;/b&gt; page, verify that the RD&amp;nbsp;Session Host role service will be installed, and then click &lt;b&gt;Install&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             On the &lt;b&gt;Installation Results&lt;/b&gt; page, you are prompted to restart the server to finish the installation process. Click &lt;b&gt;Close&lt;/b&gt;, and then click &lt;b&gt;Yes&lt;/b&gt; to restart the server.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             After the server restarts and you log on to the computer  as Domain\Administrator, the remaining steps of the installation  finish. When the &lt;b&gt;Installation Results&lt;/b&gt; page appears, confirm that installation of the RD&amp;nbsp;Session Host role service succeeded, and then click &lt;b&gt;Close&lt;/b&gt; to close the RD&amp;nbsp;Session Host configuration window. Also, close Server Manager.&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Add Domain Users to the Remote Desktop Users group&lt;/b&gt;         &lt;br /&gt;&lt;ol class="ordered"&gt;&lt;li&gt;             Log on to the RDSH server as Domain\Administrator.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Administrative Tools&lt;/b&gt;, and then click &lt;b&gt;Computer Management&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Expand &lt;b&gt;Local Users and Groups&lt;/b&gt;, and then click &lt;b&gt;Groups&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Right-click &lt;b&gt;Remote Desktop Users&lt;/b&gt;, and then click &lt;b&gt;Add to Group&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;Remote Desktop Users&lt;/b&gt; dialog box, click &lt;b&gt;Add&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             In the &lt;b&gt;Select Users, Computers, Service Accounts, or Groups&lt;/b&gt; dialog box, in the &lt;b&gt;Enter the object names to select&lt;/b&gt; box, type &lt;b&gt;Domain Users&lt;/b&gt; and then click &lt;b&gt;OK&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;             Click &lt;b&gt;OK&lt;/b&gt; to close the &lt;b&gt;Remote Desktop Users&lt;/b&gt; dialog box.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ol class="ordered"&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-4482437688849850701?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/4482437688849850701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/10/installing-remote-desktop-session-host.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4482437688849850701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4482437688849850701'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/10/installing-remote-desktop-session-host.html' title='Installing Remote Desktop Session Host (RDS Pt1)'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-2697841205241962960</id><published>2010-10-18T21:20:00.013+01:00</published><updated>2011-05-06T10:47:27.766+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Virtualization Host'/><category scheme='http://www.blogger.com/atom/ns#' term='Server Core'/><title type='text'>How to Install Remote Desktop Virtualization Host on Server Core</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;After installing Hyper-V R2 I found that installing&amp;nbsp;Remote Desktop Virtualization Host was a little tricky. Here are some of the steps required:&lt;br /&gt;&lt;br /&gt;When you search for the available features on Hyper-V Server you can  use DISM. For example “dism /online /Get-Features /Format:table”. This  may give the following output:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_agRZ53BRnWM/TLyrb8A37aI/AAAAAAAAAHY/fPuC4eM94Vo/s1600/rdvh1.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="215" src="http://4.bp.blogspot.com/_agRZ53BRnWM/TLyrb8A37aI/AAAAAAAAAHY/fPuC4eM94Vo/s320/rdvh1.PNG" style="cursor: move;" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As you can see from the above table, the "RDVH" is not listed. However, if you have ran Powershell and run the following commands you will be able to see the feature:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;[PS] Import-Module ServerManager&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;[PS] Get-WindowsFeature&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TLys5G3sjAI/AAAAAAAAAHc/6MCftPHqPGo/s1600/rdvh2.PNG" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="174" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TLys5G3sjAI/AAAAAAAAAHc/6MCftPHqPGo/s320/rdvh2.PNG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;Now you can see the Remote Desktop Virtualization Host feature with a Name of RDS-Virtualization. You can now install the feature by typing the following:&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;dism /online /Enable-Feature /FeatureName:VmHostAgent (type this as written)&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;[PS] Import-Module ServerManager&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;[PS] Add-WindowsFeature –Name RDS-Virtualization&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;ol&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-2697841205241962960?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/2697841205241962960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/10/how-to-install-remote-desktop.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2697841205241962960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/2697841205241962960'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/10/how-to-install-remote-desktop.html' title='How to Install Remote Desktop Virtualization Host on Server Core'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_agRZ53BRnWM/TLyrb8A37aI/AAAAAAAAAHY/fPuC4eM94Vo/s72-c/rdvh1.PNG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-7464978788397154597</id><published>2010-10-15T17:27:00.001+01:00</published><updated>2010-10-15T22:00:55.189+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Management'/><category scheme='http://www.blogger.com/atom/ns#' term='Hyper-V'/><title type='text'>Management of Hyper-V from Windows 7</title><content type='html'>Having played around on Server Core 2008 R2 I decided to install Hyper-V 2008 R2 on it. However, I found remote management a bit tricky. After a bit of searching I found some excellent articles answering&amp;nbsp; some of the problems I experienced. First to manage Hyper-V from Windows 7 you need to install the RSAT tools. You can download the x86/64 versions from the following &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&amp;amp;displaylang=en&lt;/a&gt;.&lt;br /&gt;You might find once you download them that you can't install them.  The installer quits with the message "This update is not applicable for your computer." I found it necessary to uninstall SP1, install the RSAT tools and then put SP1 back on again.Once on Hyper-V management can be turned on by &lt;br /&gt;&lt;ol&gt;&lt;li&gt;Go to Start &amp;gt; Control panel Under Programs, click on Get programs&lt;/li&gt;&lt;li&gt;On the left panel, click on Turn Windows feature on or off&lt;/li&gt;&lt;li&gt;On the feature list, expand Remote Server Administration roles &amp;gt; Role Administration Tools, mark Hyper-V Tools, then click OK&lt;/li&gt;&lt;li&gt;Go to Administrative tools &amp;gt; Hyper-V Manager, launch it&lt;/li&gt;&lt;/ol&gt;Now that its running you might find you cant connect to the Hyper-V server. The following article helped alot with this one:&amp;nbsp;&lt;a href="http://www.virtualizationadmin.com/articles-tutorials/microsoft-hyper-v-articles/installation-and-deployment/installing-hyper-v-tools-remote-management-windows-7.html"&gt;http://www.virtualizationadmin.com/articles-tutorials/microsoft-hyper-v-articles/installation-and-deployment/installing-hyper-v-tools-remote-management-windows-7.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Additionally, you might find that you connect but get bugged with the following error:&lt;br /&gt;&lt;br /&gt;"Hyper-V Error – Access Denied. Unable to establish communication between Hyper-V and Client"&lt;br /&gt;&amp;nbsp;The following article provides a simple walkthrough regarding this; &lt;a href="http://blog.mpecsinc.ca/2009/06/hyper-v-error-access-denied-unable-to.html"&gt;http://blog.mpecsinc.ca/2009/06/hyper-v-error-access-denied-unable-to.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-7464978788397154597?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/7464978788397154597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/10/management-of-hyper-v-from-windows-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7464978788397154597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7464978788397154597'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/10/management-of-hyper-v-from-windows-7.html' title='Management of Hyper-V from Windows 7'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-5326429972440002069</id><published>2010-10-14T21:40:00.003+01:00</published><updated>2010-10-15T17:30:00.499+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Powershell Server Core'/><category scheme='http://www.blogger.com/atom/ns#' term='Hyper-V'/><title type='text'>How to enable PowerShell in Server Core 2008 R2</title><content type='html'>This is a bit of departure from my normal Exchange 2010 posts but I've been playing around with Server Core on Server 2008 R2. I thought it would be a good idea to provide details on how to install powershell on Server Core.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;start /w ocsetup NetFx2-ServerCore&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;start /w ocsetup MicrosoftWindowsPowerShell&lt;/span&gt;&lt;/li&gt;&lt;li&gt;To run it just &lt;span style="font-weight: bold;"&gt;cd&lt;/span&gt; to &lt;span style="font-weight: bold;"&gt;c:\windows\system32\WindowsPowerShell\v1.0&lt;/span&gt; and  typed &lt;span style="font-weight: bold;"&gt;powershell&lt;/span&gt; &lt;/li&gt;&lt;/ul&gt;Once you reboot the system, the PowerShell directory will be placed in the  search path and you can just type powershell in any directory to access the  PowerShell command prompt.&lt;a class="singleposttitle" href="http://www.blogger.com/twickers/archive/2009/11/04/136013.aspx" id="viewpost_ascx_TitleUrl" title="Title of this entry."&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a class="singleposttitle" href="http://www.blogger.com/twickers/archive/2009/11/04/136013.aspx" id="viewpost_ascx_TitleUrl" title="Title of this entry."&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-5326429972440002069?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/5326429972440002069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/10/how-to-enable-powershell-in-hyper-v.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/5326429972440002069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/5326429972440002069'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/10/how-to-enable-powershell-in-hyper-v.html' title='How to enable PowerShell in Server Core 2008 R2'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-5846678749010265347</id><published>2010-08-10T17:08:00.000+01:00</published><updated>2010-08-10T17:08:33.472+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OAB'/><category scheme='http://www.blogger.com/atom/ns#' term='Address Lists'/><category scheme='http://www.blogger.com/atom/ns#' term='Offline Address Book'/><title type='text'>How To Manage Address List Distribution (Offline Address Books)</title><content type='html'>Address Lists can be made available to users offline by allowing them to download 'Offline Address Lists' or OABs. OAB are files containing address lists that can be downloaded to clients in two main ways:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Outlook 2007 clients can download OABs by connecting to a web service on the Exchange Server (virtual directory)&lt;/li&gt;&lt;li&gt;Outlook 2003 and earlier clients have to download OABs from a system public folder.&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;To create an OAB that relys on web based distribution try the following cmdlet:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;[PS] New-OfflineAddressBook -Name "Trainers Starting with A OAB" -AddressLists&amp;nbsp;"Trainers Starting with A"&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Once the OAB has been created you can define which OAB users should receive. You can do this in two ways:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Attach an OAB to a mailbox database&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;[PS] Set-MailboxDatabase -Identity "DB1" -OfflineAddressBook "Trainers Starting with A"&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; 2. &amp;nbsp;Specify an OAB for particular users&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;[PS] Set-Mailbox "Andrew Stevens" -OfflineAddressBook&amp;nbsp;"Trainers Starting with A"&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-5846678749010265347?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/5846678749010265347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/08/how-to-manage-address-list-distribution.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/5846678749010265347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/5846678749010265347'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/08/how-to-manage-address-list-distribution.html' title='How To Manage Address List Distribution (Offline Address Books)'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-1413953897242774086</id><published>2010-08-10T10:41:00.003+01:00</published><updated>2010-08-10T16:27:45.761+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Address Lists'/><category scheme='http://www.blogger.com/atom/ns#' term='Custom Recipient Filter'/><title type='text'>How To Manage Address List Content</title><content type='html'>&lt;b&gt;Creating Address Lists&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;The following cmdlet will show you how to create an address list based on certain Active Directory attributes:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;[PS] New-AddressList -Name "The Training Department" -IncludedRecipients MailboxUsers -ConditionalDepartment Training&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The 'conditionaldepartment' attribute is based on a number of different AD attributes. Some of them are shown below:&lt;br /&gt;&lt;br /&gt;1. Company&lt;br /&gt;2. Department&lt;br /&gt;3. State or province&lt;br /&gt;&lt;br /&gt;Just include 'conditional' in front of these attributes as shown in the above cmdlet.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;You can create an address list using custom filters rather that relying on the predefined AD attributes. This makes&amp;nbsp;creating building address lists fun! For example, if you wanted to create an address list which defines usermailbox recipients that have a surname which starts with the letter 'A' try typing the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;[PS] New-AddressList -Name "Trainers Starting with A" -RecipientFilter {((RecipientType -eq 'UserMailbox') -and (Lastname -like 'A*'))}&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;You can update this address list by typing the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;[PS] Update-AddressList -Identity "Trainers Starting with A"&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Who Can View the Address List Created&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Now the address list has been created you can customize who can view the address list. By default all users can see the list but you can change this if you want. For example, considering the above address list you can only members of the Training Department to view 'Trainers Starting with A'. To do this use the following two cmdlets:&lt;br /&gt;&lt;br /&gt;1. Remove the permission that allows all authenticated users to view the address list&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;[PS] Remove-ADPermission "Trainers Starting with A" -User "Authenticated Users" -ExtendedRights "Open Address List" -Confirm:$false&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;2. Define which security group &lt;i&gt;can&lt;/i&gt;&amp;nbsp;view the address list&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;[PS] Add-ADPermission&amp;nbsp;"Trainers Starting with A" -User "Training Department" -ExtendedRights "Open Address List" -Confirm:$false&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The above "Training Department" is a security group. If you want to view the membership of an address list try typing the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;[PS] Get-AddressList "Trainers Starting with A"&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-1413953897242774086?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/1413953897242774086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/08/how-to-manage-address-list-content.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1413953897242774086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1413953897242774086'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/08/how-to-manage-address-list-content.html' title='How To Manage Address List Content'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-1263762204288777483</id><published>2010-08-05T22:19:00.001+01:00</published><updated>2010-08-05T22:29:05.813+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Email Address Policies'/><title type='text'>Email Address Policies</title><content type='html'>&lt;b&gt;Email Address Policies &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Consider this scenario: You have decided on using a UPN suffix of companyname.com while using an AD domain name of companyname.local. This will enable your users to have a single log in name that matches their email address. As the domain name is companyname.local the default email address (smtp address) will be based on the same name. User Andrew would have therefore an email address of andrew@companyname.local &lt;br /&gt;&lt;br /&gt;This of course is not suitable for Internet messaging and also does not match the upn suffix. To make this right we need to configure a second email address policy. In this policy, we would define an email address of @companyname.com and apply it to user mailboxes. That's recipients with mailboxes in your Exchange organization. Here's how to do it:&lt;br /&gt;&lt;br /&gt;1. Configure an accepted domain based on the address (see earlier posts)&lt;br /&gt;2. Use the following cmdlet to create an email address policy called compulinx.com&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] New-EmailAddressPolicy "compulinx.com" -IncludedRecipients MailboxUsers -EnabledPrimarySMTPAddress "SMTP:%g.%s@compulinx.com"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The variables used above will create a policy that uses firstname (g) and last name (s). Other variables are shown below&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_agRZ53BRnWM/TFssthIjkeI/AAAAAAAAAFc/4GyWq3qFxxA/s1600/email+address+policies+variables.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_agRZ53BRnWM/TFssthIjkeI/AAAAAAAAAFc/4GyWq3qFxxA/s320/email+address+policies+variables.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To apply a policy once created use the following cmdlet &lt;br /&gt;&amp;nbsp; &lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Update-EmailAddressPolicy "Compulinx.com"&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-1263762204288777483?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/1263762204288777483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/08/email-address-policies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1263762204288777483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1263762204288777483'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/08/email-address-policies.html' title='Email Address Policies'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_agRZ53BRnWM/TFssthIjkeI/AAAAAAAAAFc/4GyWq3qFxxA/s72-c/email+address+policies+variables.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-1198879696914313209</id><published>2010-07-20T19:49:00.014+01:00</published><updated>2011-03-29T22:28:34.987+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic Distribution Groups'/><category scheme='http://www.blogger.com/atom/ns#' term='Distribution Groups'/><title type='text'>Manage Distribution Groups</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Messages can be sent to groups of recipients. These groups are called distribution groups. The following describes&lt;br /&gt;&lt;br /&gt;1. How  to create a new  distribution group&lt;br /&gt;2. How to mail enable an  existing distribution group&lt;br /&gt;3. How to modify the membership of the group&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to Create a New Distribution Group&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;An important initial consideration is that when you create a distribution group the group scope is universal and they can be security enabled (and can be assigned to an acl). When you create the group you decide this.&lt;br /&gt;&lt;span style="color: #00000a;"&gt;&lt;span style="font-family: Tahoma,sans-serif;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;The following cmdlet will show you how to create a distribution group that is security enabled.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] New-DistributionGroup "Sales" -Security&lt;/div&gt;&lt;br /&gt;If the -Security parameter is left out then the group defaults to a distribution group.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to Mail Enable an Existing Distribution Group&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;If you recall three different group scopes exist&lt;br /&gt;&lt;br /&gt;1. Global&lt;br /&gt;2. Domain local&lt;br /&gt;3. Universal&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You should understand that you can only mail enable existing universal groups (domain local and global groups have to be converted).&lt;br /&gt;&lt;br /&gt;The following cmdlet will mail enable an existing universal group called HR&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Enable-DistributionGroup "HR"&lt;/div&gt;&lt;br /&gt;&lt;b&gt;How to Modify the Membership of the Group&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The following cmdlets will add and remove members from the distribution group called "HR"&lt;br /&gt;&lt;b&gt; &lt;/b&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Add-DistributionGroupMember "HR" -Member "Andrew Stevens"&lt;/div&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Remove-DistributionGroupMember "HR" -Member "Andrew Stevens"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Dynamic Distribution Groups &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;In Exchange 2000/2003 these were called query based distribution groups. Membership is based on a recipient filter and can include all recipient types. By default these groups types only accept messages from authenticated users. Membership can change based on a particular attribute. For example, a recipient can be a member of DDG based on a department. The following example will create a DDG called 'students' and will include users that have mailboxes AND are in the students department. &lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] New-DynamicDistributionGroup -Name "Students" -RecipientFilter {(RecipientType -eq 'UserMailbox') -and (Department -like 'Students*')}&lt;/div&gt;&lt;br /&gt;To view the DDG type the following cmdlet &lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Get-DynamicDistributionGroup&lt;br /&gt;&lt;br /&gt;&lt;div style="color: white;"&gt;To view the DDG membership, type the following cmdlet:&lt;/div&gt;&lt;br /&gt;[PS]&amp;nbsp; $Group = Get-DynamicDistributionGroup -Identity "Students"&lt;br /&gt;[PS] Get-Recipient -RecipientPreviewFilter $Group.RecipientFilter &lt;br /&gt;&lt;span style="color: black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt; &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="MsoNormal" style="line-height: 12pt;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 12pt;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 12pt;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 12pt;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 12pt;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 12pt;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 12pt;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-1198879696914313209?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/1198879696914313209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/07/manage-distribution-groups.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1198879696914313209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1198879696914313209'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/07/manage-distribution-groups.html' title='Manage Distribution Groups'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-4339100200872834626</id><published>2010-07-18T11:24:00.001+01:00</published><updated>2011-05-05T20:50:26.295+01:00</updated><title type='text'>Recipient Bulk Management Tasks</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;You can create new mailboxes using the New-Mailbox cmdlet as described earlier in this &lt;a href="http://compulinx.blogspot.com/2010/07/manage-recipient-accounts.html"&gt;post&lt;/a&gt;. Sometimes,&amp;nbsp; you may be asked to create a large number of user mailboxes based on a comma - separated value spreadsheet. &lt;br /&gt;Fortunately, the Import-CSV cmdlet is helpful here. In this case you can easily import the CSV file and use the New-Mailbox cmdlet to quickly create the mailboxes. &lt;br /&gt;The spreadsheet could look something like the following:&lt;br /&gt;&lt;a href="http://lh6.ggpht.com/_agRZ53BRnWM/TZ7g8_RIj-I/AAAAAAAAARo/C71Tvl7CUBI/s1600-h/spreadsheet1%5B2%5D.png"&gt;&lt;img alt="spreadsheet1" border="0" height="130" src="http://lh3.ggpht.com/_agRZ53BRnWM/TZ7g9fvTCWI/AAAAAAAAARs/mkSmQPb1sls/spreadsheet1_thumb.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="spreadsheet1" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;The spreadsheet provides minimal information (and needs to saved as a .CSV file).&lt;br /&gt;To see the CSV file in powershell, simply type the following command:&lt;br /&gt;[PS] Import-CSV c:\book3.csv | ft –au&lt;br /&gt;&lt;a href="http://lh4.ggpht.com/_agRZ53BRnWM/TZ7g9k7TEJI/AAAAAAAAARw/24DxWdCrMZY/s1600-h/spreadsheet2%5B2%5D.png"&gt;&lt;img alt="spreadsheet2" border="0" height="77" src="http://lh3.ggpht.com/_agRZ53BRnWM/TZ7g9znF4_I/AAAAAAAAAR0/gHbJ_WNdUWw/spreadsheet2_thumb.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="spreadsheet2" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;To create new-mailboxes from this file try using the following cmdlet in powershell:&lt;br /&gt;First you create a password variable&lt;br /&gt;&lt;span style="color: #4bacc6;"&gt;[PS] $Password = Read-Host “Enter a Password” –AsSecureString&lt;/span&gt;&lt;br /&gt;Then, you can import the CSV file, loop through the file and create new mailboxes. Notice in the script below, that we can add the the new users to a specific organisational unit and we use the password variable to provide the needed passwords.&lt;br /&gt;&lt;span style="color: #4bacc6;"&gt;[PS] Import-Csv .\Book3.csv | foreach { New-Mailbox -Name $_.Name -FirstName $_.FirstName -LastName $_.LastName -Alias $_.Name -UserPrincipalName "$_.Name@compulinx.com" -OrganizationalUnit Staff -Password $Password -Database "EX1\store2\db01" -ResetPasswordOnNextLogon $true }&lt;/span&gt;&lt;br /&gt;As the above script does not include –Department, your new mailboxes will not be assigned relevant departments. Lets say you need to now include the department for these users. You can once again refer to your CSV file.&lt;br /&gt;If you type the following cmdlet, you will see that the sales group is empty &lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_agRZ53BRnWM/TZ77w8xLtCI/AAAAAAAAAR4/FDHf4e9cEeE/s1600-h/spreadsheet3%5B2%5D.png"&gt;&lt;img alt="spreadsheet3" border="0" height="40" src="http://lh4.ggpht.com/_agRZ53BRnWM/TZ77xMN9VUI/AAAAAAAAAR8/U5EaTY3QXxE/spreadsheet3_thumb.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="spreadsheet3" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;The following command will set a department property for each user defined in the CSV file.&lt;br /&gt;&lt;span style="color: #4bacc6;"&gt;[PS] C:\&amp;gt;Import-Csv .\Book3.csv | foreach {Set-User -Identity $_.name -Department $_.Department}&lt;/span&gt;&lt;br /&gt;The following result will be displayed &lt;br /&gt;&lt;a href="http://lh4.ggpht.com/_agRZ53BRnWM/TZ9gc6wxCyI/AAAAAAAAASA/Yt8h8bSRbVQ/s1600-h/spreadsheet4%5B2%5D.png"&gt;&lt;img alt="spreadsheet4" border="0" height="50" src="http://lh5.ggpht.com/_agRZ53BRnWM/TZ9gdNhteSI/AAAAAAAAASE/TeCciJqtdrE/spreadsheet4_thumb.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="spreadsheet4" width="244" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-4339100200872834626?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/4339100200872834626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/07/recipient-bulk-management-tasks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4339100200872834626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4339100200872834626'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/07/recipient-bulk-management-tasks.html' title='Recipient Bulk Management Tasks'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_agRZ53BRnWM/TZ7g9fvTCWI/AAAAAAAAARs/mkSmQPb1sls/s72-c/spreadsheet1_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-7345442509044795721</id><published>2010-07-16T10:29:00.036+01:00</published><updated>2010-07-20T20:42:03.648+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Recipients'/><title type='text'>Manage Recipient Accounts</title><content type='html'>In Exchange 2010 their are many different recipient types. Recipients with user accounts have an Exchange mailbox connected or linked to the account. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Part One&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Create a New User with a Mailbox (MailBox User)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This process serves two objectives; it will create an account in AD and will build a mailbox for the account in an Exchange database. To do this using the EMS type the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] New-Mailbox -Alias "Andrew" -Name "Andrew Stevens" -FirstName "Andrew" -LastName "Stevens" -UserPrinicipleName &lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;andrew@compulinx.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You will be prompted to enter a password for the account and database&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Mail Enable an Existing User&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The following process will create a mailbox for an existing user account. To do this in the EMS, type the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Enable-Mailbox [Username] or [DistinguishedName]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Part Two&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Create a Mail-Enabled Contact (Mail Contact)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A contact is a type of recipient that &lt;i&gt;doesn't &lt;/i&gt;have a mailbox in your Exchange organisation. Contacts are created when you want recipients to exist in an address list but those recipients don't own internal mailboxes. These are essentially the same type of contacts that are created in hotmail etc. and have external email addresses. Remember that contacts are objects in AD. To create a contact, type the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] New-MailContact [FullContactName] -ExternalEmailAddress [SMTPAddress]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Create a Mail Enabled User (Mail User)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This type of recipient has an AD account (you can log on with it) but has an external email address so the account will not own an internal mailbox.&lt;b&gt; &lt;/b&gt;To create a mail user, type the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] New-MailUser -Name "Susan" -FirstName "Susan" -LastName "King" -ExternalEmailAddress susan@hotmail.com -UserPrincipleName susan@compulinx.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Part Three&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Modification of Mail Contact Information&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To identify which attributes are associated with the mail-enabled contact just created, type the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Get-Contact | Get-Member&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As the output indicates, you can modify a number of different attributes. For example, to change the mobile phone number of a contact type the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-Contact -Identity "Tony Almeida" -MobilePhone "1234567"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Modification of User Mailbox Information&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To modify a user mailbox information like the address type the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-User "Andrew Stevens" -StreetAddress "123 Exchange Street" -City "Exchange Town"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(Wow what an interesting place to live!)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Part Four&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Hide a User From Address Lists using the EMS&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You might want to hide a user from your address lists. Remember that once the user is hidden you will have problems creating an Outlook profile for the user. You should unhide the user account, create the profile and then rehide it again. Type the the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-Mailbox "Andrew Stevens" -HiddenFromAddressListsEnabled $true&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Part Five&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Creating Resource Accounts&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Why create resource accounts? A resource account can represent a physical item like a room or a projector. Recipients can request the use of such a resource perhaps in a meeting request and schedule its use. Resources can be configured to accept or reject meeting requests automatically (users have to manually accept&amp;nbsp; or reject a meeting invitation). Also, resource mailboxes have an account in AD but you can't log on to a computer with it; its disabled. Lets first create a resource mailbox called "Room 1"&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] New-Mailbox "Room 1" -UserPrincipalName room1@compulinxonline.com -Room&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can replace the resource mailbox type of "-Room" with "-Equipment" &lt;br /&gt;&lt;br /&gt;Now that you have created a resource mailbox it can be requested and booked. The 'Resource Booking Attendant' acts on behalf of the resource mailbox and automatically approves resource request. This needs to be turned on:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="border: medium none; clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TECoq16E9aI/AAAAAAAAAEk/kuMKSzcP_Cc/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" hw="true" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TECoq16E9aI/AAAAAAAAAEk/kuMKSzcP_Cc/s320/Capture.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To do this in this in the EMS type the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-CalendarProcessing "Room 1" -AutomateProcessing AutoAccept&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;When someone makes a request for this resource (perhaps in a meeting request) you can reply to the requestor with a custom message. For example in the following example, if someone makes a request for Room 1 then you can remind the requestor that he/she can also request a projector:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="border: medium none; clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TEC281bcKII/AAAAAAAAAE0/RmSCBTT0JbU/s1600/response.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" hw="true" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TEC281bcKII/AAAAAAAAAE0/RmSCBTT0JbU/s320/response.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can do the same thing using the EMS. Type the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-CalendarProcessing "Room 1" -AddAdditionalResponse $True -AdditionalResponse&amp;nbsp;"If you need a projector make an additional request"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Part Six&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Impose Storage Quotas on Specific Users&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;How much disk space is allowed for mail storage is set on the mailbox database but can be overridden on a per user basis. You can set this on the recipient properties of the user mailbox in the EMC or by using the shell:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-Mailbox "Andrew Stevens" -ProhibitSendQuota 150MB - ProhibitSendReceiveQuota 200MB -IssueWarrningQuota 100MB -UseDataBaseQuotaDefaults $False&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Please note the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The ProhibitSendQuota defines when messages cannot be sent&lt;/li&gt;&lt;li&gt;The ProhibitSendReceiveQuota defines when messages cannot be sent or received&lt;/li&gt;&lt;li&gt;The IssueWarningQuota defines when a warning will be sent to the recipient indicating that they are getting close to the limit&lt;/li&gt;&lt;li&gt;UseDataBaseQuotaDefaults defines that quotas set on the database should be overruled&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;Impose Message Size Limits on Specific Users&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This defines how large the messages can be (sending and receiving). Large messages take up more disk space and quotas are reached faster. Also large messages take longer to deliver backing up the mail queues.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-Mailbox "Andrew Stevens" -MaxSendSize 10MB -MaxReceiveSize 10MB&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Disabling a Mailbox Using the EMS&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Disabling a mailbox disconnects an AD account from the mailbox. Unlike removing the mailbox, the AD account is not deleted from AD. &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Disable-Mailbox "Andrew Stevens" -Confirm:$False&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Give a Different User Access to Your Mailbox&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A variety of access levels can be granted using the EMS:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TEDgAGn_u7I/AAAAAAAAAE8/26Ta2pP0-gc/s1600/perms.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="203" hw="true" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TEDgAGn_u7I/AAAAAAAAAE8/26Ta2pP0-gc/s400/perms.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The following cmdlet will allow the recipient logged in as Martina to send an email as if it came from Andrew Stevens (her boss!)&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Add-ADPermission "Andrew Stevens" -User "compulinx\martina" -Extendedrights "Send As"&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;&lt;span xmlns:hidexhtml="http://www.w3.org/1999/xhtml" xmlns:mtps-scripts="urn:mtps-scripts" xmlns:xhtml="http://www.w3.org/1999/xhtml"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;&lt;span xmlns:hidexhtml="http://www.w3.org/1999/xhtml" xmlns:mtps-scripts="urn:mtps-scripts" xmlns:xhtml="http://www.w3.org/1999/xhtml"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;&lt;span xmlns:hidexhtml="http://www.w3.org/1999/xhtml" xmlns:mtps-scripts="urn:mtps-scripts" xmlns:xhtml="http://www.w3.org/1999/xhtml"&gt;&lt;span id="ctl00_MTCS_main_ctl17_ctl00_ctl01"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;This requires a little more explanation.&amp;nbsp;When Martina logs in using perhaps OWA, she will not be able to define an alternative sender by default. In other words she will not see the &lt;i&gt;from&lt;/i&gt; field in the new email message and therefore will not be able define an alternative sender (Andrew Stevens in this case). This requires the following configuration:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You should first click options as indicated in the below screen print&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_agRZ53BRnWM/TES8NhA8h4I/AAAAAAAAAFE/FPNUzmqxgvs/s1600/martinasendas1.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_agRZ53BRnWM/TES8NhA8h4I/AAAAAAAAAFE/FPNUzmqxgvs/s320/martinasendas1.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next click 'Settings' and then 'Mail' as indicated below&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_agRZ53BRnWM/TES9ffQfRlI/AAAAAAAAAFM/_DL459f_cRU/s1600/martinasendas2.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_agRZ53BRnWM/TES9ffQfRlI/AAAAAAAAAFM/_DL459f_cRU/s320/martinasendas2.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;By default the 'Always show Bcc' and 'Always show From' boxes are not selected. Select both boxes as shown. Now click 'My Mail' to return to the main interface. &lt;br /&gt;&lt;br /&gt;Once you create a new message you will see the 'From' field where you can define an alternative sender:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_agRZ53BRnWM/TES_2xFxD1I/AAAAAAAAAFU/Dm0zY3MvapU/s1600/martinasendas3.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_agRZ53BRnWM/TES_2xFxD1I/AAAAAAAAAFU/Dm0zY3MvapU/s320/martinasendas3.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you replace any other sender in the 'From' field you will receive an error as you will only have permission to replace Martina with Andrew Stevens. You should see this error when you click send. Also you wont be able to send on behalf of another user if that user is hidden from address lists.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-7345442509044795721?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/7345442509044795721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/07/manage-recipient-accounts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7345442509044795721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/7345442509044795721'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/07/manage-recipient-accounts.html' title='Manage Recipient Accounts'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agRZ53BRnWM/TECoq16E9aI/AAAAAAAAAEk/kuMKSzcP_Cc/s72-c/Capture.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-1911292274433067264</id><published>2010-06-28T22:33:00.043+01:00</published><updated>2011-04-10T07:46:28.772+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='connectors'/><category scheme='http://www.blogger.com/atom/ns#' term='accepted domains'/><category scheme='http://www.blogger.com/atom/ns#' term='Edge Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Remote Domains Message Settings'/><category scheme='http://www.blogger.com/atom/ns#' term='hub transport'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet mail routing'/><category scheme='http://www.blogger.com/atom/ns#' term='oofs'/><title type='text'>Internet Routing</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Routing mail throughout your internal infrastructure requires little extra configuration if you rely on your AD topology to do the job. Of course, you must have a well designed AD infrastructure for this to work! As the previous post explained, you may need to adjust your setup to correctly establish just how email is routed if the AD topology favours AD replication and not email routing (hub sites for example).&lt;br /&gt;Routing mail out of your exchange organisation to recipients that don't have internal mailboxes, will NOT WORK by default. Sending and receiving an email to and from a hotmail account for example. This post will show you what configurations are required to get this going.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Part One&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Configure Accepted Domains &lt;/b&gt;&lt;br /&gt;Exchange will accept email if the domain is configured as an accepted domain. For example, If a hotmail user sends an email to andrew@compulinx.com, my exchange server will accept the email and send the message to the Andrew recipient mailbox. The message will only be accepted if compulinx.com is configured as an accepted domain. This would have been configured by default if the AD domain has the same name (this would be a split DNS). Many AD infrastructures use .local as a top level domain name and so in this case, compulinx.com (the Internet registered name) would be added as a accepted domain.&lt;br /&gt;There are three main types of accepted domain:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Authoritative&lt;/li&gt;&lt;li&gt;Internal relay&lt;/li&gt;&lt;li&gt;External relay&lt;/li&gt;&lt;/ul&gt;In the example just given, compulinx.com is an authoritative domain. The exchange organisation is 'responsible' for this domain and has recipients with this email address.&lt;br /&gt;&lt;br /&gt;Relay domains are not part of your exchange organisation. Internal relay domains would result in inbound emails being sent by your exchange server to another by using a send connector based on that domain name. This might be used where exchange is sharing the namespace with another email system. Messages are first sent to your exchange server, if no mailboxes exist then they are sent to a different server linked by a send connector.&lt;br /&gt;An external relay will result in exchange not checking if a mailbox by that domain name exists in the organization. It will send the email to a different server probably in a completely different organization using a send connector. For example, email could arrive at your edge server, get cleaned up then sent by external relay to another organization.&lt;br /&gt;The following cmdlets are used to configure these different accepted domains:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] New-AcceptedDomain -Name "compulinx.com accepted domain" -DomainName compulinx.com&lt;/span&gt; &lt;span style="color: #3d85c6;"&gt;-DomainType Authoritative&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Different domain types can be used in the above cmdlets. These include the following:&lt;br /&gt;Authoritative&lt;br /&gt;InternalRelay&lt;br /&gt;ExternalRelay&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Part Two&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;External DNS configuration&lt;/b&gt;&lt;br /&gt;Another important consideration is to make sure the accepted domain name is registered properly on the Internet. Using perhaps your ISP web site you should create an MX record that references your public IP address. E.g. &lt;i&gt;mail.compulinx.com ..... your public ip address&lt;/i&gt;. This might take a while to update.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Part Three&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Configure Remote Domains Message Settings&lt;/b&gt;&lt;br /&gt;Remote domains are domains outside of your exchange organization, in other words domains that your exchange server is not authoritative for. When your exchange recipients send mail to an external address e.g. a hotmail address a default remote domain configuration is used (unless a more specific remote domain configuration has been made). These remote domains are organization wide (you can see them in the EMC under 'Organization Configration' and 'Hub Transport). There are two settings that can be applied to your remote domains:&lt;br /&gt;&lt;br /&gt;1. Out-of-office messages (OOFs)&lt;br /&gt;2. Message format&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;b&gt;Out-of-office messages (OOFs)&lt;/b&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_agRZ53BRnWM/TC2y52KUuQI/AAAAAAAAAD8/gqwdMFuAnnU/s1600/remotedomain.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_agRZ53BRnWM/TC2y52KUuQI/AAAAAAAAAD8/gqwdMFuAnnU/s320/remotedomain.JPG" style="cursor: move;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As you can see in the above screenprint, OOFs can be set to provide automatic messages on receipt of email informing senders that you are not available. These senders could be internal or external recipients of your organisation.&lt;span style="color: red;"&gt; &lt;b style="color: #f3f3f3;"&gt;Note however that 'Allow external out-of-office messages only' (the one shown above) applies to messages created by Outlook 2007 (or newer), OWA in Exchange Server 2007/2010 and maked as external. The next option allows all clients (Outlook 2003/2007/2010 and OWA connected to Exchange 2003/2007/2010) to send OOF messages when replying to messages marked as external. The last option allows all clients &lt;/b&gt;&lt;/span&gt;&lt;b style="color: #f3f3f3;"&gt;(Outlook 2003/2007/2010 and OWA connected to Exchange 2003/2007/2010) to send OOF messages when replying to messages marked as internal.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Message Format&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Message Format settings can be used where perhaps you dont want automatic replies (or NDRs) to be sent to particular remote domains (maybe domains you dont trust). Spammers can determine whether the email address they send spam to is invalid or not.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_agRZ53BRnWM/TC3I_lmae7I/AAAAAAAAAEE/yiISQEbMtcM/s1600/messageformat.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_agRZ53BRnWM/TC3I_lmae7I/AAAAAAAAAEE/yiISQEbMtcM/s320/messageformat.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Part Four&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Configuring Connectors to Send and Recieve Email To/From the Internet&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1. Send Connectors &lt;br /&gt;&lt;br /&gt;The following describes how to construct a necessary 'Send Connector' that will send Internet bound email from your Hub Transport server (i.e. not using an Edge server). This is not usually recommended. We will discuss the use of Edge servers in part 5. &lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open the EMC and browse to the Organisation Confiuguration, Hub Transport node &lt;/li&gt;&lt;li&gt;Select New Send Connector in the Actions pane &lt;/li&gt;&lt;li&gt;Type a name for the connector &lt;/li&gt;&lt;li&gt;Select 'Internet' in the Intended Use For This Send Connector section &lt;/li&gt;&lt;li&gt;In the address space screen, click add and provide a * in the address field &lt;/li&gt;&lt;li&gt;Under network settings, use DNS MX records to route mail automatically &lt;/li&gt;&lt;li&gt;On the source server screen, make sure your Hub Transport server is listed and finish the wizard.&lt;/li&gt;&lt;/ol&gt;The following script should provide the same configuration:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #6fa8dc;"&gt;[PS] new-SendConnector -Name 'Internet' -Usage 'Internet' -AddressSpaces 'SMTP:*;1' -IsScopedConnector $false -DNSRoutingEnabled $true -UseExternalDNSServersEnabled $false -SourceTransportServers 'EX1&lt;/span&gt;'&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;/ol&gt;2. Receive Connectors&lt;br /&gt;&lt;br /&gt;The following describes how to modify an existing receive connector to allow a Hub Transport server to receive email from the Internet. It is best practice to allow external NAT routers to forward TCP 25 (SMTP) traffic to a Edge server in your DMZ. Without Edge servers, first configure your NAT routers to port forward to a Hub Transport server. Receive connector configuration essentialy involves changing the connectors ACL to allow sending email servers to authenicate anonymously.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open the EMC and browse to the Server Configuration, Hub Transport node&lt;/li&gt;&lt;li&gt;From the list of Hub Transport servers, select the server that you want to receive Internet mail on.&lt;/li&gt;&lt;li&gt;Select the defualt connector and properties&lt;/li&gt;&lt;li&gt;Select the permissions Groups tab&lt;/li&gt;&lt;li&gt;Select anonymous users and click OK&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;b&gt;Part 5&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Using Edge Transport Servers&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;Edge transport servers sit in a perimeter network (in a workgroup outside of your internal AD structure). Its focus is to relay inbound and outbound messages to and from an Exchange Organization while providing message hygiene and security. Because its in a workgroup, it does not have direct contact with AD. To perform its functions, it uses AD Lightweight Directory Services (was called ADAM) which is like a read only copy of AD (at least just part of it). Replication is one way only (from Hub Transport to Edge Server). Only recipient,configuration and topology information required by the Edge server to perform its functions of message relay, message hygiene, anti-spam and use of transport rules are replicated. The MSExchangeEdgeSync service which runs on the Hub Transport server will push AD changes to AD LDS on a scheduled basis.&lt;br /&gt;The following section will explain how to install and configure an Edge Server:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;On a server install the AD LDS role&lt;/li&gt;&lt;li&gt;Make sure the server has a FQDN (of AD domain name)&lt;/li&gt;&lt;li&gt;Add the .NET 3.5.1 feature &lt;/li&gt;&lt;li&gt;Assign the DNS IP address as the internal DNS server (on your DC)&lt;/li&gt;&lt;li&gt;Make sure you create a host record for the edge server on the internal DNS&lt;/li&gt;&lt;li&gt;Install the Edge Server role&lt;/li&gt;&lt;/ol&gt;I have found that self-signed certificates are used here. If deleted (perhaps by mistake), &lt;span style="color: #3d85c6;"&gt;Test-Sychronization&lt;/span&gt; and &lt;span style="color: #3d85c6;"&gt;Test-Edgesubscription&lt;/span&gt; will fail. To overcome this do the following:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;On the Hub Transport &lt;span style="color: #3d85c6;"&gt;Get-ExchangeCertificate&lt;/span&gt; to identify your certificates&lt;/li&gt;&lt;li&gt;Type &lt;span style="color: #3d85c6;"&gt;New-ExchangeCertificate&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Restart the Hub Transport service&lt;/li&gt;&lt;li&gt;If any edge subscriptions and/or send connectors exist on the Hub Transport remove them (no subcriptions will exist if this is a first time configuration!).&amp;nbsp;&lt;/li&gt;&lt;li&gt;Restart the Hub Transport service again&lt;/li&gt;&lt;li&gt;Remove any existing subscriptions on the Edge server (none should exist)&lt;/li&gt;&lt;li&gt;Create a new subscription file on the Edge server by typing &lt;span style="color: #3d85c6;"&gt;New-EdgeSubscription -FileName "c:\edsub1.xml"&lt;/span&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Copy the file to the Hub Transport server&amp;nbsp;&lt;/li&gt;&lt;li&gt;On the Hub Transport server browse to Organization Configuration, Hub Transport and on the action menu select New Edge Subscription&amp;nbsp;&lt;/li&gt;&lt;li&gt;In the wizard define the site and xml file to be used as shown below &lt;/li&gt;&lt;/ol&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_agRZ53BRnWM/TDeQhIVOQiI/AAAAAAAAAEM/5mKA2RqIviA/s1600/edge.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_agRZ53BRnWM/TDeQhIVOQiI/AAAAAAAAAEM/5mKA2RqIviA/s320/edge.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Once the edge subscription has been performed you can try a test. Try the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Test-EdgeSynchronization &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And then try the following to start the synchronization process&lt;span style="color: black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Start-EdgeSynchronization&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Another point to consider is to make sure that the "EdgeSync - Inbound to Default-First-Site-Name" send connector is configured correctly. The connector is shown below: &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_agRZ53BRnWM/TDeW5i2BhRI/AAAAAAAAAEU/QjUF9FTVrb4/s1600/edge2.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_agRZ53BRnWM/TDeW5i2BhRI/AAAAAAAAAEU/QjUF9FTVrb4/s320/edge2.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On the connectors properties, select the network tab as shown&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_agRZ53BRnWM/TDeYcVkukaI/AAAAAAAAAEc/ibRxyleWlsc/s1600/edge3.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_agRZ53BRnWM/TDeYcVkukaI/AAAAAAAAAEc/ibRxyleWlsc/s320/edge3.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You should define the IP address of the Hub Transport server as the smart host. Without it mail will go out successfully to the Internet but you will not receive it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-1911292274433067264?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/1911292274433067264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/06/internet-routing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1911292274433067264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1911292274433067264'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/06/internet-routing.html' title='Internet Routing'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_agRZ53BRnWM/TC2y52KUuQI/AAAAAAAAAD8/gqwdMFuAnnU/s72-c/remotedomain.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-4836174137123436158</id><published>2010-06-07T21:39:00.008+01:00</published><updated>2010-11-17T21:09:06.359Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exchange site link costs'/><category scheme='http://www.blogger.com/atom/ns#' term='Site Topology'/><category scheme='http://www.blogger.com/atom/ns#' term='Internal mail routing'/><category scheme='http://www.blogger.com/atom/ns#' term='hub transport'/><category scheme='http://www.blogger.com/atom/ns#' term='Active Directory'/><title type='text'>Internal Mail Routing</title><content type='html'>Mail is 'moved' by transport servers. Hub transport servers move  email throughout the intranet and to other sites that belong to the  organization. Edge transport servers send mail to the Internet.&lt;br /&gt;&lt;br /&gt;Exchange  uses the organizations Active Directory infrastructure to route mail  between sites. For every site that a mailbox server role resides, you  must have a hub transport server. The mailbox server role sends and  receives all mail to and from a hub transport server in the same site.  All mail that enters and leaves your organization must pass through the  hub transport server.&lt;br /&gt;&lt;br /&gt;Transport servers use &lt;i&gt;connectors  &lt;/i&gt;to shift mail. During installation default recieve and send  connectors are created which allow messages to flow throughout the  organization.They are good to go! No extra configuration is needed.  Messages will be sent from one hub transport (in your site) to other hub  transport servers in other sites where a mailbox server holds the  recipients mailbox. &lt;br /&gt;&lt;br /&gt;As explained, internal mail  flow  works with no extra configuration. The AD site infrastructure is  held  in the forests configuration partition (which is replicated to all  DCs  forest wide). It is this site infrastructure which is used to route   mail. Active directory sites represent areas of well connected, high speed LANs. Sites are connected by intersite link objects. This class of object allows AD replication to occur every 3 hours by default. These can be assigned cost values which dictate preference of use. In the diagram NewYork can connect to Tokyo by first connecting to London or by connecting to Paris. &lt;br /&gt;Active directory sites represent areas of well connected, high speed  LANs. Sites are connected by intersite link objects. This class of  object allows AD replication to occur every 3 hours by default. These  can be assigned cost values which dictate preference of use.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/TA1f5wPXxZI/AAAAAAAAADk/ZsLJYaGaXbk/s1600/site2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_agRZ53BRnWM/TA1f5wPXxZI/AAAAAAAAADk/ZsLJYaGaXbk/s320/site2.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;In  the diagram NewYork can connect to Tokyo by first connecting to London  or by connecting to Paris. The total cost of the route is the sum of all  the site link costs along the way. The route via London has a total  cost of 20. Via Paris the total cost is 25. Messages from NewYork would  be sent via London to recipients in Tokyo. AD administrators therefore  define the message path since Exchange routing 'rides on the back ' of  AD replication topology. This may be fine for your organization.  However, Exchange administrators can take control of the situation and  assign special 'Exchange costs' that override the normal AD site link  costs. Note that Exchange administrators do not need any AD permissions  for this. If Exchange costs of 5 are assigned to the site links that  connect NewYork to Paris and Paris to Tokyo then messages from NewYork  to Tokyo would now pass through London instead of Paris. AD replication  would still travel via Paris. Exchange site link costs can be set by  using the following cmdlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-ADSiteLink NewYork -ExchangeCost 5&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To remove the site link cost set the -ExchangeCost value to $null&lt;br /&gt;Consider the following scenario:&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_agRZ53BRnWM/TA10M2jZkeI/AAAAAAAAADs/tnilS02BQYg/s1600/site3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_agRZ53BRnWM/TA10M2jZkeI/AAAAAAAAADs/tnilS02BQYg/s320/site3.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;Messages are sent along the path that has the lowest accumulative  cost (in this case NewYork - Paris - Dubai - Tokyo for messages sent  from NewYork to Tokyo). You should remember that NewYork would try to  contact Tokyo directly. What I mean is Exchange to Exchange  communication. The NewYork exchange server would first attempt to send  messages to the Tokyo exchange server first and would use the NewYork -  Paris - Dubai - Tokyo routing path to get there. If it cant make this  direct communication NewYork would attempt to contact the closest  exchange server according to the routing topology. This would be Dubai.  As you can see, messages do not relay to hub transports on route to the  final destination server but backoff to a server in a site which is  along the routing path. Messages are queued here in a retry state. This  is called queue point of failure. &lt;br /&gt;Another consideration is  bifurcation. A message sent from someone in NewYork to multiple  recipients in different sites would be sent by the NewYork server to a  server where a fork in the routing path exists. The bifurcated message  is therefore relayed to an Exchange server in a site that represents a  fork in the individual recipients routing paths. This is called delayed  fan-out.  &lt;br /&gt;Direct server to server relay between NewYork and Tokyo  will not occur if a hub site exits along the routing path. A hub site  is a AD site that messages would be sent to along the least cost routing  path. What I mean here is all messages. Perhaps you require messages to  be relayed to hub transport in a particular site first rather than the  usual direct relay. However, the hub site designated must exist along  the least cost routing path between source and destination.&lt;br /&gt;You can designate an AD site as a hub site by using the following  cmdlet &lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Set-ADSite Paris -HubSiteEnabled $true&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-4836174137123436158?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/4836174137123436158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/06/internal-mail-routing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4836174137123436158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/4836174137123436158'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/06/internal-mail-routing.html' title='Internal Mail Routing'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agRZ53BRnWM/TA1f5wPXxZI/AAAAAAAAADk/ZsLJYaGaXbk/s72-c/site2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-1085972006278785008</id><published>2010-05-29T20:46:00.019+01:00</published><updated>2010-06-04T19:37:28.922+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssl'/><category scheme='http://www.blogger.com/atom/ns#' term='Certificates'/><title type='text'>Exchange Servers and Certificates</title><content type='html'>In a previous post I detailed how to configure Outlook Anywhere which relies on HTTPS. This must use a certificate infrastructure and this post I hope will instruct you on how to configure your CA, distribute the necessary Exchange certificate and how to configure Exchange and clients.&lt;br /&gt;&lt;br /&gt;1. Install the Active Directory Certificate Services role on a member server    or    a   domain controller. During installation of the service make sure that you choose an enterprise server.&lt;br /&gt;&lt;br /&gt;2. Create a duplicate version 3 template of the web certificate. This  version will allow you to create a certificate with multiple subject  alternative names (a SAN certificate). Make sure that the CAS machine  that is Internet facing is defined on the templates security tab (ACL).&lt;br /&gt;&lt;br /&gt;3. Ensure that the template created is defined in the list of templates provided by your CA.&lt;br /&gt;&lt;br /&gt;4. On the defined CAS, using an elevated MMC with added computer certificate, request a computer certificate from the CA.&lt;br /&gt;&lt;br /&gt;5. During the request you can define multiple subject alternative names by adding different DNS names. The names I suggest are based on the following public (compulinx.com) and private (compulinx.local) DNS names.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; •Mail.compulinx.com&lt;br /&gt;&amp;nbsp;&amp;nbsp; •Compulinx.com&lt;br /&gt;&amp;nbsp;&amp;nbsp; •Autodiscover.compulinx.com&lt;br /&gt;&amp;nbsp;&amp;nbsp; •Ex1.compulinx.local&lt;br /&gt;&amp;nbsp;&amp;nbsp; •Compulinx.local&lt;br /&gt;&amp;nbsp;&amp;nbsp; •Autodiscover.compulinx.local&lt;br /&gt;&lt;br /&gt;6. As you can see from point 5, multiple DNS names are included. These represent both public and private names (where mail is public and ex1 represents your exchange server NetBIOS name). The same certificate can be used for internal and external clients. You can choose not to include the internal names for security (personally I wouldn’t worry considering that if a hacker can make an intrusion using a NetBIOS name then you might as well give them a domain account!). However, you should include an SRV record in your DNS where autodiscover _TCP port 443 maps to the CAS machine.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. Once the CAS machine has any Exchange certificate check in the trusted root folder for the root CA certificate. Copy this certficate to any workgroup client that will make use of Outlook and Outlook Anywhere.&lt;br /&gt;&lt;br /&gt;8. You will need to establish that Exchange uses the requested certificate. First, determine what certificates are on board by using the following command:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Get-ExchangeCertificate -DomainName EX1 | fl subject,thumbprint&lt;/div&gt;&lt;br /&gt;You will most likely find 2 certificates in the list; the certificate just requested and an original certificate which is self signed. You can delete this from the MMC personal certificates snap-in. We need to enable the certificate for use with various Exchange services.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Get-ExchangeCertificate -Thumbprint abcdef&amp;nbsp; | Enable-ExchangeCertificate -Services "IIS,SMTP"&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-1085972006278785008?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/1085972006278785008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/05/exchange-servers-and-certificates.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1085972006278785008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/1085972006278785008'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/05/exchange-servers-and-certificates.html' title='Exchange Servers and Certificates'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-3796889384567112711</id><published>2010-05-28T09:55:00.033+01:00</published><updated>2010-11-22T00:23:27.019Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Outlook'/><category scheme='http://www.blogger.com/atom/ns#' term='Client Access Servers'/><category scheme='http://www.blogger.com/atom/ns#' term='Outlook Anywhere'/><title type='text'>The Client Access Server Role Pt4</title><content type='html'>&lt;b&gt;Outlook Anywhere and Autodiscover&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Microsoft Outlook 2007/2010 AutoDiscover is an Exchange Server 2007/2010  service, or more specifically Exchange Web Service, which allowed easy to configure Outlook 2007 profiles in  your organization. In order to automatically configure and connect  previous versions of Outlook to Exchange 2000 and 2003 Servers, you  needed to do so using the Custom Installation Wizard from the Office  Resource Kit or a similar tool. But now the users can configure&amp;nbsp;their  Outlook profile themselves, as they only need to click next a few times  and specify their e-mail address and password.&amp;nbsp;&lt;span style="color: #e06666;"&gt;This will allow the construction of a Outlook 2007/10 profile to be built irrespective of whether the client machine is AD member or in a workgroup.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The last point made here is an important consideration. An AD machine member is able to query active directory and determine the location of the Exchange server and then communicate directly with that server. An employee on a home desktop would need to VPN into the office network and via the authenticated tunnel be able to make this query and exchange connection. &lt;br /&gt;&lt;br /&gt;The Outlook client uses MAPI (Messaging Application Program Interface). It allows client programs to become 'messaging-aware'. Remember that its an API. It needs a transport mechanism to connect to your exchange server. Here comes RPC. MAPI calls are transported using RPC hence the expression MAPI over RPC. This all works great if your machine is physically on the office wire and AD authenticated or as mentioned you first VPN to the office. But you can also now connect Outlook without the use of a VPN!&lt;br /&gt;RPC can be encapsulted by HTTPS which can then traverse your office firewall, become decapsulated by an RPC/HTTP proxy and allow communication with your Exchange server. This is called Outlook Anywhere and relies on the Autodiscover service for seamless Outlook configuration. To accomplish Outlook Anywhere and automatic configuration read on and follow the following steps...&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Configuration of Outlook Anywhere &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Outlook Anywhere is not enabled by default. Before enabling it ensure that you add the RPC/HTTP proxy feature on the CAS server.&lt;/li&gt;&lt;li&gt;&amp;nbsp;Because HTTPS is used, ensure that you have a suitable SAN certificate installed. I will detail how to do this in a later &lt;a href="http://compulinx.blogspot.com/2010/05/exchange-servers-and-certificates.html"&gt;post&lt;/a&gt;. It is worth remembering that the client machine must have the trusted root certificate installed.&lt;/li&gt;&lt;/ul&gt;You can enable Outlook Anywhere by using the following EMS command. As you can see, you will need to determine the method of authentication, the public DNS reference that users use to connect from the Internet and if SSL offloading is used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Enable-OutlookAnywhere -DefaultAuthenticationMethod Basic -ExternalHostName:mail.compulinx.com -SSLOffLoading:$false&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;If you need to change the authentication method later on you can by using the following:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Set-OulookAnywhere "EX1\RPC (Default Web Site)" -DefaultAuthenticationMethod NTLM&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Configuration of Autodiscovery&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Now the tricky bit! Autodiscovery allows the automatic configuration of Outlook 2007/10 and mobile devices. In a nutshell, the service provides an XML file to the client providing information on where and how to connect to your exchange server. Internal clients query AD (as domain members) to find the XML file. External Internet clients use DNS. Lets be more specific.&lt;br /&gt;&lt;br /&gt;The LDAP query made by domain members is an attempt to locate the Service Connection Point (SCP) for the autodiscover service (which provides the XML file). The SCP object lives in the configuration partition with the other Exchange configuration objects. Try the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Open LDP&lt;/li&gt;&lt;li&gt;Click Browse then Search and supply the following information:&lt;/li&gt;&lt;/ul&gt;&amp;nbsp;&lt;b&gt; &lt;/b&gt;&lt;b&gt;&amp;nbsp; &lt;/b&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_agRZ53BRnWM/S_-a0he-idI/AAAAAAAAADU/Yi0493zRQR0/s1600/ldp.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_agRZ53BRnWM/S_-a0he-idI/AAAAAAAAADU/Yi0493zRQR0/s320/ldp.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The output you should see will provide the ServiceBindingInformation (the location of the XML file). Something like this&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: #741b47;"&gt; &lt;span style="color: #ffd966;"&gt;serviceBindingInformation: https://EX1.compulinx.local/Autodiscover/Autodiscover.xml&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As you can see this is the Internal domain reference of the Autodiscover web service and the XML file. Outlook will then connect to the service using the location information provided and download the XML file.&lt;br /&gt;&lt;br /&gt;The file will provide the URL location for a number of different services running on the CAS server:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_agRZ53BRnWM/TOZMYHDyF5I/AAAAAAAAAHo/9eOHKyIl01Y/s1600/autodiscover+diag.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="114" src="http://1.bp.blogspot.com/_agRZ53BRnWM/TOZMYHDyF5I/AAAAAAAAAHo/9eOHKyIl01Y/s320/autodiscover+diag.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;You can trace what happens during the connection by typing the following:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Test-OutlookWebServices andrew@compulinx.com &lt;/div&gt;&lt;br /&gt;The output is lengthy, but you can determine a lot from it:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The SCP is located&lt;/b&gt;&lt;br /&gt;&lt;i&gt;RunspaceId : 695c4068-4875-4de6-b59e-f4fabe967419&lt;br /&gt;Id : 1019&lt;br /&gt;Type: Information&lt;br /&gt;Message: A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://EX1.compulinx.local/Autodiscover/Autodiscover.xml.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The Autodiscover Service is contacted&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;RunspaceId : 695c4068-4875-4de6-b59e-f4fabe967419&lt;br /&gt;Id: 1006&lt;br /&gt;Type: Information&lt;br /&gt;Message: Contacted the Autodiscover service at https://&lt;/i&gt;&lt;i&gt;EX1.compulinx.local&lt;/i&gt;&lt;i&gt;/Autodiscover/Autodiscover.xml.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The Availability Service is contacted (one of the URLs defined in the XML file)&lt;/b&gt;&lt;br /&gt;&lt;i&gt;RunspaceId : 695c4068-4875-4de6-b59e-f4fabe967419&lt;br /&gt;Id: 1024&lt;br /&gt;Type: Success&lt;br /&gt;Message: [EXCH] Successfully contacted the AS service at https://&lt;/i&gt;&lt;i&gt;EX1.compulinx.local/EWS/Exchange.asmx. The elapsed time was 93 milliseconds.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The Unified Messaging Service is contacted (&lt;/b&gt;&lt;b&gt;one of the URLs defined in the XML file)&lt;/b&gt;&lt;br /&gt;&lt;i&gt;RunspaceId : 695c4068-4875-4de6-b59e-f4fabe967419&lt;br /&gt;Id: 1026&lt;br /&gt;Type: Success&lt;br /&gt;Message: [EXCH] Successfully contacted the UM service at https://&lt;/i&gt;&lt;i&gt;EX1.compulinx.local/EWS/Exchange.asmx. The elapsed time was 15 milliseconds.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The RPC/HTTP proxy is contacted (therefore Outlook Anywhere)&lt;/b&gt;&lt;br /&gt;&lt;i&gt;RunspaceId : 695c4068-4875-4de6-b59e-f4fabe967419&lt;br /&gt;Id: 1128&lt;br /&gt;Type: Success&lt;br /&gt;Message: [EXPR] Successfully contacted the RPC/HTTP service at https://EX1.compulinx.local/rpc. The elapsed time was 0 milliseconds.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Notice here that the URLs reference the internal name space (ie. the domain.local reference as I am not using split DNS). This all indicates that internal users have no problem using autodiscovery to connect Outlook clients and have them configured automatically. But please understand that the URLs returned are internal references. Workgroup Internet users cant use these URLS (for one thing .local is being used and this is not a valid TLD).&lt;br /&gt;&lt;br /&gt;External users must be able to obtain the XML file aswell and also the URLs returned must reference the public DNS namespace.&lt;br /&gt;The CAS server running autodiscover can be found by updating the clients hosts file or updating the public DNS (i.e autodiscover.yourpulicname.com----public IP). During configuration of Outlook the user is promted to define a name, an email address and a password. The domain name is taken from this email address and the client appends autodiscover to the domain name. A public DNS lookup is made. Now the client will pass through the corporate firewall where HTTPS has been redirected to your CAS server. &lt;br /&gt;The URL used is https://autodiscover.smtpdomain/Autodiscover/Autodiscover.xml. Once contacted the XML file will be returned. However this time the URLs are public.&lt;br /&gt;You should make sure that the services autodiscovery puts you in touch with have both the correct internal and external references. From the test output above you can see that this needs to be checked for the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Web services virtual directory &lt;/li&gt;&lt;li&gt;Offline Address Book &lt;/li&gt;&lt;li&gt;Unified Messaging&lt;/li&gt;&lt;li&gt;Outlook Anywhere&lt;/li&gt;&lt;/ul&gt;The web services infact covers a lot of the services. Includes Out of Office, Availability Service for Free/Busy etc. and unified messaging. To determine current configuration type:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS]Get-WebServicesVirtualDirectory | fl&lt;/div&gt;&lt;br /&gt;To configure the external and internal URLs type:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #0b5394;"&gt;[PS] Set-WebServicesVirtualDirectory -Identity "EX1\EWS (Default Web Site)" -InternalURL https://EX1.compulinx.local/EWS/Exchange.asmx -ExternalURL https://mail.compulinx.com/EWS/Exchange.asmx -BasicAuthentication:$true&lt;/div&gt;&lt;br /&gt;To determine the current configuration of the offline address book type:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Get-OABVirtualDirectory | fl &lt;/div&gt;&lt;br /&gt;To configure the external and internal URLs type:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #0b5394;"&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Set-OABVirtualDirectory -Identity "EX1\OAB (Default Web Site)" -InternalURL https://EX1.compulinx.local/OAB -ExternalURL https://mail.compulinx.com/OAB -RequireSSL:$true&lt;/div&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;To determine the URLs used Outlook Anywhere&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Get-OutlookAnywhere | fl&lt;/div&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;To configure the correct external URL type: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Enable-OutlookAnywhere -DefaultAuthenticationMethod Basic  -ExternalHostName:mail.compulinx.com -SSLOffLoading:$false&lt;/div&gt;(You did this above when you enabled Outlook Anywhere)&lt;br /&gt;&lt;br /&gt;You will also need to check and set the for ActiveSync:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Get-ActiveSyncVirtualDirectory | fl&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Set-ActiveSyncVirtualDirectory -Identity "EX1\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL https://mail.compulinx.com/Microsoft-Server-ActiveSync&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-3796889384567112711?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/3796889384567112711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/05/client-access-server-role-pt4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/3796889384567112711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/3796889384567112711'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/05/client-access-server-role-pt4.html' title='The Client Access Server Role Pt4'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agRZ53BRnWM/S_-a0he-idI/AAAAAAAAADU/Yi0493zRQR0/s72-c/ldp.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-234984191905154384</id><published>2010-05-05T19:26:00.048+01:00</published><updated>2010-11-18T21:57:37.900Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mobile Devices'/><category scheme='http://www.blogger.com/atom/ns#' term='Client Access Servers'/><category scheme='http://www.blogger.com/atom/ns#' term='ActiveSync'/><title type='text'>The Client Access Server Role Pt3</title><content type='html'>&lt;b&gt;Exchange 2010 and Mobile Devices&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Mobile devices like PDAs and mobile phones can connect to Exchange 2010 to send/read email messages and other items such as calendar, contacts and tasks. The technology behind this is ActiveSync. ActiveSync is based on HTTP/HTTPS and is designed to connect mobile devices across the Internet.&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&lt;b&gt;Enabling/Disabling ActiveSync&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ActiveSync is on by default&lt;b&gt;&amp;nbsp;&lt;/b&gt; but you can turn it off by configuring IIS on the CAS. To do this do the following:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1. Open IIS Manager from Administrative Tools&lt;br /&gt;&amp;nbsp;&amp;nbsp; 2. In the console tree open the Application Pools node&lt;br /&gt;&amp;nbsp;&amp;nbsp; 3. Locate MSExchangeSyncApplicationPool&lt;br /&gt;&amp;nbsp;&amp;nbsp; 4. Select Stop from the Actions Menu&lt;br /&gt;&lt;ol&gt;&lt;/ol&gt;This will disable ActiveSync. Conversely, choosing 'Start' will enable ActiveSync&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Enabling/Disabling ActiveSync per User&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ActiveSync can be enabled/disabled on a per user basis by performing the following steps:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-CASMailbox "Andrew Stevens" -ActiveSyncEnabled $True&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-&lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;CASMailbox "Andrew Stevens" -ActiveSyncEnabled  $False&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Restrict Mobile Devices&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;By default users can synchronize any ActiveSync capable device with Exchange. You can prevent users from connecting with specific devices by using a devices 'Device ID'. However, you should understand that you can only determine this value once an ActiveSync device has connected and synchronized with Exchange.&lt;br /&gt;&lt;br /&gt;The device ID can be determined by using the Get-ActiveSyncDeviceStatistics:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;&lt;span style="color: black;"&gt;&lt;span style="color: #3d85c6;"&gt;[PS] &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;Get-ActiveSyncDeviceStatistics&lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;&lt;span style="color: black;"&gt; &lt;span style="color: #3d85c6;"&gt;-MailBox: [alias] | ft DeviceModel, DeviceID, DevicePhoneNumber&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;&lt;span style="color: black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;The DeviceID is based on International Mobile Equipment Identity. As mentioned this can be obtained once synchronization has ocurred. You can get the number by typing *#06# on the mobile device.&lt;br /&gt;You can add the device to a block list by typing the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-CASMailbox [alias] -ActiveSyncBlockDeviceIDs 356059038180488&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can block every device except the device you want to use by the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-CASMailbox [alias]  -ActiveSyncAllowedDeviceIDs 356059038180488&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;With the above command every device is blocked except this one.&lt;br /&gt;To clear the device id from the block list and the allowed list type the above commands but use $null&amp;nbsp; instead of the IMEI number:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;&lt;span style="color: black;"&gt;&lt;span style="color: #3d85c6;"&gt;[PS]&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;Set-CASMailbox [alias] -ActiveSyncBlockDeviceIDs $Null&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Mobile Device Policies&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Different devices used by your users have different features and settings. You can define which features and settings are provided for your users by establishing Mobile Device Polices. By default, a single policy is built and is visible:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1. In the EMC, browse to Organization Configuration, Client Access node&lt;br /&gt;&amp;nbsp;&amp;nbsp; 2. Select Exchange ActiveSync Mailbox Policies&lt;br /&gt;&amp;nbsp;&amp;nbsp; 3. You should see a policy called default&lt;br /&gt;&lt;br /&gt;This policy is applied to all your users.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Create A New Mobile Device Policy&lt;/b&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;&lt;span style="color: black;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;You can create a new policy in the EMS by typing the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;&lt;span style="color: black;"&gt;&lt;span style="color: #3d85c6;"&gt;[PS] New-ActiveSyncMailboxPolicy "Managers"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This creates a new policy with default settings and in this scenario the policy will be used for company managers.&lt;br /&gt;&lt;br /&gt;Set the New Policy to Users and Groups&amp;nbsp; &lt;br /&gt;&lt;br /&gt;You can define which groups/users should use the new policy by the following:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Get-Mailbox andrew | Set-CASMailbox -ActiveSyncMailboxPolicy Managers&lt;br /&gt;&lt;br /&gt;&lt;div style="color: white;"&gt;&lt;b&gt;Disable/Enable Mobile Device Features&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Once users and groups have been assigned you can control which features you want to be enabled/disabled.&lt;br /&gt;&lt;br /&gt;These include the following features:&lt;/div&gt;&lt;ul style="color: white;"&gt;&lt;li&gt;Removable storage&lt;/li&gt;&lt;li&gt;Camera&lt;/li&gt;&lt;li&gt;Wireless network adapter&lt;/li&gt;&lt;li&gt;Infrared port&lt;/li&gt;&lt;li&gt;Internet sharing&lt;/li&gt;&lt;li&gt;Remote desktop&lt;/li&gt;&lt;li&gt;Synchronization with a PC&lt;/li&gt;&lt;li&gt;Bluetooth functionality&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: black;"&gt;&lt;span style="color: white;"&gt;These features can be turned off using the EMS. For example,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-ActiveSyncMailboxPolicy "Managers" -AllowCamera $false&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: white;"&gt;This will turn off the use of the camera on the mobile device. However, this does depend on the device model and only really applies to Windows Mobile Devices.&lt;/span&gt;&lt;br style="color: white;" /&gt; &lt;br style="color: white;" /&gt; &lt;b style="color: white;"&gt;Manage Synchronization Settings&lt;/b&gt;&lt;br style="color: white;" /&gt; &lt;br style="color: white;" /&gt;&lt;span style="color: white;"&gt; You can also control synchronization settings. This would include the following items:&lt;/span&gt;&lt;br style="color: white;" /&gt;&lt;span style="color: white;"&gt; How old emails and calendar items have to be before they are no longer synchronized&lt;/span&gt;&lt;br style="color: white;" /&gt;&lt;span style="color: white;"&gt; Maximum size of email attachments&lt;/span&gt;&lt;br style="color: white;" /&gt;&lt;span style="color: white;"&gt; Direct Push which pushes email to devices and does not require manual or pre-defined time synchronization at the device end&lt;/span&gt;&lt;br style="color: white;" /&gt;&lt;span style="color: white;"&gt; Formatting of messages to HTML or text&lt;/span&gt;&lt;br style="color: white;" /&gt; &lt;br style="color: white;" /&gt;&lt;span style="color: white;"&gt; This can all be done using the EMS. For example,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] Set-ActiveSyncMailboxPolicy "Managers" -MaxEmailBodyTruncationSize 75 -AttachmentsEnabled $false&lt;/span&gt;&lt;br style="color: #3d85c6;" /&gt;&lt;br /&gt;&lt;span style="color: white;"&gt;This will allow maximum email size to be 75KB and disable attachments.&lt;/span&gt;&lt;br style="color: white;" /&gt; &lt;br style="color: white;" /&gt; &lt;b style="color: white;"&gt;Protection of Mobile Devices&lt;/b&gt;&lt;br style="color: white;" /&gt; &lt;br style="color: white;" /&gt;&lt;span style="color: white;"&gt; Protection of devices is essential. A first step is ensuring password protection on the device. The password requirements can be quite granular:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_agRZ53BRnWM/S-P9upjdsuI/AAAAAAAAACo/59LK2OrYi90/s1600/password.JPG" style="color: black;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_agRZ53BRnWM/S-P9upjdsuI/AAAAAAAAACo/59LK2OrYi90/s320/password.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: white;"&gt;As you can see the password setup can be quite involved. You can see from the above diagram that the number of failed attempts is set to 8. Anymore than this and the device is wiped clean destroying all data stored on the device! So I suggest you select Enable Password Recovery. If you do this a secondary password is generated and maintained on Exchange. An administrator can obtain this password as can the user via OWA.&lt;/div&gt;&lt;div style="color: white;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;If the administrator requires access to the recovery password simply select the users mailbox using the EMC and in the action pane click the Manage Mobile Phone option. The recovery password is displayed which can then be given to the user.&lt;/div&gt;&lt;div style="color: white;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;A user that has forgotten her password can determine the recovery password by going through control panel in OWA.&lt;/div&gt;&lt;div style="color: white;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;The recovery password can also be obtained using the EMS. You will need to enable the ShowRecoveryPassword parameter in order for the password to be displayed. Try the following:&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #3d85c6;"&gt;[PS] Get-ActiveSyncDeviceStatistics -Mailbox "Andrew" -ShowRecoveryPassword | fl DevicePhoneNumber, RecoveryPassword&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: white;"&gt;&lt;b&gt;Remote Wipe&lt;/b&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;You can perform a remote wipe of a lost or stolen device. When I say wipe I really mean WIPE! Data on the device and any storage cards will be erased. The process can be performed using both console and shell. To perform a wipe using the shell, perform the following 2 steps:&lt;/div&gt;&lt;div style="color: white;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;   1. Get a list of devices for the unfortunate user&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;   &lt;span style="color: #3d85c6;"&gt;[PS] Get-ActiveSyncDeviceStatistics -Mailbox "Andrew" | fl Identity&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;   &lt;span style="color: white;"&gt;2. Wipe the device using the returned device ID&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;   &lt;span style="color: #3d85c6;"&gt;[PS] Clear-ActiveSyncDevice -Identity [DeviceIdentity]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: white;"&gt;You can also perform the same thing and send a notification email to inform the person of the wipe (just to keep them happy!)&lt;/div&gt;&lt;div style="color: white;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;   3. [PS] Clear-ActiveSyncDevice -Identity [DeviceIdentity] -NotificationEmailAddresses "andrew@compulinx.com"&lt;/div&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;&amp;nbsp; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4754853379803618937-234984191905154384?l=compulinx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://compulinx.blogspot.com/feeds/234984191905154384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://compulinx.blogspot.com/2010/05/client-access-server-role-pt3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/234984191905154384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4754853379803618937/posts/default/234984191905154384'/><link rel='alternate' type='text/html' href='http://compulinx.blogspot.com/2010/05/client-access-server-role-pt3.html' title='The Client Access Server Role Pt3'/><author><name>Andrew Stevens</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_agRZ53BRnWM/S4ma5VydxyI/AAAAAAAAAAY/X2aDGmU15jI/S220/CIMG0430.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_agRZ53BRnWM/S-P9upjdsuI/AAAAAAAAACo/59LK2OrYi90/s72-c/password.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4754853379803618937.post-3253392565162247324</id><published>2010-04-30T12:10:00.015+01:00</published><updated>2010-05-05T16:54:39.195+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Client Access Servers'/><category scheme='http://www.blogger.com/atom/ns#' term='Segmentation'/><category scheme='http://www.blogger.com/atom/ns#' term='OWA'/><title type='text'>The Client Access Server Role Pt2</title><content type='html'>OWA provides your users with a many features that resemble Outlook. These features can be turned on or off using the console or shell. These features are called &lt;i&gt;segmentation options.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Disabling/Enabling Segmentation Options&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;[PS] &lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;Set-OWAVirtualDirectory "SRV215\OWA (Default Web Site)" -ChangePasswordEnabled $false&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3d85c6;"&gt;&lt;span style="color: black;"&gt;This cmdlet will turn off the users ablity to change passwords from OWA. The other features and cmdshell parameters are outlined below:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;style&gt; &lt;!-- /* Font Definitions */ @font-face {font-family:"&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;Cambria&lt;/span&gt; Math"; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;panose&lt;/span&gt;-1:2 4 5 3 5 4 6 3 2 4; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-font-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;charset&lt;/span&gt;:1; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-generic-font-family:roman; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-font-format:other; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-font-pitch:variable; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-font-signature:0 0 0 0 0 0;}@font-face {font-family:&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;Calibri&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;panose&lt;/span&gt;-1:2 15 5 2 2 2 4 3 2 4; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-font-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;charset&lt;/span&gt;:0; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-generic-font-family:&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;swiss&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-font-pitch:variable; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;MsoNormal&lt;/span&gt;, &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;li&lt;/span&gt;.&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;MsoNormal&lt;/span&gt;, div.&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;MsoNormal&lt;/span&gt; {&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-style-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;unhide&lt;/span&gt;:no; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-style-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;qformat&lt;/span&gt;:yes; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-pagination:widow-orphan; font-size:11.0pt; font-family:"&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;Calibri&lt;/span&gt;","sans-serif"; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;ascii&lt;/span&gt;-font-family:&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;Calibri&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;ascii&lt;/span&gt;-theme-font:minor-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;latin&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;fareast&lt;/span&gt;-font-family:&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;Calibri&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;fareast&lt;/span&gt;-theme-font:minor-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;latin&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;hansi&lt;/span&gt;-font-family:&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;Calibri&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;hansi&lt;/span&gt;-theme-font:minor-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;latin&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;bidi&lt;/span&gt;-font-family:"Times New Roman"; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;bidi&lt;/span&gt;-theme-font:minor-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;bidi&lt;/span&gt;;}.&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;MsoChpDefault&lt;/span&gt; {&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-style-type:export-only; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-default-props:yes; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;ascii&lt;/span&gt;-font-family:&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;Calibri&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;ascii&lt;/span&gt;-theme-font:minor-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;latin&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;fareast&lt;/span&gt;-font-family:&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;Calibri&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;fareast&lt;/span&gt;-theme-font:minor-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;latin&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;hansi&lt;/span&gt;-font-family:&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;Calibri&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;hansi&lt;/span&gt;-theme-font:minor-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;latin&lt;/span&gt;; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;bidi&lt;/span&gt;-font-family:"Times New Roman"; &lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;mso&lt;/span&gt;-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&gt;bidi&lt;/span&gt;-theme-font:minor-&lt;span style="background: none repeat scroll 0% 0% yellow;" class="goog-spellcheck-word"&
