Solved

WSUS 3 and the clean up tool

Posted on 2010-11-09
5
1,968 Views
Last Modified: 2012-05-10
First of all, is there any need to run the clean up tool (found here http://wsus.codeplex.com) if you have WSUS 3 installed ?

If so how do i run the application? ive ran the following command:

 wsus_cleanup_cl.exe servername t 80

and i recie the error below :

Running with the following parameters:
Server Name: servername
Using SSL: t
Using Port: 80
The type initializer for 'Microsoft.UpdateServices.Internal.Constants' threw an
exception.


Unhandled Exception: System.Security.SecurityException: The source was not found
, but some or all event logs could not be searched.  Inaccessible logs: Security
.
   at System.Diagnostics.EventLog.FindSourceRegistration(String source, String m
achineName, Boolean readOnly)
   at System.Diagnostics.EventLog.SourceExists(String source, String machineName
)
   at WSUS_Cleanup_CL.Class1.Main(String[] args)
The Zone of the assembly that failed was:
MyComputer
0
Comment
Question by:resolver1
  • 2
  • 2
5 Comments
 
LVL 24

Expert Comment

by:Awinish
ID: 34093228
I think below link will help you to do the cleanup. Check that the permission are proper.

http://blogs.technet.com/b/sus/archive/2008/11/05/how-to-manually-remove-all-of-wsus.aspx
0
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 500 total points
ID: 34094984
The author does not appear to be removing WSUS



Try to give the ASP.NET user permission to read from the event log registry entries

http://geekswithblogs.net/timh/archive/2005/10/05/56029.aspx
0
 
LVL 24

Expert Comment

by:Awinish
ID: 34095096
Oh, i understood the question wrongly.My Mistake & thanks dstewartjr.
0
 

Assisted Solution

by:resolver1
resolver1 earned 0 total points
ID: 34100671
Thanks for pointing it out dstewartjr.  Your post got me on the right track.  It was because i didnt open the command prompt in admin doh.  Thanks.  now works a treat!
0
 

Author Closing Comment

by:resolver1
ID: 34134482
thanks again
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
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…

840 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