Solved

commands to auto clean windows XP machines

Posted on 2011-09-13
13
317 Views
Last Modified: 2012-05-12
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
Comment
Question by:AntonInf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 3
  • +3
13 Comments
 
LVL 14

Expert Comment

by:BigBadWolf_000
ID: 36533265
I don't think so...however you could run a script to perform those actions
0
 
LVL 3

Expert Comment

by:inetman
ID: 36533365
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
 
LVL 4

Expert Comment

by:lordrt
ID: 36534148
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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 92

Expert Comment

by:nobus
ID: 36534470
you can make shortcuts on the desktop to start the task you want, and name it accordingly
0
 
LVL 92

Accepted Solution

by:
nobus earned 250 total points
ID: 36534492
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
 
LVL 2

Author Comment

by:AntonInf
ID: 36539498
I starting to write scripts..

so it is possible to stop system restore option and clear all temp files etc...
0
 
LVL 14

Expert Comment

by:BigBadWolf_000
ID: 36539916
Yes :) you can use WMI in a vbs script
0
 
LVL 2

Author Comment

by:AntonInf
ID: 36540297
OH can you give an example of WMI in a script.. i hope its ok to ask
0
 
LVL 4

Assisted Solution

by:lordrt
lordrt earned 250 total points
ID: 36540918
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
 
LVL 14

Expert Comment

by:BigBadWolf_000
ID: 36543100
Sorry, I am travelling and will not be able to post till Monday :(
0
 
LVL 92

Expert Comment

by:nobus
ID: 36543344
waas my post not what you wanted?
0
 
LVL 1

Expert Comment

by:expert20
ID: 36544089
0
 
LVL 2

Author Closing Comment

by:AntonInf
ID: 36854032
I actually bought the DVD to learn more script nice DVD thank you
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question