Solved

commands to auto clean windows XP machines

Posted on 2011-09-13
13
294 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
 
LVL 91

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 91

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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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 91

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Win XP system can ping LAN but not WAN 11 165
Blue screen when trying to install xp on hd 22 130
Toshiba Satellite 5 148
Rebuilding Hive in Windows XP Pro. 17 92
Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now