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
Solved

commands to auto clean windows XP machines

Posted on 2011-09-13
13
302 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
  • 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Program tries to re-install when opening 6 77
How to install Windows XP Driver 28 157
Error login w2012 domain 6 96
Possible to add Windows XP source CD to MDT 2013 update 2? 1 40
Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

790 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