Questions tagged [cleanup]
72 questions
4
votes
3 answers
How to find computer accounts that are no longer needed in AD
I am new to this position and find it's AD structure in need of a serious cleaning. There are over twice as many computer accounts as there are employees, not even taking into account servers. I'd like to be able to know which of them are still…

JasonM
- 105
- 1
- 1
- 5
4
votes
2 answers
Detect CNAME chains in BIND zone file
Are there any tools available to automatically detect (and optionally correct) CNAME chains in BIND zone files?
I am trying to clean up a rather large zone file (15,000+ resource records) so I'm looking for tools that can perform static analysis to…

Nic
- 13,425
- 17
- 61
- 104
4
votes
1 answer
JBoss 5: $JBOSS_HOME/server/$INSTANCE/tmp cleanup
I've noticed since moving to jboss 5, tmp files for each instance are handled differently. In jboss 4, the entire directory was purged at each jboss restart. In 5, the applications are exploded to uuid-named folders, and are never cleaned up.
This…
user55427
4
votes
3 answers
Scan HTML for unused assets in folders
I have an aging website I'm managing and I'd like to remove all unused external files (.css, .jpg, .js, etc.) that are currently in various folders all over the site.
Is there a tool out there that can help me identify and/or remove these for me?

Byran Zaugg
- 337
- 1
- 2
- 10
4
votes
3 answers
Quick-n-Easy way to remove outdated ActiveDirectory users?
We have around 70 current employees, but 178 accounts in ActiveDirectory. The prior administrators never removed old accounts, and sometimes they weren't even disabled.
As it is, I am considering manually reviewing each account to determine if it…

Jason Taylor
- 575
- 1
- 4
- 13
3
votes
1 answer
WSUS cleanup - timeout when deleting "unneeded update files"
Performing WSUS cleanup which hasn't been done for quite a while - running the cleanup-wizard with the only selected option being "unneeded update files":
After about three minutes of processing, the wizard crashed due to a timeout-exception:
This…

slagjoeyoco
- 253
- 1
- 4
- 13
3
votes
1 answer
How cleanup openstack orphan stuff and manage trash?
We start use Openstack some months ago, and realize that delete projects does not delete project content! we periodically create projects for users groups and delete when are not needed anymore, but there are orphan vms, keypairs and other stuff…

martinkenneth
- 31
- 2
3
votes
1 answer
How to use postfix header_checks with zarafa outgoing mail
I'm using zarafa with postfix. For privacy reasons I want to filter client internal IP-addresses and stuff like this. To do so I've added the following to master.cf:
submission inet n - - - - smtpd [...] -o…

olvrlrnz
- 98
- 5
3
votes
2 answers
Why should I prune old objects from Active Directory?
What is the point of pruning old objects from Active Directory, especially computer accounts? If a computer is wiped or destroyed, then the stale computer account doesn't pose any security risk because it can't be used any more.
And I can't imagine…

Nic
- 13,425
- 17
- 61
- 104
2
votes
0 answers
WSUS cleanup with SQL Management Studio
So I have an upstream WSUS server which never ran the cleanup wizard. The content folder is around 800GB and there were also a lot of unneeded product categories enabled including drivers.
As a first step I disabled unneeded categories and synced.…

duenni
- 2,959
- 1
- 23
- 38
2
votes
1 answer
How to find duplicate files against a reference directory structure in Linux
There are a couple of duplicate file finders for Linux listed e.g. here. I have already tried fdupes and fslint. However, from what I have seen, these will find all duplicates of the selected directory-structures/search paths and thus also…

packoman
- 175
- 1
- 2
- 8
2
votes
1 answer
Cleaning Hyper-V R2 unused vhd and snapshot files?
We are using Hyper-V R2 as a platform for virtualizing development and testing environment.
After month of use, with creating / deletion of many virtual machine, the vhd store is filled with a lot of vhd and avhd files. Some of them are drives of…

Steve B
- 245
- 4
- 13
2
votes
3 answers
SQL Maintenance Cleanup Task 'Success' But not deleting files
I have a maintenance plan setup for a databases on a server. As part of the backup is a Maintenance Cleanup Task.
SQL Version 2008
The task that 'succeeds' is setup as:
Delete backup files
Correct folder (same address as the backup task)
File…

Seph
- 185
- 2
- 2
- 5
2
votes
2 answers
Powershell script to clean the most recently used programs on the Start Menu in Vista and Windows 7
Am looking for a powershell script that cleans (removes) all the items from the most-recently used programs from the Vista/Windows 7 Start menu.
NOTE: Cleaning the items does not mean disabling the MRU behavior - I still want it keep the MRU…

user2666
- 285
- 2
- 6
- 8
2
votes
1 answer
Is the root user able to administer screen for other users?
We're trying to rewrite a draconian screen session killer for users who leave their screen sessions up for an inordinate amount of time and have in some way or other circumvented our session timeouts.
The current method is to find the pid for screen…

Peter Turner
- 2,178
- 9
- 33
- 45