Archive for SBS 2008

Last week during an SBS 2003 – SBS 2008 migration we ran into a problem with the installer that has not occurred in any of our previous migrations. (and we’ve done lots of them) Upon creating partitions and selecting the partition that we wanted to install the OS to, it fails to install immediately saying “Windows could not determine if the computer contains a valid system volume”.

After some fussing, rebuilding the RAID array, calling hardware support at Equus (who by the way was wonderful) we finally found something of a solution on the Internet. Apparently what we ran into is pretty common, though the solution that worked for us was not exactly as found by an Internet search.

The problem was that the server was attempting to install the OS onto the USB key (which we needed for the answer file). It was doing this even though, the USB key was not an option to select in the where do you want to install the OS screen in the installer.

The puzzling part for us is that we have done many migrations and never run into this problem before. We have used this exact same server hardware configuration. We have booted with a USB key already plugged in. We have used OEM media. This we think was our first OEM media with SP2 slipstream, but that hardly seems like something that would cause what really appears to be an installer issue. Was it the particular USB key we used? So while we’re stumped on the cause, at least we found a solution.

The Internet search solution was to go into the BIOS and move the USB key in the boot order to the last option. We did that, no dice. Same problem, this solution did not work for us but if you are having this problem it may be worth a try as others report that it does work. Our install absolutely insisted on not installing where we selected and attempting to install to a drive that was not even available as a selection in the installer!

We had to remove the USB key from the server during installation and plug it in at the appropriate time to read the answer file. The appropriate time we selected was immediately following the confirmation that the OS is installing. When your server reboots be sure to again remove the key and wait until the installation resumes before plugging it in. This will allow the installation to start and your migration to succeed.

—–

Need more help with this or some other sticky situation? Click to hire us.
We’re Third Tier. We provide advanced Third Tier support for IT Professionals.
Third Tier Get Support BlogFeed Blog Twitter Twitter Facebook Facebook LinkedIn LinkedIN

Categories : Amy Babinchak, SBS 2008
Comments (0)

Just a heads up. If any of your clients have a user that complains that they can’t access public folders, they may be having a problem with a recent client-side Outlook 2007 security update. If they attempt to access public folders and are getting this error:

Cannot expand the folder. The attempt to log on to Microsoft Exchange has failed

It’s likely that they recently installed KB980376. As of today, the only known fix is to uninstall that security update from the client machine so that they can get into public folders.

Comments (0)

There are plenty of reasons why you might want to give one user access to another user’s mailbox. The first user may be in the hospital, or under HR review, or maybe they’ve been dropping the ball lately and management need to make sure that certain projects have been followed up on. It’s not really our job to care. The fact is, Bill in management has requested that you give Paul Stanley access to Gene Simmon’s mailbox, and for various reasons, logging on to Gene’s mailbox to set these permissions up is not a good option. For one, you’d only be able to delegate access to certain primary folders, not to the whole mailbox, and second, you’d have to know Gene’s password to do that. Because you are a smart admin, you tell Bill you can take care of it easily from the server. And here’s how you do it with Exchange 2007 or Exchange 2010:

Using this powershell command, you can give one user the permission to open and view another user’s entire mailbox. They won’t be able to send mail from that mailbox though, unless you add the SendAs permission:

Add-MailboxPermission user1 -User user2 -AccessRights fullaccess

So if you wanted to give Paul Stanley access to Gene Simmons’ mailbox, you would do this:

Add-MailboxPermission gsimmons -user pstanley -AccessRights fullaccess

To add sending functionality, you would do this:

Add-MailboxPermission gsimmons -User pstanley -AccessRights sendas

Make sure you run the Exchange Management Shell as Admin (escalated) or you may not get the results you were expecting.

If you want to verify the permissions you’ve given Paul, you can run this command:

Get-MailboxPermission gsimmons -User pstanley | fl

After you tell Bill that you’ve taken care of it, he asks you what Paul is supposed to do to view the mailbox. You send him the following instructions:

In Outlook, go into Tools -> Account Settingss and open up the properties on your Exchange email account. Choose More Settings, and when you get to the tabbed window, choose the Advanced tab.

