6 replies
by flowfighter Accepted solution
by Former member Accepted solution
by flowfighter Accepted solution
by flowfighter Accepted solution
by Former member Accepted solution
1). Regcure:
http://www.regcure.com/
This will do all the things dealing with temp files, and you can tell the software at what time and when to start.
2). Diskeeper:
http://www.diskeeper.com/defrag.asp
This will deal with your defrag of drives, also if your are having a server then you can get the server addition also. Also you can tell it to come on when and at what time.
3). Ccleaner:
http://www.ccleaner.com/
This is a free version. But i do not know if it can be configured to run on a/in timer frame. But you can download it and give it a try.
Please post back if you have any more problems or questions.
by rob miners Accepted solution
Here are a couple of ways to keep your PC tidy and help to speed it up. Just create them and add them to the desktop as a Shortcut. Run deltmp and then run def. You can even use TaskSchedular to run them.
This Batch file will empty your PC of Temp Files. Make sure that you copy all the information as if you get it wrong you will end up with a PC with a lot of empty folders.
Copy and paste between the ******* to notepad and save the file to the Root directory C:\> as deltmp.cmd
****************
:USERPROFILE
c:
cd \
cd %USERPROFILE%\"Local Settings"\"Temporary Internet Files"
del *.* /s /q
rmdir . /s /q
goto PREFETCH
:PREFETCH
cd \
cd %WINDIR%\PREFETCH
del *.* /s /q
goto INIT
:INIT
@echo off
setlocal
set cStatflag=0
C:
:USERTEMP
cd \
cd %TEMP%
:REMOVE
del *.* /s /q
rmdir . /s /q
:CHECK
if %cStatflag%==1 goto FINISH
:WINTEMP
cd \
cd %WINDIR%\TEMP
set cStatflag=1
goto REMOVE
:FINISH
endlocal
***************
This is a Command line version of the Defrag Utility follow the above steps and save it as def.cmd, you will have to create a text file and save it to the root directory as well it will be named DrvLtr.txt and it will list the Drives that you want to Defragment. EG: C: and press Enter D: and press Enter it is one line for each Drive.
**************************
REM chkdsk and defrag automation
for /F "eol= tokens=1 delims=( " %%i in (DrvLtr.txt) do set DrvLtr=%%i& call :dsKchk
:dsKchk
If %DrvLtr% == end goto :eof
chkdsk %DrvLtr%
If not errorlevel 3 goto :defrag
If not exist %DrvLtr%\winnt If not exist %DrvLtr%\windows If not exist %DrvLtr%\pagefile.sys goto :dskchkon
:dskchkoff
cd\
%DrvLtr%
echo Y chkdsk /F /R
goto :defrag
:dskchkon
chkdsk %DrvLtr% /F /R
:defrag
cd\
%DrvLtr%
defrag %DrvLtr% -b
defrag %DrvLtr%
:EOF
**************************
It will probably run through twice the first time that you use it.
PsExec v1.94
By Mark Russinovich
Published: January 4, 2008
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
The batch files can be copied to the workstations with PsExec and could be scheduled from the File Server to run at the specified time.
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending