Grant Full Access to All Mailboxes in Exchange 2010

FullAccess_logo

Here’s a little time-saving tip for working with mailboxes in Exchange 2010.  Normally if you need full access to another user’s mailbox in Exchange 2007/2010 you would highlight their mailbox in the Exchange Management Console and the choose “Manage Full Access…” from the action pane.  You would have to do this individually for each mailbox that you wanted to manage full access permissions for.

ManageFullAccess_wiz

Here’s an easier way to grant full access to a user for every mailbox in a mailbox database.  Just edit the bracketed fields below and paste the cmdlet in the Exchange Command Shell:

Get-MailboxDatabase -identity “[mailbox database name]” | Add-ADPermission -user [username] -AccessRights GenericAll

Voila!  You now have full access to all mailboxes in the selected database.  This even applies to new accounts created after you run the cmdlet.



RD Gateway/Web Access Outside the Firewall

WebAccessAndGateway

I recently had the opportunity to work with one of Microsoft Windows Server 2008 R2’s neatest features:  Remote Desktop Gateway (RD Gateway) and Remote Desktop Web Access (RD Web Access).  If you aren’t familiar with these features, check out a brief summary here.

The setup is fairly straightforward, as outlined here and here.  However, I did run into an issue that slowed me down a bit.  The solution to this was not documented in the step-by-step guides or on the Microsoft Technet website.  If anyone knows otherwise and I’ve overlooked this, as always, please provide the appropriate links in the comments.

Problem:  Not able to connect to a Remote Desktop or Remote App program from outside the firewall.  Inside the firewall, everything worked like a charm.  The network firewall (Cisco router) was configured to allow the appropriate traffic (port 443).  Disabling the Windows Server 2008 R2 firewall did not make a difference.

Auth Error

Solution part 1:

Add computer account to domain “IAS and RAS Servers” group

IASRAS Group Membership

Solution part 2:

You should also be sure to configure the default Remote Desktop Gateway server for RD Web Access.  Otherwise you could run into issues with the RD Web Access not knowing which RD Gateway to use (even if both roles are installed on the same server!).

  1. Open up “IIS Admin” console from the “Administrative Tools” menu.
  2. Navigate to the default web site and configure the “Application Settings” for “Default Web Site\RDWeb\Pages“.
  3. Change the following setting:

DefaultTSGateway” = [fqdn of Internet accessible TS Gateway]

Note:  make sure this is also the server name listed on your SSL certificate.

DefaultTSGateway_AppSettings

Recover from IOS Armageddon

Armageddon2

Ok, maybe it’s not that extreme, but losing power to a Cisco router or switch, while performing an IOS upgrade, after you’ve deleted your existing IOS can be a headache.  While not a disaster, you can plan on spending about an extra 45 minutes or so to recover.  Here’s the lowdown:

Summary

You’ll need to upload a new IOS image using the Xmodem or Ymodem protocol, which is way slower than TFTP or other methods (about 50 times slower!).

What You’ll Need

  • Cisco console cable
  • Terminal emulator w/Xmodem or Ymodem support
  • IOS image of choice

Step 1

Configure the router for the fastest connection possible (115kbps) using the “confreg” command, as shown here.  Also, configure the speed of the serial port on the computer that you are connecting to the device with to the same speed.

PortSettings

Step 2

Upload image using a terminal emulator with support for Xmodem or Ymodem.  If you’re using Windows XP, you can use hyperterminal in combination with telnet.  I prefer to use “SecureCRT“, but if anyone has any other recommendations, don’t be shy to comment.  Be prepared for this process to take up to an hour for an 15 MB IOS image.  If you’re looking at a couple of hours for the same file size, most likely you don’t have your transfer or serial port speed set correctly (see step 1).

Step 3

Reload router using uploaded IOS image.  Don’t forget to change the speed settings on the network device and computer back to the default (9600kbps).



Random Death [Smartphone Annoyances]

My phone has been suffering from a bad battery and random death.  I would keep my phone charging constantly in the car, at work, or at home, then when off the charger for a small period of time, I would notice that it was dead.  Totally dead; no charge left.  This has left me so completely aggravated that I have started to fantasize about using a BlendTec blender to fix the problem once and for all.

A coworker was nice enough to give me a spare battery they had and it seemed to help a little, but I would set my phone down or put it in my pocket, only to take it out later and it be shut off again!

Well, I’m happy to announce there is a simple fix in the form of a non-technical hack to solve this dilemma……the paper shim!

Simply fold a small piece of paper, or thin cardboard, the size of your cell phone battery and place it between your battery and the battery cover and voila!  Problem solved.

DSCF6217

DSCF6216

Seriously, if you notice on newer smartphone handsets, the manufacturers have started to place small foam pads attached to the battery cover, such as this one on the new Motorola Droid.

DSCF6215