
Even though I'm working as a Network Admin, the coder in me just won't stay down. I've developed a few tools, scripts and techniques to help out in our office. I include them here in the hope that others can benefit. All these scripts and apps come with NO guarantees. They worked for us, but please try them in a test environment before letting them loose on your systems.
Freeing file locks
Don't you just hate it when files are locked on servers by a crashed process or a dull user? One way to release then is to reboot the machine, not always possible. Here's a better way.
ACL Tree Tweaker
A small tool to adjust ACLs down a directory tree, leaving other permissions intact. Can add, adjust or remove a group. Also useful when a group name needs to be changed.
The script performs the following actions:
Incremental batch generator
This little Excel spreadsheet generates a list of incrementing values. We used it to generate a batch file to call the Sophos removal script for each machine on our domain.
Example output:
|
CALL RmSophos.bat \\NTWKSTN1000 CALL RmSophos.bat \\NTWKSTN1001 CALL RmSophos.bat \\NTWKSTN1002 CALL RmSophos.bat \\NTWKSTN1003 CALL RmSophos.bat \\NTWKSTN1004 CALL RmSophos.bat \\NTWKSTN1005 CALL RmSophos.bat \\NTWKSTN1006   |
Problems, ideas, better routines ?
Mail me or drop into the forums