Hi everyone, I have a question I hope you could help me with. I am looking for a utility that can clean (remove temp files) out a whole network worth of PC's and be managed from a server. Do you have any ideas. Thanks
You could setup group policy to do it on system start up as a startup script and just have a script which goes through each profile on the machine and remove the temp files and then wake all the PC's on lan out of hours and then shut them all down...
You could use SMS to do this in a more controlled fashion with some free software...
You could set up a scheduled task on all the machines for this to run over dinnertime say (Not too sure if this would be a manual thing of it could be set by GPO)
I hope this helps or if you could give us some idea of how you want to achieve this we may be able to assist further :)
Looks like you have been thinking along the same lines I have but to answer you quesitons...
I am hoping the program can be run during the evening. I looked into startup and log in but there are several problems with both.
As for how, it will need to be a scheduled and unattended run and I have looked into many of these options.
Wake on lan - I wont need to use this as we keep our PC up at all times.
SMS- I have not looked into this but if you have any ideas that would be great.
GPO- I cant use the start up script becasue you generally have to have a live invirorment for a delete script to properly run. I wrote one and tested it and it tends to error out. I cant really use a log in script because I am trying to clean several user profiles at once, all of our users are restricted users so they cant access temp files for another user and I cant write an admin password into the script because there is no way to secure it and keep them from seeing it. So for the most part gpo is not going to work for me.
The only thing I have run accros that I can do is a sceduled task to run a script. With the scheduled task you can put in a username and password so it works good but i really want to stay away from the scripts. Below I have posted one I wrote and it does the job great but i really want to stay away from it if at all possible. VBS by the way.
----- What I would really like is a camercial program that can be managed from a windows server. Think kind of on the lines of an antivirus like AVG. There is softare installed on each PC that runs and removes viruses and communicates with a server. Then there is the server that tells each host PC when and what to do. -----
Thanks again for your help,
James
< Message edited by jcarver_14 -- 10/9/2008 12:41:19 AM >
As far as I am aware you could run your script as a startup script as this would run as the SYSTEM account which would eliminate the whole issue of the account access. As the SYSTEM account would be able to access all the profiles and remove the temp files.
Another thing you could do is possibly put it in the runonce key in HKCU possibly via GPO or have it run everytime the users log on so its kept clean maybe.
Does your company currently have SMS on site? If so this could be a better solution but it sounds like either GPO or SMS are your best options and maybe a script.
We do have SMS, we generally use it to push out updates or new apps.
I cant run the script at start up because it starts before windows has finished loading so it errors out when it tries to execute objShell.run. Also I have tested the script in a scheduled task and it works ok for me although my supierior has stated that he does not feel safe using a script that something could go wrong and he has asked me to look for a camercial product.