Aug 04 2010

The ultimate guide to SBS 2008 setup failures

Category: SBS 2008Martyn @ 4:42 pm

A great new blog has been published over at the Official SBS Blog, that covers a lot of the reasons that SBS installs or migrations fail, and when they do, where to look for log files as to whats gone wrong.

A good bit of reading here.

Tags: ,


Jun 29 2010

0x800706BE – Windows 2008 Server Manager error

Category: Windows 2008 R2Martyn @ 4:09 pm

If you are trying to load server manager in Server 2008 and you find that the only response you get is error, you may need to run the System Update Readiness Tool (don’t be misled by it’s name!).

This tool will run through your system and find any errors that may cause future updates to fail, which in this case also includes fixing this issue.

The download isn’t small, but will fix your issues. Grab it from here and make sure you grab the right version. Either 2008 or 2008 R2 (32 &64 bit versions both available).

Once you have installed/run the fix, check out the log files here:

  • %SYSTEMROOT%\Logs\CBS\CheckSUR.log
  • %SYSTEMROOT%\Logs\CBS\CheckSUR.persist.log

Tags: , , ,


Jun 01 2010

Short URL for Exchange Connectivity.com site

Category: Exchange 2007,Exchange 2010Martyn @ 9:28 am

Rather than having to type the crazily long URL every time you need to go there, there is a much shorter method, http://et.exbpa.com/

A lot easier to type than http://testexchangeconnectivity.com

Tags: , ,


May 31 2010

Virtual Hard Disk Getting Started Guide

Category: Windows 2008 R2,Windows 7Martyn @ 4:40 pm

If you are after a good guide to starting off with VHD’s, then this one from MS can’t be missed. If you are working with VHD’s in Windows 7, or Server 2008, then this is a great starting point to build your knowledge from.

Grab a copy of the guide here .

Tags: , , ,


May 28 2010

Remote Desktop Services Deployment Guide

Category: Windows 2008 R2Martyn @ 4:14 pm

For a really great guide on designing, installing, and configuring Remote Desktop Services on Windows 2008 R2, check out this guide here from MS themselves.

Tags: , ,


May 20 2010

New Sysinternals tool: RAMmap

Category: Windows 7Martyn @ 9:16 am

Have you ever wondered how Windows allocates physical memory or what’s using it? RAMMap is a new utility for analyzing system RAM usage on Windows Vista and Windows 7 that provides insight never before available. RAMMap shows information about each page of memory, summaries of memory usage by type, views of file data stored in memory, and more.

Check it out here or download it here.

Tags: , ,


May 17 2010

Configuring Event Subscriptions for 2008 systems

Category: Windows 2008 R2,Windows 7Martyn @ 4:39 pm

To set up a source initiated subscription, that requires minimal intervention, and no thought every time a new server is built, follow these easy steps.

Source computers

If you want to configure this as a one off, to test do the following:

On your source computer, using an elevated command prompt, enter the following:

winrm qc -q

Or if you are running in a domain environment, and want to set and forget:

  1. Open up your Group Policy Editor, and browse to (or create a new) GPO that will contain your settings (best bet here is to use a GPO already in place for your servers so that you don’t create load for each machine processing a million GPO’s!).
  2. Under the Computer Configuration node, expand the Administrative Templates node, then expand the Windows Components node, then select the Event Forwarding node.
  3. Right-click the SubscriptionManager setting, and select Properties. Enable the SubscriptionManager setting, and click the Show button to add a server address to the setting. Add at least one setting that specifies the event collector computer. The SubscriptionManager Properties window contains an Explain tab that describes the syntax for the setting.
  4. Now browse down the list a little way, and find the Windows Remote Management (WinRM) node, select the WinRM Service node, and find the “Allow Automatic Configuration of Listners” setting.
  5. Enable the setting, and then enter in an IP, IP range, or enter * into each of the IPv4 and IPv6 fields. Just use * if you aren’t concerned about security, or drill down to specifics if you are doing things by the book as you should be!
  6. Close out of the GP editor, and then just refresh the settings tab to make sure that everything is the way that you want it to be.

At this stage you can run gpupdate /force on your source servers, or just allow for the natural flow and wait for the next automatic refresh.

Collector Computer

Run the following command from an elevated privilege command prompt to configure Windows Remote Management:

winrm qc -q

Run the following command to configure the Event Collector service:

wecutil qc /q

You now have 2 options about how you create the subscription. You can either do this through the event viewer, or by using a script.

