Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 329
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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