Increase Vista/Xp Boot Up Speed on Dual/Quad Core CPU's

Status
Not open for further replies.

anu0512

Galvanizer
Sorry if i posted in wrong section so mod move thread

If your system has a Dual Core or a Quad Core CPU and you are using Windows Vista/Xp, you can speed up the boot process of Windows. I'm going to tell you a very simple tweak that allows your PC to boot faster then before.

But first you should figure out what’s the current boot up time of your system. For that purpose I've created a simple script in VB.

Code:
Option Explicit
On Error Resume Next
Dim Wsh, Time1, Time2, Result, PathFile, MsgResult, MsgA, AppName, KeyA, KeyB, TimeDiff
MsgA = "Warning! Close all running programs and click on OK."
KeyA = "HKEY_CURRENT_USER\Software\RestartTime\"
KeyB = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\RestartTime"
AppName = "Boot Up Time"
Set Wsh = CreateObject("WScript.Shell")
PathFile = """" & WScript.ScriptFullName & """"
Result = wsh.RegRead(KeyA & "Times")
if Result = "" then
MsgResult = Msgbox (MsgA, vbOKCancel, AppName)
If MsgResult = vbcancel then WScript.Quit
Wsh.RegWrite KeyA & "Times", left(Time,8), "REG_SZ"
Wsh.RegWrite KeyB, PathFile, "REG_SZ"
Wsh.Run "cmd /c Shutdown -r -t 00", false, 0
else
Wsh.RegDelete KeyA & "Times"
Wsh.RegDelete KeyA
Wsh.RegDelete KeyB
TimeDiff = DateDiff("s",Result,left(Time,8))
MsgBox "Your system reboots in " & TimeDiff & " seconds", VbInformation, AppName
end if
wscript.Quit

Copy n Paste this code into a text editor for ex. Notepad and save the file with any name say Vista Reboot in our example but the extension should be .VBS which is the extension of a VB file.
Now to know the time taken by your system to boot up before applying the tweak, click on that Vista Reboot.vbs file
and hit Enter.
A dialog box will appear giving you warning that the file you are about to run is an executable and it may contain viruses or blah! blah! blah! ( forget the warning, it’s safe). Now clicking on Ok will reboot your system and that is what we want to do. So click on OK.

After the reboot you'll see a dialog box which will be displaying the time taken by your system during reboot. Note this time.

It's time to apply the tweak. Click on Run which you will get in Start menu and type “msconfig†in the field. Click OK

This will take you to the System Configuration dialog box. Click on Boot tab given in the upper side of the dialog box and click Advanced Options button. Here click the check box for Number of Processors. This will activate the drop down menu given just below it.
If you have a Dual Core CPU select 2 or if you have a Quad Core CPU select 4. Press OK and Apply changes. Windows will now ask for your confirmation for the changes that you've made in the boot settings. Click Yes and press Restart button in the following dialog box.

After coming back to windows you'll have to restart your system again by clicking on that Vista Reboot.vbs file (like you did b4) becoz it will give us the time taken by the system to boot up.

When you get back to windows you'll see the same dialog box displaying the time in seconds.
Source
 
  • Like
Reactions: 1 person
If you have a Dual Core CPU select 2 or if you have a Quad Core CPU select 4. Press OK and Apply changes.

I'm sorry, I have to call BS on that one.

That option is to limit the number of CPUs you have, there are no indications that it changes the boot up process to be parallel or anything.
 
i couldnt notice any difference.

u can check if vista makes use of multi core while booting by setting cores = 1 in that menu...

this way it should slow down if previously it was usin all other cores...

i'll check that next time i have to reboot.
 
Aargh! If you set it to 1, it will definitely slow down!

OK, let me explain - at its default settings (i.e automatic) Vista will use all of your processors (well, up to 64). If you set the value to some number, Vista will attempt to use that many, but no more. So if you set it to 1, not only will the boot be slow, but the whole system will be - if you look in task manager, for example, you'll see just 1 CPU.

The boot is parallelized to some extent, and if you leave the default settings, Vista will automatically figure out how many processors you have, and do whatever is needed - manually setting the number is not required, nor recommended unless you have a specific need (and the above tip does not qualify).

The rest of the tip may or may not be OK - I have not read it.
 
@^^

madnav said:
i couldnt notice any difference.
u can check if vista makes use of multi core while booting by setting cores = 1 in that menu...
this way it should slow down if previously it was usin all other cores...
i'll check that next time i have to reboot.

you may want to read carefully next time before drawing conclusion.
it was neither a solution nor was a tip.
as it states...it was to clarify if vista uses all cores at boot time by default or not.
its obvious that one would like to set core = max possible than the least available :cool2:
 
^^ So should you

not only will the boot be slow, but the whole system will be - if you look in task manager, for example, you'll see just 1 CPU.

The point I was making is whether or not boot is parallelized, if you set CPUs to 1, then the system will see only 1 CPU, not only through boot, but even after. And since at some point after boot, but before the system becomes fully usable, the system definitely does start using multiple cores, if you set CPU to 1, the time to usable desktop will definitely increase. This will not tell you much about booting parallelization (unless you have some pretty advanced tools, which let you measure different phases like bootvis).

As for "tip", I was talking about the original one (which has all those reg settings etc).
 
KingKrool said:
^^ So should you

The point I was making is whether or not boot is parallelized, if you set CPUs to 1, then the system will see only 1 CPU, not only through boot, but even after. And since at some point after boot, but before the system becomes fully usable, the system definitely does start using multiple cores, if you set CPU to 1, the time to usable desktop will definitely increase. This will not tell you much about booting parallelization (unless you have some pretty advanced tools, which let you measure different phases like bootvis).
As for "tip", I was talking about the original one (which has all those reg settings etc).

my bad then:ashamed:
sawiee
 
Status
Not open for further replies.