On the Advanced tab, you will see the option to open additional mailboxes. Click Add and type the name of the user whose mailbox you want to open. In this case, Paul could type “Gene Simmons” or “gsimmons”. OK all the way out, and you should see another root mailbox for Gene Simmons added to Paul’s Outlook.

And yes, this can be done in the Exchange Management Console, but PowerShell is quicker!

Comments (0)
May
18

SBS 2008 and Dell Rack-mount Servers

Posted by: Eriq Neale | Comments Comments Off

Yesterday I finally ran into my first failed SBS 2008 install, not one I had picked up from someone else, but one of my own where I’ve managed the source server for years and did all the prep work myself. It was both a good thing and a bad thing: good because we got to finally troubleshoot one where we knew the entire environment up front so we could immediately eliminate several potential causes, bad because we were on a really limited migration timetable for this particular customer and we’ve ended up losing more than just a day on the project.

But the interesting thing about this migration is why it failed, and the blame lies right at the feet of Dell. Short story: the Dell PowerEdge R310 server does not allow you to individually disable the on-board NICs in BIOS. In BIOS, you can choose to disable both NICs, but the individual integrated NIC options include “Enabled,” “Enabled with PXE,” and “Enabled with iSCSI.” No “Disabled” option at all.

I’ll be perfectly honest, this was not a scenario I tested when working on the migration documentation with Microsoft and researching for the SBS 2008 Unleashed book. Since the SBS 2008 requirements list a single NIC only, that’s all the testing that I did. So when I went through with the migration install yesterday, I knew I was taking a bit of a chance, but hoped that since I only had one NIC connected to the network it wouldn’t be a problem.

Well, it was.

During the setup, the SBS portion of the install tried to do a WMI query against DNS for the existing domain. The query succeeded on the connected NIC, but the installer performed the query again on the disconnected NIC and failed. That failure led to the dreaded cascading failure of Exchange and everything else that followed. We were able to get the source server back online quickly since we followed best practices and took a System State Backup immediately prior to launching the SBS 2008 installer on the destination server, but then we faced the dilemma of how to proceed. After discussing the issue with a Microsoft contact, we thought the setup might complete if we connected both NICs to the network, but the better option is to disable the unused NIC in BIOS and do the migration setup the way it’s supposed to be done.

After a 3.5 hour call with Dell, it basically cannot be done on the R310. Apparently someone decided that an all or nothing configuration on the NICs on that particular server was the better solution than letting each NIC be individually disabled as done on every other Dell server I’ve worked with for a decade. The issue has been escalated with the engineering team, but we don’t yet know if there will be a fix or how long it will take to get one if it can be done.

Bottom line, I cannot recommend installation of SBS 2008 on a Dell PowerEdge R310 server until (or if) Dell resolves the issue of disabling the NICs individually in BIOS. I can almost guarantee that a migration setup will fail on this platform, but I don’t know if a clean install will have a similar issue or not. If anyone has successfully installed SBS 2008 on an R310 server, I’d love to hear from you. Since this is a relatively new model from Dell, however, I may well be one of the first to attempt this particular configuration. And I hope that our pain can save someone else from the same…

Categories : Eriq Neale, SBS 2008
Comments Comments Off

One of the differences between SBS 2003 and SBS 2008 is how the monitoring database is handled. In SBS 2003 the database did not have a size limitation and was able to grow as large as required. In SBS 2008, this is no longer the case. SQL Express has a 4GB limit and the other day one of my clients hit it.

So how do you know when your SBS Monitoring database is full? You’ll get this error in the Application Log:

Log Name:      Application
Source:        MSSQL$SBSMONITORING
Date:          3/19/2010 7:36:29 AM
Event ID:      1827
Task Category: (2)
Level:         Error
Keywords:      Classic
User:          SYSTEM
Computer:      SBS2008.domain.local
Description:
CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed limit of 4096 MB per database.

It’s pretty clear from the message what the problem is. So what caused it and how do we fix it?

The cause is that the database is not configured to purge old data. There is a fix for this and it turns out to the same sql script that is used for an SBS problem where the Console displays too slowly. Run this script against your SBS Monitoring database and it will only hold data for the last 90 days. So if your database isn’t completely filled up yet you’ll want to run this now.

