Exchange 2007 won’t deliver email to distribution groups

We had interesting issue here at work where emails to distribution group wouldn’t be delivered but normal email flow to users was fine. After running Message Tracking, the messages would show up as recieved in Event ID but messages would not show up. You would also see “00A:” in Messageinfo.

Problem ended up being issues with only member of Distribution group was another security group and that was causing the issue. I removed the security group and added the members of security group as individual members of distribution group. This cleaned up the problem and took effect without any rebooting.

Posted in Windows Server | Comments Off

Hyper-V and Expanding Hard Drives while Guest is live

Several people have asked me about Hyper-V and expanding Hard drives while the guest is online. I thought answer was no, but I realized I might be wrong therefore, I’m going to test it. Following tests will be done.

1. Can IDE drives be expanded while the server is online? If no, can they be expanded while offline?
2. Can Windows 2008 R2 expand boot drive along with it?
3. Can SCSI attached VHDs be expanded on the fly? If no, can they be expanded while offline?
4. Can Windows 2008 R2 expand data drive with it while in MBR or GPT or both?

All these will be run on Windows 2008 R2 SP1 Enterprise Hyper-V host using Windows 2008 R2 SP1 Standard as guest. All VHDs are on local drives as I don’t have facilities for iSCSI testing. VHDs on iSCSI drives should behave the same way. iSCSI directly attached to guest is unknown. Integration Services were fully up to date.

DO NOT ATTEMPT ON SNAPSHOTTED SERVERS.

Continue reading

Posted in Windows Server | Comments Off

IPv6 and Subnet Prefix Length

IPv6 is upon us, well soon anyways and there has been much confusion about IPv6. This post will hopefully clear up some of this confusion. This post assumes that IPv4 doesn’t bother you.

Continue reading

Posted in Windows Server | Comments Off

What I mean when I ask you “What is your Goal?”

Often in ##windows-server, that question gets asked and occasionally the response will be “I’m trying to get X configured” which isn’t the answer we are looking for. Generally this question is asked because with your questioning, we have figured out you might not be on right path and attempting to put you on right path. To answer that question, tell us reason for this work. If your confused by that last statement, just tell us the bolded part of this statement “I’m trying to get X configured because I need to do Y.”

Posted in Windows Server | Comments Off

Limited amount of users on SBS 2008 using Outlook Anywhere

http://blogs.technet.com/b/sbs/archive/2009/01/28/slow-connectivity-for-outlook-anywhere-and-sites-that-use-the-sbs-web-applications-app-pool.aspx

Make the second change they describe and it should work perfectly.

Posted in Windows Server | Comments Off

Who can join computers to a domain? How do I prevent this?

By default in 2008R2, and been this way since 2003 though I can’t confirm, is any authenticated users can add up to 10 computers to domain. GPO that controls this Domain Controller Group Policy by default. It’s under Computer Configuration/Security Settings/Local Policies/User Rights Assignment/Add Workstations to domain

Term user applies to standard user running with standard domain user permissions.

Few questions that came up where:

1. Does this setting applies to servers?
2. If I revoke that permission from authenticated users, can do they still get 10 free computers?
3. If they get free 10 computers, how can I stop those users from joining computers at all?

Read More for answers

Continue reading

Posted in Windows Server | Comments Off

Powershell Command to determine what phones are connected via ActiveSync to .CSV file

This powershell Command will show which phones are hooked up to Exchange server via ActiveSync.

First line: $MB = Get-Mailbox -ResultSize:Unlimited

Second Line: $MB | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | Select-Object identity,devicemodel,LastSuccessSync | export-csv C:\Activesync.csv

You should get output like the following below:

“Identity”,”DeviceModel”,”LastSuccessSync”

“domain.local/Administrators/Full Name of User/ExchangeActiveSyncDevices/PocketPC?630A23C73D1F3C337ACADB0143FF0889″,”RAPH800″,”5/28/2010 17:02:16″

“domain.local/Administrators/Full Name of User/ExchangeActiveSyncDevices/Android?4130303030303135454230443446″,”Android”,”5/28/2010 16:57:47″

These are available Columns that you could enter at “Select-Object” in case you wanted additional info or different output.

