Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


SBS 2011 not shutting down properly when installed as HyperV Guest OS

Posted on 2011-02-18
Medium Priority
Last Modified: 2012-05-11
Hi Experts,

We have successfully installed alot of Virtual machines using Windows Server HyperV R2 2008 and have for the first time installed SBS 2011 as a guest with it. Everything is working fine except for the shutdown of the SBS 2011 Guest OS. I have tested the following shutdown method and all result in an "unclean shutdown" of the SBS 2011 Server.

All integration services are enabled and working. All drivers are installed properly.

1. Have tried to shutdown from the SBS 2011 console using the standard shutdown via start menu. The computer begins to shutdown than during the shutdown of the services it shutdown entirely like a good shutdown. When we reboot it we get the shutdown event tracker log that the previous shutdown was unclean.

2. Have tried shutting down from the HyperV manager and it does the same thing as above.

3. Have tried shutting down from the HyperV terminal.

4. I have even tried the "Restart" option. The system restarts as would any other server but it always comes up with the shutdown event tracker alerting me that it was not shutdown correctly.

All the other three guest OS shutdown properly except SBS 2011.

Is there a shutdown bug in SBS 2011 that prevents it from being shutdown properly when installed as a HyperV guest.

It's not often we need to shut it down but an unclean shutdown will eventually result in a database / file corruption of some sort.

Your help would be appreciated.  
Question by:logicsolutions
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 77

Expert Comment

by:Rob Williams
ID: 34925872
I am not much help but a few comments:
No chance you have IPv6 disabled? It is known to cause numerous issues especially at startup, though I haven't heard of this one.

For the record I have run SBS 2011 beta and RTM as a hyper-V guest with no issues, so it's not a universal problem.

Many folk find SBS shudowns very slow and have thus written scripts to shutdown various services first allowing for quick clean shutdowns. Though I agree this shouldn't be necessary I wonder if implementing one of these might make a difference. If so it might help to pinpoint what service is causing the problem by tinkering with it.

Author Comment

ID: 34929076
Thanks Rob.

It's a strange problem as no matter where we shut it down from the SBS 2011 Guest always comes up again saying the previous shutdown was not completed correctly.

As SBS 2011 is fairly new and not a lot of folk out there are probably using it in production environments with HYPERV as the server and SBS 2011 as the guest I suspect we might even need to lodge a call with Microsoft. I didn't even find SBS 2011 on the approved list of Guest VM though you would think certain it should be supported.

I might contact MS today and speak to a tech.

FYI IP 6 is still enabled. I might also see if there is a Best Practices Analyzer for SBS 2011 that will check the system and alert any problems.

If anyone has a similar issue and managed to find the solution please post back.

Many Thanks.
LVL 59

Expert Comment

by:Cliff Galiher
ID: 34929819
I can tell you that this isn't a "known" or normal problem. I've been running beta versions of SBSv7/SBS2011, including RCs and RTM in various incarnations, all virtual (I couldn't justify dedicating a server) and have been testing a few migrations with virtual machines from SBS 2003 and SBS 2008 to SBS 2011. I have not seen this behavior even once.

With that said, a few things that come to mind:

1) Make sure you do NOT have time services running for the VM. SBS is a DC and like any DC on Hyper-V, letting the host sync time causes bad things to happen.

2) Make sure your drivers are up-to-date in the host. Particularly any storage (RAID) drivers.

3) Firimware too. See #2.

4) OS too. fully patched (host). See #2.

I'm guessing that the hypervisor is detecting the power off event and is not flushing the request write changes to the .vhd as expected. This would likely be an issue with the hypervisor itself, not with the guest OS, which is why I'm focusing on the updates I am recommending.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 77

Expert Comment

by:Rob Williams
ID: 34930499
>>"As SBS 2011 is fairly new and not a lot of folk out there are probably using it in production environments with HYPERV as the server and SBS 2011 as the guest "
Probably true but a large percentage of the beta testing was done that way and I don't recall any bugs reported.

There is a BPA for SBS 2011, but it disappeared yesterday awaiting the release of an updated version. Just google "Windows Small Business Server 2011 Best Practices Analyzer" in the near future and it should be the first link.


Author Comment

ID: 34940001
Thanks Guys.

Just to also note. This is only happening for SBS 2011. All other VM types are fine. Will certainly give the BPA a shot as I did notice that on Saturday that it was not available.

Will get back to you in the interim.

Author Comment

ID: 34940075
This sounds awfully similar to a very old problem. Found this whilst doing my digging around.

Author Comment

ID: 34940105
I also found this. As I have Symantec Endpoint Protection Manager installed on the server this culd also be the reason. The following forum discuss this problem and it's only a couple of weeks old. Will look into this.

Accepted Solution

logicsolutions earned 0 total points
ID: 34969332
Found the problem:

It's related to Blackberry Enterprise Server which I have installed on the same SBS 2011 box.

The last post in the above highlights the cause of the problem. Seems to be a mixture of BES and 2008 / 2011 platforms.

This problem seems like it pretty common.

Thanks Guys for the heads up.

Will run the BPA in the next couple of days to confirm the server configuration is running at optimal.
LVL 77

Expert Comment

by:Rob Williams
ID: 34969782
Interesting. Thank you for posting your findings.
Based on that you could use one of the scripts above to add shutting down the blackberry services before the actually shutdown and set them to have a delayed start at boot. It might resolve the problem.

Author Comment

ID: 35138487
Mod please close the question,

Author Closing Comment

ID: 35174520
Problem was related to BES Server.

Expert Comment

ID: 37310840
Thanks - saved me some time.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of problems and solutions are available on the net for the error message "Source server does not meet minimum requirements for migration" while performing a migration from Small Business Server 2003 to SBS 2008. This error pops up just before …
The problem of the system drive in SBS 2003 getting full continues to be an issue, even though SBS 2008 and SBS 2011 are both in the market place.  There are several solutions to this, including adding additional drive space or using third party uti…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question