Solved

WSUS SBS2011 remove database?

Posted on 2014-01-04
11
5,301 Views
Last Modified: 2016-02-20
Im running a SBS2011 server and setup wsus so that every workstation gets its updates directly from MS and not from WSUS. But the WSUS database is now 14Gb big and nothing to decrease this size helps. I tried to run the cleanup tool from wsus after de-select all possible products to update. Also tried to use the SQL management tool to shrink the database. But it still remain 14Gb.

- I detach the WSUSDB and can remove the DB. But what is the impact?
- Is it possible to create an new (clean) wsus DB?
- I not use WSUS anymore, so it isnt't an issues when it's gone
0
Comment
Question by:sitpro
  • 3
  • 3
  • 3
  • +1
11 Comments
 
LVL 5

Expert Comment

by:x-help
ID: 39756164
try this solution:

1. Download Microsoft SQL Server Management Studio Express from here. Make sure you select the x86 or x64 version depending on your server architecture.

2. Install SQL Management Studio by selecting all defaults.

3. Open SQL Server Management Studio Express.

4. At the “Connect to Server” dialog, in the Server name field enter the  following string:

\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query

Select Windows Authentication and click Connect.

5. At this point SQL Management Studio Express will make a connection to the Windows Internal Database using a named pipes connection (one of the limitations of Windows Internal Database).

6. Find SUSDB database and you can try to use shrink database tools or other operation: move, delete etc...

here is detailed:

http://blogs.technet.com/b/sbs/archive/2009/09/23/how-to-move-wsus-content-and-database-files-to-a-different-partition.aspx
0
 

Author Comment

by:sitpro
ID: 39756169
"6. Find SUSDB database and you can try to use shrink database tools or other operation: move, delete etc..."


as i said: i allready try to shrink the DB.
0
 
LVL 5

Expert Comment

by:x-help
ID: 39756179
So if you do not need WSUS (you said: I not use WSUS anymore), just disable wsus service and phisicaly remove database (You can use SQL management for database removing and check phisical location for db files)

If you will need this in future, you can try to reinstall/recover wsus by instructions:
http://technet.microsoft.com/en-us/library/gg680316.aspx
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 35

Expert Comment

by:Cris Hanna
ID: 39757519
So if you are not using WSUS to keep server and workstations updated, what are u using?
0
 

Author Comment

by:sitpro
ID: 39757783
2 questions:

1. Is i remove Wsus and the DB, what consequence does this have for the working of the machine?

2. What can i do else to reduce the size of the DB?
0
 
LVL 35

Accepted Solution

by:
Cris Hanna earned 500 total points
ID: 39757805
Has no consequence to the operation of the server.  However you will need to modify the SBS group policies that direct workstations to look for the updates from WSUS

Is the issue here that 14GB is taking up precious disk space?   Do you have another drive with more space?

Why do you want workstations to update directly?

My suggestion is that you follow the repair guide for WSUS on SBS 2011  http://technet.microsoft.com/en-us/library/gg680316.aspx
0
 
LVL 5

Expert Comment

by:x-help
ID: 39757809
You do not need to remove WSUS completely, if you do not need this, just disable wsus service in administrative tools- > services and just remove DB file.

also remember to modify Group policy for direct windows update from internet on client workstations if you realy do not need WSUS.

In future if you need this again you can follow  http://technet.microsoft.com/en-us/library/gg680316.aspx for repair.

But if you have just disk space problem, just remove DB and recreate it following URL above.
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 39759783
Two things:

WSUS is meant to help reduce bandwidth in your environment, having each client pointed to Microsoft will increase this drastically.

You can move the Database and WSUScontent to another larger drive and not have to worry about disk space problems.

How to Move WSUS Content and Database Files to a Different Volume

http://blogs.technet.com/b/sbs/archive/2009/09/23/how-to-move-wsus-content-and-database-files-to-a-different-partition.aspx
0
 

Author Comment

by:sitpro
ID: 39764552
Ik know the procedure to move the DB and im aslo familiar with the benefits of reducing bandwith, but i'm still hoping for an awnser how to reduze the size of the DB.
0
 
LVL 35

Expert Comment

by:Cris Hanna
ID: 39764915
You indicated that you already performed the WSUS cleanup wizard and used the SQL management tools and neither resulted in the database shrinking.  there are no other secret methods.  The only option in would seem is to uninstall and delete the database file.  Then follow the instructions in the repair guide that I posted the link for to reinstall
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 39765252
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Written by Glen Knight (demazter) as part of a series of how-to articles. Introduction One of the biggest consumers of disk space with Small Business Server 2008(SBS) is Windows Server Update Services, more affectionately known as WSUS. For t…
Introduction At 19:33 (UST) on Tuesday 21st September the long awaited email arrived with the subject title of “ANNOUNCING THE AVAILABILITY OF WINDOWS SBS 7 PREVIEW”.  It was time to drop whatever I was doing and dedicate as much bandwidth as possi…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 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