RunspaceId                    : 73aad740-3ff8-45f4-998b-f26e7e6f2724
FirstSyncTime                 : 5/18/2010 14:43:44
LastPolicyUpdateTime          : 5/28/2010 16:06:05
LastSyncAttemptTime           : 5/28/2010 17:10:55|
LastSuccessSync               : 5/28/2010 17:10:55
DeviceType                    : Android
DeviceID                      : 4130303030303135454230443446
DeviceUserAgent               : TouchDown(MSRPC)/6.0.0002
DeviceWipeSentTime            :
DeviceWipeRequestTime         :
DeviceWipeAckTime             :
LastPingHeartbeat             : 780
RecoveryPassword              : ********
DeviceModel                   : Android
DeviceImei                    :
DeviceFriendlyName            :
DeviceOS                      :
DeviceOSLanguage              :
DevicePhoneNumber             :
MailboxLogReport              :
DeviceEnableOutboundSMS       : False
DeviceMobileOperator          :
Identity: Domain.local/Administrators/Full name of user/ExchangeActiveSyncDevices/Android§4130303030303135454230443446
Guid: c512954f-60b8-4e4f-b679-d93b1a70c025
IsRemoteWipeSupported         : True
Status                        : DeviceOk
StatusNote                    :
DeviceAccessState             : Allowed
DeviceAccessStateReason       : Global
DeviceAccessControlRule       :
DevicePolicyApplied           : Default
DevicePolicyApplicationStatus : AppliedInFull
LastDeviceWipeRequestor       :
DeviceActiveSyncVersion       : 12.1
NumberOfFoldersSynced         : 45
SyncStateUpgradeTime          :

Posted in Windows Server | Comments Off

Hyper-V Bare Metal to Live Migration in 1 hour

http://edge.technet.com/Media/Hyper-V-Server-2008-R2-Bare-Metal-to-Live-Migration-In-about-an-hour/

Just shoving on the blog so I can quickly find it.

Posted in Windows Server | Comments Off

Domain Controllers

Let’s talk about Domain Controllers.

Intro to Domain Controllers

Domain Controllers are controllers of Active Directory. They authenticate users logging in, they keep information on different settings, store the majority of Exchange configuration settings among many other things. They are extremely critical to most organizations and if all domain controllers in an organization fail, the organization will effectively be dead in the water.

Domain naming

This is a subject where in #windows-server (irc.freenode.net), admins go around and around. At last check, official microsoft recommendation is domain.company.tld. However, many admins like to use domain.local or some other unresolvable .tld, myself included. My personal domain that I use for testing is escapedrabbit.local. Regardless, whichever naming convention you pick, company.com or company.net is generally frowned upon due to DNS headaches you will encounter.

Acronyms used for Domain Controllers

DC (Domain Controllers)
GC (Global Catalogs)
FSMO (Flexable Single Operation Masters)
OM or OpMasters (Operation Masters)

Roles explained

Domain Controllers are simply the base Domain controllers. If Domain Controllers have additional roles, you don’t need to say they are DC since it’s implied.

Global Gatalogs are Domain Controllers that serve various purposes but they serve a purpose for logins. Every site should have at least one. If you have a really busy site, additional Global Catalogs should be deployed. All Global Catalogs are Domain Controllers.

FSMO or OpMasters (Interchangeable terms) are various roles that require a single server only to perform them. They are not used daily by Active Directory but are still critical roles that need to be fulfilled. With exception of PDC role, the rest of roles have nothing to do with the clients and PDC role is rarely used by clients. By default, they are first DC in forest/domain but it’s possible to move them or even seize them if failure occurs on existing FSMO. Once FSMO roles have been seized, the domain controller that is hosting them cannot be reintroduced into the domain. If you manage to recover the FSMO server from its failure, don’t even plug it back into the network. If it’s only a DC, format and reinstall it. I cannot stress this enough. If you have to recover additional information, do not plug it into the network, use a USB hard drive or whatever to recover the information.

This Microsoft KB article has explanations about different roles and what they do: http://support.microsoft.com/kb/324801

So which Domain Controller is in charge?!?!?

Often in #windows-server we will get people talking about their primary/secondary domain controllers. Master/Slave and even root/child have confused people who thought they were talking about domains and not actual domain controllers. Starting in 2000, Active Directory no longer works on Primary/Backup Domain Controller concept. All Domain Controllers are peers and except for FSMO roles, they are all the same level. Don’t use these terms. If you’re trying to specify the FSMO, just say it’s the FSMO server.

So which server is updated when changes are made?

It depends on which DC your ADUC has open. Once a change is made to a DC, it’s replicated throughout the domain.

DNS, or what it’s so important

DNS is critical to Active Directory operation. Clients use DNS extensively to lookup and locate Domain Controllers and other servers. If you’re DNS becomes corrupt, you’re not going to be happy. In most cases, the best way to fix DNS issues is to make sure all Domain Controllers listed in Domain Controller OU are correct (alive/pingable) then run “dcdiag /fix” on a domain controller. DNS should be updated and replicated. This doesn’t fix everything but it’s good place to start.

Posted in Domain Controllers, Windows Server | Comments Off