Windows 2008 Terminal server out of space

I have a customer with a 2008 R2 terminal server where the C drive has ran out of space.

The partition is 40GB

Using TreeSize I see that the path C:\inetpub\logs\LogFiles has 17.GB of logs

Why is that? How can I clean it up. I don't have access to the folder and I'm a full admin

The domain controller is a SBS 2008
LVL 1
GerhardpetAsked:
Who is Participating?
 
BigPapaGottiCommented:
These files are used for troubleshooting/security scenarios and contain the log entires for IIS. I recommend you clean this directory up by deleting the oldest log files perhaps anything older than 6 months to try and clean up some space. You may want to investigate why a certain error keeps appearing because as you can imagine 17.GB of text log files is quite high.

If you would feel more comfortable try backing some of these log files up to an external drive or to a network drive that has enough available space to clean up the boot drive of the server.

Are you getting some sort of error when you try to delete them? Are you logging in as the Administrator or as your local account?
0
 
GerhardpetAuthor Commented:
I'm logged in as a domain admin. When I try to access the folder I get

Access is denied
0
 
BigPapaGottiCommented:
When you look at the properties of this folder and click on the security tab. How are the permissions granted does your usename/user group have Read/Write/Modify Permissions?
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
GerhardpetAuthor Commented:
Ok now I'm able to access the folder

Why does IIS do any logging since it is not even being used on the server?

It is a terminal server and also being us as WSUS. Does WSUS use IIS?

I will delete some logs.
0
 
BigPapaGottiCommented:
Exactly. WSUS uses IIS and it must be installed in order for WSUS to work properly.
0
 
GerhardpetAuthor Commented:
Thanks for your help.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
You have SBS... WHY are you using WSUS on the RDS server?  Remove it and use the SBS server - it's built in along with reporting and management.  Best practice is to have RDS servers ONLY do RDS - no other services... It's theoretically possible a user could break WSUS and you might not notice for some time since they are logging on to the WSUS server.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.