Thursday, March 14, 2013

Exchange 2010 Display more Users, Recipients, Contacts in the Exchange Management Console

Applies to Exchange 2010 SP2 or greater

Open Exchange Management Console: Expand Recipient configuration as shown below and select “Mailbox”:

clip_image001

Then from Actions on the top menu or to the right select “New Mailbox” as shown below:

clip_image002

The maximum you can set is 100,000:

clip_image003

This will apply to all folders under the recipient configuration.

Exchange 2010 Creating a Mailbox for an existing AD user:

Open Exchange Management Console: Expand Recipient configuration as shown below and select “Mailbox”:

clip_image001

Then from Actions on the top menu or to the right select “New Mailbox” as shown below:

clip_image002

Select “User Mailbox” and “Next”:

clip_image003

Select “Existing users:” and “Add” and locate the user you wish to add a mailbox to:

clip_image004

With user displayed click “Next”:

clip_image005

Assuming you do not have a custom configuration use the defaults and click “Next”:

clip_image006

“Next”:

clip_image007

You are Finished!

clip_image008

Tuesday, March 5, 2013

SIM to MicroSIM Cutter How Not To

I am changing phones so have an older T-Moblle SIM. I saw a cellphone Sim Cutter online for $1.50 that is supposed to cut it down for use in a MicroSIM slot. I had a couple old ATT SIMS laying around to test with so figured what the heck..

So here is the $1.50 tool:

clip_image001

It comes with 5 adapter trays so your small MicroSIM can still be used in your original sized SIM device

clip_image002

So I read the instructions. The whole sentence and gave it a try. I centered my (Blue) ATT SIM in the cutter so none of the gold was cut which required a little cut on the outside edge with scissors to line up.

clip_image004 clip_image006

Strike One!

I attempted to use the now MicroSIM in my phone and it would not read it. What the one sentence instructions failed to mention is that you may need to cut off some of the gold. Note the Alignment of the cut one on the left to the factory one on the right.

clip_image007 clip_image009 clip_image011

Just for giggles I broke out my scissors and trimmed off the flat edge to make it more closely match the factory one and use it as a MicroSIM. Of course it would wiggle around and not work for normal use but again why not try it’s already broke.

clip_image013

clip_image015

It actually appeared to work. So had I used the original MicroSIM as an example it may have worked.

Next I wondered if the adapters worked. Strike 2! I put the original MicroSIM in and attempted to put in into my Iphone 3 tray and into the phone. It worked however as you can image the tray slides in one way the MicroSIM is in the other side of the adapter, so once you get it in it the Iphone it doesn’t exactly slide out. I thought I may have to take the phone apart but after some wiggling I was able to get it out.

clip_image016

Next I compared my T-Mobile Chip to the ATT Chip below and discovered the layout is completely different and I decided I was not going for my Third Strike. I will go to T-Mobile and buy a MicroSim instead. 

clip_image017

Monday, March 4, 2013

Installing local RDS and RemoteAPP Demo\Test Installation

Requires Server 2008R2 and avoid a DC if possible

Server Manager> Roles> Add Roles>Remote Desktop Services>Next>Next

Select Remote Desktop Session Host and Remote Desktop Web Access>Next>Next

Specify Authentication Method

Select Licensing Mode and Groups Proper settings (or defaults) and >Next

On Client experience select all options >Next>Next>Next

Restart server as necessary

Administrative tools>Remote Desktop Services>Remote Desktop Web Access Configuration

Click continue ignore security warning

Enter domain credentials select “Private Computer” and sign in

Click RemoteApp Programs and confirm no apps are listed as shown below:

clip_image002

We will now add an application to the website

Administrative tools>Remote Desktop Services>RemoteApp Manager

Actions>Add RemoteApp Programs>Next

Select Wordpad>Next

clip_image004

Finish and then WordPad will be listed in the RemoteApp Programs

clip_image005

You can refresh the website and it should now display

clip_image006

Click on WordPad on the webpage to test:

clip_image008

Now we will put it on a network share for installation on desktops

