Solved

wsus low disc space

Posted on 2013-06-21
19
574 Views
Last Modified: 2016-02-21
hi i am running a windows 2003 domain gpo via isa 2006 firewall.

i have selected updates which have been approved and are continuing to be installed on all my machines.

i have also selected/approved updates for xp desktops, but currently my xp desktop has not been detected via my wsus or received any updates yet...!

when i installed wsus i configured updates to be sent to my spare: d:\wsus 20gb harddrive

i have run server cleanup wizard and there is nothing to delete currently

question1.  i am now receiving a message stating:

"low disk space" but when i select icon it runs 'disc cleanup' but 0% to delete...! so how do i go about resolving this situation ?
0
Comment
Question by:mikey250
  • 11
  • 5
  • 2
  • +1
19 Comments
 
LVL 78

Accepted Solution

by:
David Johnson, CD, MVP earned 358 total points
ID: 39267670
20G is not enough room.. you need at least double that. Or don't download the updates and have them get the approved updates from microsoft.
0
 

Author Comment

by:mikey250
ID: 39267814
morning ve3ofa,

im planning on changing the harddrive for a larger one but for the time being once ive solved that issue and my xp detection issue, then i know what i am doing.. )

Can I delete stuff manually from the d:\wsus if i wanted ?

as i have downloaded in advance xp updates & approved, i have not got my xp to detect via my wsus yet, so was thinking how could i temporarily remove those xp downloads already downloaded and re-download later as my xp desktop has an issue of not communicating currently.
0
 
LVL 78

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 358 total points
ID: 39267829
FYI my WSUS storage right now is 128GB, if you select to pull drivers it gets HUGE very quickly.  You can stop syncing until your disk space problem is fixed.

You can delete whatever you want, it just means that you have to import the older files into a new installation of WSUS for the database and the files to be in sync. WSUS does consist of two components the database and the updates.
0
 

Author Comment

by:mikey250
ID: 39267847
hi yes ive been told about the database which ive saved in my favourites to look at, at a later date once everything running ok..! :)

what about my other comment:

as i have downloaded in advance xp updates & approved, i have not got my xp to detect via my wsus yet, so is this a separate issue or do i just figure out why my xp is not sync'g and once resolved presumably it will still download updates that i have already pre-downloaded onto my wsus ?
0
 
LVL 78

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 358 total points
ID: 39267865
Try running these on your xp machines and see if they  contact your WSUS server

wsus.reg     -- change the servername WUStatusServer to point to your server
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"WUServer"="http://SERVER2008R2:8530"
"WUStatusServer"="http://SERVER2008R2:8530"
"TargetGroupEnabled"=dword:00000001
"TargetGroup"="IT Department"
"ElevateNonAdmins"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000000
"AUOptions"=dword:00000004
"ScheduledInstallDay"=dword:00000000
"ScheduledInstallTime"=dword:0000000a
"NoAutoRebootWithLoggedOnUsers"=dword:00000001
"AutoInstallMinorUpdates"=dword:00000001
"RebootRelaunchTimeoutEnabled"=dword:00000001
"RebootRelaunchTimeout"=dword:0000003c
"RescheduleWaitTimeEnabled"=dword:00000001
"RescheduleWaitTime"=dword:0000000f
"DetectionFrequencyEnabled"=dword:00000001
"RebootWarningTimeoutEnabled"=dword:00000001
"RebootWarningTimeout"=dword:0000001e
"UseWUServer"=dword:00000001
"NoAUShutdownOption"=dword:00000000
"NoAUAsDefaultShutdownOption"=dword:00000000

Open in new window

wsus.bat
@============ START Script Code===========
@echo off
::
Echo Save the batch file as "WSUS.bat". This batch file will do the following:
Echo 1.    Stops the Automatic Update Service (wuauserv) service.
Echo 2.    Imports WUA settings for workstations in workgroup to detect/download/install updates from WSUS.
Echo 3.    Starts the Automatic Update Service (wuauserv) service.
Echo 4.    Force update detection.
Echo 5.    More information on http://msmvps.com/Athif
REM INSTRUCTIONS:
REM Place both the files (WSUS.reg and WSUS.bat) in same location (single folder)
REM Double-click WSUS.bat to import WSUS.reg which contains Windows Update Agent (WUA) settings. 
REM for WUA in a workgroup environment. In this sample, WSUS.reg and WSUS.bat 
REM are placed in 'c:\'.