Via the Event viewer:

  1. Open up the event viewer, and select the subscriptions node. Right click, and select “Create Subscription”
  2. Give the subscription a name, and select “Source computer initiated”
  3. Select “Select Computer Groups” and enter it in domain computers, as per the example below.

4. If you are using certificates, select the one for your system, and select OK.

5.  Hit “Select events” and chose the event types, and ID’s that you want to monitor, select OK, and if you are happy with your settings, select OK again.

Via a script

Copy the following code into your favourite text editor, and save it as configurationfile.xml

<Subscription xmlns="http://schemas.microsoft.com/2006/03/windows/events/subscription">
    <SubscriptionId>SampleSISubscription</SubscriptionId>
    <SubscriptionType>SourceInitiated</SubscriptionType>
    <Description>Source Initiated Subscription Sample</Description>
    <Enabled>true</Enabled>
    <Uri>http://schemas.microsoft.com/wbem/wsman/1/windows/EventLog</Uri>

    <!-- Use Normal (default), Custom, MinLatency, MinBandwidth -->
    <ConfigurationMode>Custom</ConfigurationMode>

    <Delivery Mode="Push">
        <Batching>
            <MaxItems>1</MaxItems>
            <MaxLatencyTime>1000</MaxLatencyTime>
        </Batching>
        <PushSettings>
            <Heartbeat Interval="60000"/>
        </PushSettings>
    </Delivery>

    <Expires>2018-01-01T00:00:00.000Z</Expires>

    <Query>
        <![CDATA[
            <QueryList>
                <Query Path="Application">
                    <Select>Event[System/EventID='999']</Select>
                </Query>
            </QueryList>
        ]]>
    </Query>

    <ReadExistingEvents>true</ReadExistingEvents>
    <TransportName>http</TransportName>
    <ContentFormat>RenderedText</ContentFormat>
    <Locale Language="en-US"/>
    <LogFile>ForwardedEvents</LogFile>
    <AllowedSourceNonDomainComputers></AllowedSourceNonDomainComputers>
    <AllowedSourceDomainComputers>O:NSG:NSD:(A;;GA;;;DC)(A;;GA;;;NS)</AllowedSourceDomainComputers>
</Subscription>

From the command line browse to the folder that you saved the above file in, and run:

wecutil cs configurationFile.xml

Tags: , ,


May 14 2010

Free PowerShell Commands for AD

Category: Active Directory,Windows 2008 R2Martyn @ 2:42 pm

If you want a slightly more flexible, and different set of commands for managing AD, grab a copy of the Quest PowerShell Commands here for free.

There are 32 and 64 bit versions available, and a handy Administrators guide to top it off!

Tags: , ,


May 14 2010

Protect all OU’s from accidental deletion

Category: Active Directory,Windows 2008 R2Martyn @ 2:40 pm

In order to protect your OU’s from being accidently deleted you have to make sure that they have the correct permissions.

Every time you create a new OU make sure that you select the “Protect container from accidental deletion” option checked.

If you already have your OU structure in place, and want to protect all the current OU’s, there is a couple of ways that you can save yourself a lot of time by not having to click through each and every OU.

1. Using Active Directory module for PowerShell (running as Administrator), enter the following command:

Get-ADOrganizationalUnit -filter * -Properties ProtectedFromAccidentalDeletion | where {$_.ProtectedFromAccidentalDeletion -eq $false} | Set-ADOrganizationalUnit -ProtectedFromAccidentalDeletion $true

To check to see which OU’s are not currently protected us this:

Get-ADOrganizationalUnit -filter * -Properties ProtectedFromAccidentalDeletion | where {$_.ProtectedFromAccidentalDeletion -eq $false} | ft

2. If you have the Quest Powershell Active Direcoty module, you can use the following command to enable protection for all OU’s:

Get-QADObject –SizeLimit 0 -Type OrganizationalUnit | Add-QADPermission -Deny -Account Everyone -ApplyTo ThisObjectOnly -Rights DeleteTree,Delete

If you want to do a one off check, or you are scared of PowerShell, you can right click on an OU (with teh Advanced view turned on) and check the object tab.

Tags: , , ,


Apr 21 2010

How to install Blackberry Enterprise Server Express on SBS 2008

Category: Blackberry,Exchange 2007,SBS 2008Martyn @ 11:31 am

For a good run down on how to go about running BES express on SBS 2008, have a read here.

Always make sure you do everything as the besadmin though, otherwise you will run into issues!

Tags: , , ,


Next Page »