As far as defrag, you can use PSTOOLS PSEXEC to do that. You woudn't need to log off the user.
Export hostnames from Active Directory and break into separate files to allow running concurrently
Here is the batch script to invoke PSEXEC on a list of systems. You would need as ma