REM Author:- Mohammed Athif Khaleel :- Date April 30, 2006
Pause
Net Stop "wuauserv"
Echo Importing WSUS.reg
%windir%\Regedit.exe /s C:\WSUS.reg
Echo WSUS.reg imported succesfully
Net Start "wuauserv" 
Echo Forcing update detection
wuauclt /detectnow
Pause

Open in new window

0
 
LVL 22

Assisted Solution

by:Haresh Nikumbh
Haresh Nikumbh earned 71 total points
ID: 39267869
have you tried with WSUSUTIL.EXE RESET??

please check below link if it helps

http://blogs.technet.com/b/gborger/archive/2009/02/27/what-to-do-when-your-wsuscontent-folder-grows-too-large.aspx
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39267872
Also check below link.. question is still open but have given lot of options

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/SBS_Small_Business_Server/Q_28158988.html
0
 

Author Comment

by:mikey250
ID: 39267876
yes i did delete manually the windows update & AU but it did not appear to work at the time.

before i follow your script i will do below again and see!!! however i do have a folder redirection issue, but i assumed this would not cause wsus to not detect xp so i can then receive maybe any folder redirection updates to rectify as never normally have a folder redirection problem!!

however i have logged on as administrator and can see:

hklm\software\microsoft\windows\currentversion\windowsupdate

accountdomainsid reg_binary etc etc - this is not in any of my win 2003 or win 7 machines.  i was going to delete but i have left currently.

also the 2 entries should be in there but can only see 1:

SusClientID - yes in place
SusClientIdValidation - not there

so i have just done:

net stop wuauserv - successful
then deleted: susclientid & waiting 1 min
net start wuauserv - successful
refreshed regedit but both above entries have not appeared
0
 
LVL 78

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 358 total points
ID: 39268550
folder redirection is not even close to the issue.

another way is through group policy
http://technet.microsoft.com/en-us/library/cc720539%28v=ws.10%29.aspx

You may want to run the client diagnostic tool http://technet.microsoft.com/en-us/windowsserver/bb466192.aspx
0
Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

 

Author Comment

by:mikey250
ID: 39269187
hi ve3ofa,

i appreciate your comments but it appears my wsus downloading has come to a complete hault and reading eventviewer..!!!!!!!  rrgghh. this maybe some cause of my machines not being totally upto date causing other knock on affects..!!

as it stands as i have no more funds:

my win 2003 wsus is:

c:\ 20 gb
d:\ 20 gb
e:\ spare 15 gb
free space not used: 20 gb

as i cannot afford software to solve this problem with re-arranging my harddrive space as (os) is already installed and no merge is available...!

also i have never exported my d:\wsus or re-sync'd it and dont want to make any mistakes

i have not even completed the following downloads:

critical updates
security updates

note: as i was just looking and dont yet really understand what most of these are below in-comparision to (critical/security updates), i also downloaded to have a look which in turn has filled up my hdd and dont currently need.  when i attempted to delete manually the (drivers updates) it crashed my wsus and on close/open restarted and repeat procedure, it appears it does not by this method allow me to just manually delete:

updates
tools
feature packs
update rollups
drivers



question1. can you help me out on any ideas ?....:))))) maybe
0
 

Author Comment

by:mikey250
ID: 39269427
i have completely run out of ideas.!
0
 
LVL 9

Assisted Solution

by:VirastaR
VirastaR earned 71 total points
ID: 39271000
Hi,

Just thowing some options on air..

This will help you to move your current update data and logs to another drive.

http://technet.microsoft.com/en-us/library/cc708480(v=ws.10).aspx

wsusutil.exe movecontent D:\WSUS1\ D:\move.log

where D:\WSUS1 is the new path for local WSUS update storage, and D:\move.log is the path to the log file.

Hope that helps :)
0
 

Author Comment

by:mikey250
ID: 39271152
hi veristar,