NOTE: The following instructions and script link from from the Official SBS Blog posting SBS 2008 Console May Take Too Long to Display Alerts and Security Statuses, Display Not Available, or Crash.

  • Download the following file to the server you are going to be working on:
    1. http://cid-d5fe25afb6c3615f.skydrive.live.com/self.aspx/.Public/updateSBSMonitoring.sql
    2. We recommend you save the file to an easy to access path, such as c:\windows\temp.
  • Complete a backup of the SBSMonitoring Databases
    1. Open Services from Administrative Tools, Services
    2. Accept the UAC prompt
    3. Find and stop the SQL Server (SBSMONITORING) service.
    4. Make a copy of the files in the following folder:
      1. C:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Data
    5. Once the file backup is completed, start the SQL Server (SBSMONITORING) service.
  • Proceed to run the following set of commands to implement the improvements
    1. Open an Administrative Command Prompt (Run As Admin)
    2. Type the following command, substitute the path to the updateSBSMonitoring.sql file as needed (We recommend that you do NOT copy & paste this command directly from the blog post):
      1. Sqlcmd -S %computername%\SBSMonitoring -E  -i c:\windows\temp\updateSBSMonitoring.sql
      2. Success will show an output like this:
        Changed database context to ‘SBSMonitoring’
        (1 rows affected)
  • If your database is completely filled up like mine was, then you need to replace it with a clean empty one. I consulted out resident SQL expert, Edwin Sarmiento, for this advice. You’ll have to get clean empty database through one of 3 methods: Open a ticket with Third Tier, open a ticket with Microsoft, or stand up an SBS 2008 server and grab it from there.

    To install your new clean database do this:

    1. Open an elevated SQL Server Management Studio Express
    2. Connect to the <servername>\SBSMonitoring database using Windows Authentication
    3. Expand Databases and right-click on SBS Monitoring
    4. Choose Tasks, then Backup
    5. Make a backup of the current database
    6. Next Choose Tasks, then Detach to detach the database from SQL
    7. Open Services.msc and stop the SQL Server (SBSMonitoring) and SQL Full Text Search (SBSMonitoring) services
    8. Open an elevated Windows Explorer and drill down to c:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Data and replace the SBSMonitoring and SBSMonitoring_Log files with the blank ones you obtained.
    9. Start the services that you stopped earlier
    10. Verify that you can run a report from the console

    Since you have now gone to the trouble of installing a new database, to insure that this doesn’t happen again run the above SQL script on the new database.


    So who wrote this blog and what do they do for a living anyway?

    We’re Third Tier. We provide advanced Third Tier support for IT Professionals.
    Third Tier Get Support BlogFeed Blog Twitter Twitter Facebook Facebook LinkedIn LinkedIN

    Comments (4)

    Great post to check out if you are having network issues with your SBS 2008 network!

    We have seen an increase of instances where customers are experiencing various networking problems because they have altered the networking topology by installing multiple NICS or assigning multiple IPs to their single NIC. Some of the more common issues we have seen with this scenario include, but are not limited to:

    · Slow or complete loss of file share/network login access

    · Problems with Outlook connectivity (mailbox login, Autodiscover, OAB, Free/Busy, OOF assistant, Outlook Anywhere)

    · Issues accessing web sites (OWA, RWW, Sharepoint, Connect)

    · Issues with service startup, particularly Exchange.

    · The server hangs at “Applying Computer Settings” upon boot.

    · Inability to complete the SBS networking wizards (IAMW and CTIW)

    Categories : SBS 2008, Steve
    Comments Comments Off

    Last month TrainSignal released a new video course course I created, and I thought I’d talk about it a little bit here, since I wrote it with the SMB consultant audience in mind.

    I think that if I was looking for a course to take myself, I’d want to know that it did two things: cover all the essentials and additionally give me some beyond-the-basics expertise to add value to my consulting. Beyond that, I’d also want it to efficiently cover a given topic in a demo-driven way so that instead of having to plow through the whole course, I’d be able to sit down for 45 minutes or so with a specific topic and walk away feeling more prepared to implement.

    That’s pretty much what I’ve put together, and when you add up all the content, it comes to over 17 hours of video, including segments covering SharePoint customization, certificates, WSUS, SBS 2003-2008 migrations, Exchange disaster recovery and much more.

    TrainSignal typically sells scenario-driven courses, so there’s usually a fictitious company with fictitious characters whose needs the course is built around, and as part of the course, we field management requests from our “client” and translate them into technological solutions. In this course we are working for Mal Falconi, who runs KingFish Private Investigations, and she wants to set up a solution that maximizes her decentralized office strategy. Many videos begin with a description of a “business need” and we move on to craft and implement a solution that meets that need. I had a lot of fun building the course.

    You can check out a larger overview here.

    If you’ve already looked at the course, I’d be glad for any feedback you might have.

    Comments (0)
    Jan
    18

    Automating the WSUS 3.0 Cleanup Process

    Posted by: Eriq Neale | Comments Comments Off

    While I’ve not been a huge fan of WSUS in the past, it’s been growing on me over the last year or so. Specifically, I’ve been really pleased with how WSUS 3.0 and SBS have been integrated (well, so long as you don’t hit a problem with the integration, which can then lead to a LOT of work to recover or repair or reinstall, but that’s a different post for a different day). But there are still challenges to keeping WSUS in check and keeping it from having unintended impacts on those same SBS servers.

    Fortunately, most of the commonly-encountered problems with WSUS 3.x can be dealt with by running the Server Cleanup Wizard from the Update Services console. [NOTE: If you have never run the Server Cleanup Wizard in WSUS on a server that's been in production for a while, I recommend running the wizard manually and only select one category at a time. The first run can clean a LOT of information out of the WSUS environment, and it can take a VERY long time to complete.] But in this day of automating tasks, I don’t want to manually run the Server Cleanup Wizard on a regular basis as it can still take some time to complete the supplemental runs even after the first (and potentially longest) pass has been completed.

    Well, there are two mechanisms for automating the Server Cleanup Wizard process on an SBS 2008 server (and other servers running WSUS for that matter). The first method that I’ll discuss below is fairly easy to google, but the second doesn’t show up in searches related to SBS 2008 (that I’ve been able to find at the time that I put this post together), so I’m going to document it here.

    Let me start by saying that a lot of people who have implemented one of these two methods seem to be in agreement that these processes (or a variation thereof) should be included within WSUS itself and not relegated to what amounts to an add-on for maintenance and management. I’m in the same category, and really would like the WSUS team to look at providing tools with WSUS to be able to schedule the maintenance out of the box.

    The first solution I ran across last year was a tool uploaded to Codeplex: http://wsus.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=17612. This is a complied tool that will perform operations on the WSUS implementation based on command-line parameters that are passed to the tool when executed. It can run each of the cleanup tasks in the Server Cleanup Wizard individually or in groups, and also includes an SQL script that the tool can call to perform maintenance on the WSUS database file itself. I’ve deployed this in testing on a few SBS 2003 installations where I have WSUS 3.x running, and it’s been able to keep the WSUS installation in check rather nicely. My only beef with the tool is that since its a compiled executable, it’s impossible to tweak its operation beyond what the developer has coded into the tool. Currently, I can’t think of any WSUS tasks that I’d like to do that this tool cannot, but if an update to WSUS changes the way some of these tasks can be called, it’s possible that the tool might cease to function or not be able to handle new functionality and need an update from the author. I’ve also not run this on SBS 2008 yet simply because I don’t have a test box that I could run this on to make sure it doesn’t misbehave on that platform. It might work just the same on SBS 2008 as SBS 2003, but I can’t confirm that first-hand, so I haven’t pushed in out.

    The second solution I ran across (again, not in an SBS 2008 search) is a PowerShell script that calls the Server Cleanup Wizard functions from WSUS directly. Since PowerShell is enabled by default on SBS 2008 out of the box, and since I can get into the code directly, I went ahead and implemented this script on my own production server, because I honestly hadn’t run the Cleanup Wizard on it in I don’t know how long. The script came from the Microsoft Technet Script Center at http://gallery.technet.microsoft.com/ScriptCenter/en-us/fd39c7d4-05bb-4c2d-8a99-f92ca8d08218. I have a Tools folder on the root of the second partition of every server I deploy, and I added a Scripts folder in that to house this script. I named the script WSUS_Cleanup.ps1 and copied the contents from the Script Center page into the file. I then opened a Command Prompt as Adminstrator and ran “powershell.exe WSUS_Cleanup.ps1″ on the server. After a long wait (like I said, I hadn’t run the Server Cleanup Wizard in a looooooong time),  I got output from the script that showed the results of each of the steps it ran within the script (as listed on the Script Center page, the option to remove old computer from WSUS has been commented out).

    Being the kind of guy who likes to review the results of processes once they complete, I build a quick and dirty batch file wrapper for the PowerShell script. Yes, I probably could have done the whole thing in PowerShell, but I’m still a bit of a PS newbie, so I relied on my comfort with batch files to get this wrapper done. Here’s the contents of the WSUS_Cleanup.bat that I put on the server:

    @echo off
    @echo Starting cleanup: %date% %time% >> d:\tools\scripts\WSUS_Cleanup.log
    powershell.exe d:\tools\scripts\WSUS_Cleanup.ps1 >> d:\tools\scripts\WSUS_Cleanup.log
    @echo Finished cleanup: %date% %time% >> d:\tools\scripts\WSUS_Cleanup.log

    The batch file writes the current date and time to a log file that I created in the same Scripts folder where the other pieces are, then calls PowerShell to run the cleanup script and appends the output of that process to the log file as well. Once that finishes, the current date and time are again appended to the log. Now I can see when the script ran, what it did when it ran, and how long it took to complete.

    Either of these tools are easily adaptable to running as scheduled tasks or as scripts from your favorite RMM tool. THE WSUS_Cleanup from Codeplex has a couple of advantages over the PowerShell script. One, you can select which components of the Cleanup Wizard you wish to run by adjusting the command line call to the tool. With the PowerShell script as written, you have to modify the script and comment or uncomment each of the tasks. (Yes, a savvy PowerShell person should be able to modify that script to mimic the behavior of the Codeplex tool, and as I’ve mentioned, I’m not that guy. Yet.) Second, the Codeplex tool has the SQL maintenance script included which can be run within the scope of the Codeplex tool. The PowerShell script does not include anything for SQL maintenance on the actual database files. Again, someone with SQL skills could easily script up and automate a process to do the same thing, and again that’s not me.

    Given that PowerShell is getting more and more visibility in the Server 2008 world, I’m going to be focusing (when possible) on dealing with automation tasks that make use of PowerShell or other native scripting tools rather than rely on someone else to build an executable file. Not to say that the WSUS_Cleanup tool on Codeplex is a bad thing. I’m probably going to keep that on my 2003-based systems until there’s a reason not to. But for my 2008 deployments, I’m going to stick with PowerShell for WSUS maintenance. If nothing else, I get an excuse to learn more about PowerShell and keep my WSUS installations in good working order.

    Categories : Eriq Neale, SBS 2008
    Comments Comments Off

    On Saturday, February 6th, Microsoft & the Puget Sound Small Business Server User Group is holding its Hyper-V 2008 R2 Partner Day: Practical Knowledge for Successful Deployments at Microsoft’s Corporate Headquarters, register now, space is limited.

     

    This is day of Live Builds; Instruction; Demonstration; and, Tips & Tricks on Hyper-V for fellow Microsoft partners who want to use Hyper-V within their practice.  You will see deployment, optimization and management of Hyper-V, all with a focus for how to use Hyper-V within a Microsoft focused IT practice from a fellow practicing Microsoft partner. Watch & Learn as the Hyper-V Role is deployed on a Windows Server 2008 R2 and while Hyper-V Server 2008 R2 is installed.

     

    This is not a Hyper-V versus VMware day.
    This is not a hands-on day.
    This is not a test preparation day.

    This is an “I can do ‘that’” day.
    This is a Partners sharing with Partners day.

     

    Schedule:

    9:00 AM

    -

    9:30 AM

    Registration

    9:30 AM

    -

    11:30 AM

    Morning Session

    11:30 AM

    -

    12:20 PM

    Lunch Break

    12:20 PM

    -

    1:50 PM

    1st Afternoon Session

    1:50 PM

    -

    2:10 PM

    Break

    2:10 PM

    -

    3:30 PM

    2nd Afternoon Session

    3:30 PM

    -

    4:00 PM

    Wrap Up

     

    Here is a list of the topics we will be covering:

     

    Deploying Hyper-V Role via:

    ·         Windows Server 2008 R2 (Full Installation) with Hyper-V ß Live Build

    ·         Windows Server 2008 R2 (Core Installation) with Hyper-V

    ·         Hyper-V Server 2008 R2 ß Live Build

     

    Managing Virtual Machines:

    ·         Hyper-V Manager ß Live Demonstration

    o   Virtual Network Manager

    o   New Virtual Machine Wizard

    o   New Virtual Hard Disk Wizard

    ·         System Center Virtual Machine Manager

     

    Practical Tips & Tricks:

    ·         Virtualizing Windows Small Business Server 2008 ß Live Demonstration

    ·         Virtualizing Remote Desktop Services (Terminal Services)

    ·         Performance Optimization ß Live Demonstration

    ·         Backups

     

    Overview of Advanced Topics:

    ·         Power Shell Hyper-V

    ·         Managing Virtual Machine Storage

    ·         Quick Migration

    ·         Live Migration, Failover Cluster & Cluster Shared Volumes

    ·         System Center Essentials and how it integrates into the System Center Virtual Machine Manager

    ·         Hyper-V and Virtual Desktop Infrastructure

     

    The primary person in front for this event is Tim Carney. Tim a MCP and Small Business Specialist is President of EBT Solutions / SFBay-Link Network Services, Inc. Since 2002, Tim has been providing technology consulting services to emerging San Francisco Bay Area businesses and assisting other IT Professionals in designing Secure Infrastructure. During the 15 years prior to establishing his consulting business, he was the CFO and CTO for a 45 person Copier Sales and Services Business in Silicon Valley. Tim was the technical force in changing its sales focus from Telex to Facsimile, Fax to Copiers, Analog to Digital, and Stand-Alone to Connected. Tim’s areas of expertise include Small Business Server, Secure Infrastructure, Virtualization and Mobility Enablement. Tim is an Eagle Scout and has a B.S. degree in Business Management. As a leader in the local community, Tim has co-founded BASBiTS.org a San Francisco Bay Area users’ group for Small Business Information Technology Specialists. Follow Tim on his blog at SBS-Mobility.blogspot.com and on Twitter as TechmoTim.

     

    When:                  Saturday, February 6th  

                                    Registration starts at 9:00 am

                                    Main Event is from 9:30 am to 3:30 pm

                                    Wrap-Up Event by 4:00 pm

     

    Where:                 Microsoft Corporate Headquarters

                                    3350 157th Ave N.E., Building 9, Room 1001 – Tahoma

    Redmond, WA 98052

     

    You Give:       $20 per person

     

    You Get:          Relevant & Useful Information

                 Food & Drinks provided

     

    RSVP:                    Register for the event by clicking:

                            http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032439175&Culture=en-US

     

    See you all there!

    Steve

    Comments Comments Off

    One of the significant differences in the minimum specs for installing SBS 2008 versus SBS 2003 was the minimum size of the C: partition needed for installation and operation. SBS 2008 requires a minimum of 60GB in the install partition or it won’t go. Those of us who were used to fighting the 12GB C: partition implemented by OEM vendors in SBS 2003 initially looked at that and thought “yeah, that’s a good change.” Well, as it turns out, kinda like the 4GB RAM minimum spec, the 60GB C: partition may not be big enough after all.

    If you ask around those who have been doing SBS 2008 deployments, one of the best practices adopted by most is to use the Move Data Wizards in the Server Storage tab of the SBS 2008 Console and get the key data components off the C: partition and onto another partition (Exchange, SharePoint, User’s folders, User’s redirected documents, and WSUS content). And if you take the step that some do of installing third-party software to a partition other than C:, we should be ending up with a fairly pristine C: partition with minimal dynamic data on it. In theory.

    I’ve been deploying my SBS 2008 installs with a 100GB C: partition simply because I figured that over time, something would find a way to suck up all the space on C: and we’d eventually get to a point where we’d have to deal with resizing paritions or doing manual data cleanup. I didn’t expect that I’d hit that scenario just over a year after my first SBS 2008 production deployment.

    In the last couple of weeks, my monitoring tools have started chirping about low disk space on C: on a couple of installs. Sure enough, one installation had 17GB remaining of a 100GB partition, another had 3.5GB remaining on an 80GB partition (my own production box, and yeah, it really needs an overhaul, but that’s another story). I started digging around and found the most common disk hog that’s been complained about across the net, the winsxs folder. Based on everything I’ve been able to read about winsxs, including a post from the Windows Server Core Team, that’s something that we’ll just have to live with, and really isn’t the point of this post anyway. Still, on my boxes, the winsxs folder still only amounted to about 12GB (bigger than what I’d like, but certainly not the primary culprit) which is only about 10% of my standard install C: space. Something else had been sucking away space and keeping it from me.

    We use TreeSize from JAM Software as a standard utility on our server deployments to help monitor disk space usage, as this is something that comes up from time to time. [NOTE: this is not a specific endorsement of TreeSize, just a note that it's one of the many tools that we use in our operation.] So in the case of these low-free-space servers, I fired up TreeSize and went looking for the disk hog. Surprisingly, I couldn’t find it. I did clear up some areas that showed a larger-than-expected usage, but couldn’t find the smoking gun. A few weeks have gone by, and while I’ve been monitoring the state of these servers to ensure that free space didn’t get critically low, other tasks moved up on the priority list.

    Then a discussion on one of my private lists cropped up regarding this exact topic, and I learned two valuable tidbits from that discussion.

    The first is that in order for TreeSize to see the contents of ALL folders on the C: partition, it must be Run As Administrator. Upon reflection, this makes sense, but I know it’s catching a lot of experienced system admins off-guard. Some are advocating disabling UAC on the server to avoid this kind of issue, and I’m honestly not fully decided where I stand on that, so I won’t comment either way on that. But it does serve as a reminder that many system tools we may have been using for years on 2003 servers might not behave the same way under 2008 if you don’t use the almighty Run As Admin option.

    The second is that the WSUS site in IIS has been logging an OBSCENE amount of data into the IIS logs folder. One of my servers had nearly 30GB (yes, that’s 30 gigabytes) of data in the WSUS log folder (C:\inetpub\logs\LogFiles\W3SVC1372222313). Another had just over 20GB. And in looking in the folder, I saw numerous DAILY log files that were well over 100MB each, with some well over 200MB each.

    Once I cleared out the old log files (honestly, how far back am I going to need to look at WSUS logs anyway?) the free space on C: increased to a reasonable level, and my monitoring stopped yelling at me quite so often.

    There are multiple lessons learned from this experience for me. The first is the whole reminder about Run As Administrator in the Server 2008 era. I’ve even taken to labeling some shortcuts with “Run As Administrator” in the icon name just to serve as a reminder. The second lesson is that 60GB is certainly NOT going to be sufficient as a minimum partition size on a production SBS 2008 server, even if all other data is moved off to different volumes (and I haven’t even covered the option of moving the WSUS SQL database files off of C: to another partition, which can’t be done through wizards but must be done by hand). With winsxs and the WSUS logs as two items that will definitely be grabbing disk space unexpectedly (well, it’s expected now anyway), we can be sure that over time there will be others. And as stated on the Core Team blog, you can only expect that winsxs will continue to grow over time. If it’s 12GB now, how large will it be in a couple of years? The third lesson is that some logging that happens automatically on the server probably should not just be left unchecked. If you enable SMTP logging (which I do and recommend for troubleshooting purposes), you should clean out old SMTP logs on a regular basis. Well, now you can add WSUS/IIS logs to that approach as well. There are numerous posts out there for ways to script this process, and I’m evaluating the approach we’re going to take within our operation to make this happen for our customer base.

    If you’ve been struggling with low disk space issues on SBS 2008 C: partitions, hopefully this information will help you get a better handle on the immediate actions as well as the long term strategy that you’ll develop for your particular environment.

    Categories : Eriq Neale, SBS 2008
    Comments Comments Off

    SBS 2008 Unleashed

    Image of Windows Small Business Server 2008 Unleashed

    SBS 2003 Unleashed

    Image of Microsoft Small Business Server 2003 Unleashed

    Partners