Windows XP can be a program maintenance time-consuming and dull things, and if Windows XP may be a bit smarter, automatically maintain sufficient. Below, I'll introduce a via. Inf file to ensure that Windows XP instantly preserve the skills, the specific content material of auto upkeep may be set, however it wants command. Including file backups with Xcopy, Defrag Disk Defragmenter, Del to delete junk files and even more. As a way to make it apparent rules,
Windows 7 Home Premium, the subsequent instance to Defrag, you possibly can modify according to your needs.
implementation actions
one. Establish Key.bat file
Log on Windows XP, the method was the root directory of the new 1 known as Key . bat file (the file name can very easily examine, the same beneath) and enter the subsequent:
cd
C:
cd Windowssystem32
defrag C: / f
chkntfs C:
two. establish Main.inf file
create a brand new file and enter the file identify Major.inf :
[version]
Signature = ]
RunPreSetupCommands = Tst.PreSetup
RunPostSetupCommands = Tst.PostSetup
[Tst.PreSetup]
C: Main.bat
[Tst.PostSetup]
C: WINDOWSSYSTEM32TSSHUTDN.EXE 0 / DELAY: 0 / POWERDOWN
with this document, Signature ought to be set to
three. To determine Begin.bat file
established below the root directory inside the C batch file Start.bat, the input to this document:
C: WINDOWSSystem32 undll32.exe advpack.dll, LaunchINFSectionEx
C: Key.inf,
Microsoft Office Professional 2007, DefaultInstall,, 32
this command is to make the Windows XP installation process begins a hardware to perform. inf file directive. Rundll32.exe in Windows, is utilized to simply call the DLL file (dynamic hyperlink library) functions provided inside the perform. For example here is known as a rundll32.exe advpack.dll the LaunchINFSectionEx operate,
Office 2010 Download, this function is to commence a. Inf set up process. But Main.inf content material and hardware installation has absolutely nothing to do, but by substitution into the technique to instantly preserve buy.
4. Scheduled Projects
is the position for the scheduled task regularly Begin.bat documents, implementation steps are as follows:
(1) Open the Windows XP Begin Menu in to the >
(2) Set the task execution time period is , and then click on
Within the previously mentioned example,
Purchase Office 2007, I let the scheduled task as soon as every single Sunday 23:thirty File C: Start.bat, auto upkeep.
implementation principle
. Inf file is usually employed for hardware installation, the fact is, is a text file. Once the person right-click on the file choose
developed scheduled job begins, it calls Start.bat. Start.bat Major.inf as a configuration file will likely be utilised to begin a setup procedure, in accordance with all the contents of Principal.inf carry out a series of operations.
Major.inf will start with the first implementation of [Tst.PreSetup] part on the statement,
Windows 7 Enterprise Key, that is finishing function. Principal.bat richer content, instantly sustaining the operate of your extra powerful.
Main.bat the command completed executing, [Trs.PostSetup] the statement is executed in flip, which is:
C: WINDOWSSYSTEM32TSSHUTDN.EXE 0 / DELAY: 0 / POWERDOWN
this statement is off the pc, is in fact
Finally, be aware that this technique can only be applied in Windows XP Professionl, Windows XP Property can not be utilised.