i will have to get back to you on that one as i dont have spare (hdd)..!!!

questions1.  while i cannot download anymore updates, will this affect those downloads that i have approved previously ?
0
 

Author Comment

by:mikey250
ID: 39277165
morning veristar,

im now ready to do the following but dont want to make any mistakes but not sure about this path that is shown and this '-skipcopy'...!

wsusutil.exe movecontent D:\WSUS1\ D:\move.log

i understand wsutil.ex movecontent is saying move to d:\wsus1, but this d:\move.log im not sure what this is about unless it just means the data will move to d:\wsus1 and a (move.log) will also move to d:\move.log ...!

it states that if i use (-skipcopy') then it enables me to change location of local wsus without copying any files - so ok i will leave this part out..

note: i checked and i actually have a spare unallocated 35 gb space.  so i wish to copy the wsus downloaded files to a temporary secondary drive that im still using.  then add the extra 35gb back to the original 20gb so i will have 55gb.  and then copy back from the temporary secondary drive back to the original d: drive..  thats the plan.

note: ive manually created: h:\wsus in advance
-----------------------------------------------------------------

wsusutil.exe movecontent h:\WSUS\ h:\move.log - it now states 'content location is being moved .  please do not stop this program.

ive now been looking at the below url and seeing (xcopy) so what is difference between this and (movecontent) ?

http://technet.microsoft.com/en-us/library/cc720466(v=ws.10).aspx
0
 
LVL 78

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 358 total points
ID: 39277259
xcopy just copies the files wsutil movecontent copies the files and updates the database.
0
 

Author Comment

by:mikey250
ID: 39277293
hi ve3ofa, thanks for that reply.

my database is still copying..  at least then hopefully i can get back to my gpo issue and wsus update issue as the drive is full, but once ive copied these downloaded files over i can increase the size of my d:\ and then copy back and then return my borrowed secondary harddrive, back to its original server... long way round i know but i didnt have the funds to buy correct partition software to increase size.
0
 

Author Comment

by:mikey250
ID: 39277782
hi veristar,

note: i backed up - 'system state & wsus' only on a temporary external harddrive

ive now successfully copied my wsus from d:\ to h:\.

question 1.  before i proceed i have some concerns described below: ?

old wsus drive:

d:\ drive - it shows as (normal) the below:

wsus
- updateservicesdbfiles - located inside are 2 files as shown:

susdb.mdf - cannot manually delete
susdb_logldf - cannot manually delete

- updateservicespackages - this folder seen but no files inside - ?

- wsuscontent - shows numerous folders/files that have downloaded

-------------------------------------------------------------

new h:\ drive

when i compare h: drive to d: drive it not identical ?

wsus
- updateservicespackages - no files inside compared to above
- updateservicespackage - this folder is not there at all as above - ?
- wsuscontent - appears to show all files copied as expected

-------------------------------------------------------------

possible last tasks!

question 2.

if the above is ok i have 2 ideas below of what to do but not sure and if i uninstall i know there can be problems as when i tick those 3 boxes by default to remove wsus totally, this does not happen, so i do not want to go ahead unless im totally correct. ?

possible task 1

reformat d:\ and increase harddrive size
copy h:\ drive back to d:\

possible task 2

uninstall wsus 3.0, but dont tick to remove the uninstall wsus files that are prompted
reformat d:\ and increase harddrive size
copy h:\ drive back to d:\
re-install wsus 3.0
0
 

Author Comment

by:mikey250
ID: 39305802
hi, after completing the backup and continuing with above tasks,  i then restored wsus backup and it has returned all files as normal and below also:

susdb.mdf
susdb_logldf

prior to above task i did uninstall wsus leaving database and logs etc, after a backup also.  but after then completing above tasks even though the restore backup was successful, i could not open wsus again.  at least i now realise my steps appear to be good.

however due to uninstalling wsus when i should not have, i have since completed a clean win 2003 & wsus install and all is now well with hdd larger in size now even after all downloads completed also!!

all is good now!!
0
 

Author Closing Comment

by:mikey250
ID: 39305813
sound advice.  appreciated!!
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Suggested Solutions

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
OfficeMate Freezes on login or does not load after login credentials are input.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now