• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 336
  • Last Modified:

commands to auto clean windows XP machines

Hi there,

Are there single commands to do the following..

- turn off system restore.
- clear the temp files
- clear internet temp files.
- turn performance on..
- defrag the system after doing all these..

0
AntonInf
Asked:
AntonInf
  • 3
  • 3
  • 3
  • +3
2 Solutions
 
BigBadWolf_000Commented:
I don't think so...however you could run a script to perform those actions
0
 
inetmanCommented:
http://www.xp-smoker.com/

you can try software like this to make it easier. But there are no commands to do it manually. You have to go into each program to clear those unless you using third-party software
0
 
lordrtCommented:
Unless you know the scripts to be executed, I would suggest TuneUp Utilities, which has all the options you mentioned and can be scheduled to execute them, else a freeware like CCleaner.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
nobusCommented:
you can make shortcuts on the desktop to start the task you want, and name it accordingly
0
 
nobusCommented:
here an example of how to run system restore from command line :  %systemroot%\system32\restore\rstrui.exe
from : http://support.microsoft.com/kb/304449

here a script to delete temp files (and more) :  http://www.petri.co.il/forums/showthread.php?t=20755

internet temp files :  RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
from :  http://www.petri.co.il/forums/showthread.php?t=20755
0
 
AntonInfAuthor Commented:
I starting to write scripts..

so it is possible to stop system restore option and clear all temp files etc...
0
 
BigBadWolf_000Commented:
Yes :) you can use WMI in a vbs script
0
 
AntonInfAuthor Commented:
OH can you give an example of WMI in a script.. i hope its ok to ask
0
 
lordrtCommented:
coming to what BigBadWolf_000 said, here's a link with example scripts and good for learning WMI:
http://www.computerperformance.co.uk/vbscript/wmi_secrets.htm
0
 
BigBadWolf_000Commented:
Sorry, I am travelling and will not be able to post till Monday :(
0
 
nobusCommented:
waas my post not what you wanted?
0
 
expert20Commented:
0
 
AntonInfAuthor Commented:
I actually bought the DVD to learn more script nice DVD thank you
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.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
  • 3
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now