On C:\ Create a Share called RemoteApp and share to everyone

Go back to RemoteApp Manager at the bottom right click WordPad and select “Create Windows Installer Package” from the menu on the right:

clip_image010

Next>Select the C:\RemoteApp path as shown below:

clip_image012

Next> Shortcut icons> Select Desktop and Start Menu Folder as default>Next

clip_image014

Note: Client Extension option available at the bottom to set as the default program

>Finish

Now from another PC browse to the shared path as shown below:

clip_image016

Run the wordpad installation from the share and it should install on the desktop and in programs in the folder specified “Remote Programs”

clip_image017

When you open it it should function properly. With WordPad open access Task Manager and view Applications and note that it is listed as (remote):

clip_image018

You can uninstall from control panel add and remove programs

Credit: Orin Thomas and Ian McLean

Installing Server Features or Roles using Powershell

How to: list, install, and uninstall Windows Server Features or Roles on Server 2008R2 <

Open Powershell as an Administrator

First you need to load the Server Manager Module:

Import-Module ServerManager

Next we will get a list of what is installed and possible command options:

Get-WindowsFeature

Which will display something Similar to the Example Below:

clip_image001

Your list of possible Remove (Uninstall) and Add (install) options are listed to the right

So I want to install the “Fax Server” so I input the following:

Add-WindowsFeature fax

It will begin processing:

clip_image003

After Completion you will see the status and indicate whether a restart is needed:

clip_image004

Note: Above to install Fax Server it also installed “Print Server”

Now I will uninstall FAX:

Remove-WindowsFeature Fax

It will begin processing:

clip_image006

After Completion you will see the status and indicate whether a restart is needed:

clip_image007

Note: Above it only uninstalled the Fax Server it did not remove the “Print Server”

From my list I find the command to remove the Print Server is:

Remove-WindowsFeature Print-Server

It will begin processing:

clip_image009

After Completion you will see the status and indicate whether a restart is needed:

clip_image010

Enabling AD Recycle Bin on Server 2008R2

Caution: Seasoned Domain Admins Only this is Active Directory and Irreversible

“you break it you bought it…”

All domain controllers must be Server 2008R2 (2K8-R2) And Forest Functional level must be 2008R2

If you already have a 2K8-R2 forest installation you can skip the ADprep steps below

First you need your 2K8-R2 media

Copy the folder \support\Adprep to a path on your schema master domain controller

Open a command prompt as Administrator and change your operating path to the local Adprep folder

Then run the adprep /forestprep

You will then be prompted with the following warning. READ IT and if you agree press ”C”

clip_image001

I am going to assume the same server is your schema Infrastructure operations master, if not repeat the steps above to copy the adprep directory from the server installation media.

From the command prompt as Administrator

Then run the adprep /domainprep /gpprep

If you have a RODC Read Only Domain Controller from the command prompt as Administrator

Then run the adprep /rodcprep

If you have AD LDS running those also must be running 2K8-R2

Now to actually enable the Active Directory Recycle Bin

Open Powershell as an Administrator:

(I found it easier to type the initial command and be prompted rather than one long string)

Enable-AdOptionalFeature ‘Recycle Bin Feature’

You will be prompted for the Scope: ForestOrConfigurationSet

You will be prompted for the Target:forest_name.com IN my example Target:ko.internal

You will then be prompted with the following IRREVERSABLE Warning

clip_image003

Select “Y” to perform the operation.

After you type “Y” and hit enter you are returned to the command prompt there is no indication it ran

If in doubt and you run it again it will tell you it is already exists.

Now you can use Powershell to restore items from your AD recycle bin using the following cmds

Get-ADObject to locate the desired object

Restore-ADObject to perform the actual restoration

For Example I delete Kim A from users in AD to restore it I use the command:

Get-ADObject –Filter ‘displayname –eq “Kim A”’ –IncludedDeletedObjects |Restore-ADObject

Using the AD Recycle bin avoids the hassle of tombstones, authoritative restores and also it restores the AD object in a more thorough manner with groups and other information still intact.