5 replies
by jhazard112 Accepted solution
by ---tk--- Accepted solution
a couple links to start you off on your quest.
http://www.microsoft.com/technet/scriptcenter/tools/twkmatic.mspx
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en
http://www.microsoft.com/technet/scriptcenter/tools/diy.mspx
http://www.microsoft.com/downloads/details.aspx?FamilyID=2cc30a64-ea15-4661-8da4-55bbc145c30e&displaylang=en
by ---tk--- Accepted solution
are easier... just a set of cmd commands... here is a small one that is fun.... for XP
@echo off
Rem ********* Delete Temporary Internet Files: ****
Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
Rem ********* Delete Cookies: *********************
Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
Rem ********* Delete History: *********************
Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
Rem ********* Delete Form Data: *******************
Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
Rem ********* Delete Passwords: *******************
Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
Rem ********* Remove All IE Cached Data ***********
Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
Echo ********* Removing All Temp Files and Cookies for IE *************
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
Echo.
Echo Removal of All Temp Files and Cookies for IE has Completed!
Echo.
Echo.
Echo.
Echo ********* Removing PC Temporary Files **********
rmdir /S /Q "%userprofile%\Local Settings\Temp" 2>Nul
mkdir "%userprofile%\Local Settings\Temp" 2>Nul
rmdir /S /Q %windir%\Temp 2>Nul
mkdir %windir%\Temp 2>Nul
c:\windows\system32\cleanmgr.exe /dc /sagerun: 1
Echo.
Echo Removal of PC Temporary Files has Completed!
Echo.
Echo.
Echo.
Echo ********* Defragging Hard Drive **************
defrag C: -f -v
GOTO End
:End
Echo.
Echo.
Echo.
Echo y > chkdsk.txt
chkdsk C: /F /R < chkdsk.txt
shutdown -r -t 10
Pause
exit
by shasca Accepted solution
There is every level of training here
by Member 25348569 Accepted solution
If it's Windows then go for PowerShell. It's MS's new scripting language for all of their systems from now on.
Just Google and take it on from there.
Neil :)
The nice thing about PowerShell is that you can do everything from the shell's command line one line of your script at a time or you can write a complete script and run that.
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending