Windows XP can be a routine upkeep time-consuming and uninteresting things, and if Windows XP might be a bit smarter, immediately preserve sufficient. Below, I will introduce a through. Inf file to ensure that Windows XP instantly preserve the skills, the particular content of auto upkeep may be set, however it needs command. Which include file backups with Xcopy, Defrag Disk Defragmenter, Del to delete junk files and more. So that you can allow it to be obvious ideas, the subsequent example to Defrag, you possibly can modify according to your needs.
implementation actions
one. Create Major.bat file
Log on Windows XP, the program was the root directory in the new 1 known as Major . bat file (the file title can simply examine, the exact same below) and enter the following:
cd
C:
cd Windowssystem32
defrag C: / f
chkntfs C:
two. set up Key.inf file
make a brand new file and enter the file name Key.inf :
[version]
Signature = ]
RunPreSetupCommands = Tst.PreSetup
RunPostSetupCommands = Tst.PostSetup
[Tst.PreSetup]
C: Key.bat
[Tst.PostSetup]
C: WINDOWSSYSTEM32TSSHUTDN.EXE 0 / DELAY: 0 / POWERDOWN
with this document,
Office 2007 Download, Signature should be set to
three. To ascertain Begin.bat file
established below the root directory inside the C batch file Begin.bat, the input to this document:
C: WINDOWSSystem32 undll32.exe advpack.dll, LaunchINFSectionEx
C: Key.inf, DefaultInstall,, 32
this command is to make the Windows XP set up process begins a hardware to perform. inf file directive. Rundll32.exe in Windows, is employed to call the DLL file (dynamic website link library) capabilities provided within the perform. As an example here is referred to as a rundll32.exe advpack.dll the LaunchINFSectionEx function,
Microsoft Office 2010 Pro Plus, this function is to begin a. Inf installation procedure. Still Principal.inf content and hardware installation has nothing to perform, but by substitution into the method to instantly maintain order.
four. Scheduled Jobs
is the role in the scheduled task regularly Start.bat paperwork, implementation steps are as follows:
(1) Open the Windows XP Begin Menu into the >
(two) Set the task execution interval is , after which click
Inside the over instance, I allow the scheduled task once each and every Sunday 23:thirty File C: Start.bat, car maintenance.
implementation principle
. Inf file is generally employed for hardware installation,
Genuine Windows 7, actually, is a text file. Once the person right-click on the file choose
produced scheduled job starts,
Microsoft Office 2010 Standard, it calls Begin.bat. Start.bat Key.inf being a configuration file is going to be utilized to begin a setup procedure, in accordance with all the contents of Key.inf perform a sequence of operations.
Primary.inf will commence with the very first implementation of [Tst.PreSetup] section with the statement, that is finishing function. Major.bat richer content, instantly sustaining the operate in the far more powerful.
Key.bat the command completed executing,
Office 2010 Pro, [Trs.PostSetup] the statement is executed in turn, that's:
C: WINDOWSSYSTEM32TSSHUTDN.EXE 0 / DELAY: 0 / POWERDOWN
this statement is off the pc, is truly
Lastly, note that this approach can only be applied in Windows XP Professionl, Windows XP Household cannot be utilized.