Sunday, March 14, 2010   
  Search   
 
Register  Login  
Forums  
     Minimize  

Welcome to MeraWindows forums.

Thank you for being at the Microsoft Windows Community Site. You may have to register before posting in forums. It's absolutely free. After registering, you can get all the benefits available to our registered members, you can access our Downloads section, you can participate in contests, etc. You can post in forums in English as well as in Hindi, in fact we encourage you to use Hindi in your posts. If you have any problem with registration or login, please contact us.

Welcome to MeraWindows forums.

Thank you for being at the Microsoft Windows Community Site. You may have to register before posting in forums. It's absolutely free. After registering, you can get all the benefits available to our registered members, you can access our Downloads section, you can participate in contests, etc. You can post in forums in English as well as in Hindi, in fact we encourage you to use Hindi in your posts. If you have any problem with registration or login, please contact us.

     
  
     Minimize  




     
  
 
Microsoft Windows ForumsMicrosoft Windows ForumsWindows VistaWindows VistaCustomizationCustomizationIncrease Vista/Xp Boot Up Speed on Dual/Quad Core CPUIncrease Vista/Xp Boot Up Speed on Dual/Quad Core CPU's
Previous Previous
 
Next Next
New Post
 7/27/2008 9:48 PM
 
 Modified By dmudgal  on 7/28/2008 1:43:56 PM

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.

 

Here's the script:

 

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.

 

Compare it with the previous one n see if there is some improvement.


New Post
 7/27/2008 10:15 PM
 

Hey dishant

I hav an AMD machine

I hav tried to run that VBscript in my machine than i got this error

                       Windows Script Host

                      Abc     C:\Users\Rahul manekari\Desktop\r.vbs
                      LinAb      2
                      Char:      9
                      Error      Syntax error
                      Code:      800A03EA
                      Source:    Microsoft VBScript compilation error


WinSpark.net | Spark your Windows
New Post
 7/28/2008 11:06 AM
 

Rahul Manekari wrote

                       Windows Script Host

                      Abc     C:\Users\Rahul manekari\Desktop\r.vbs
                      LinAb      2
                      Char:      9
                      Error      Syntax error
                      Code:      800A03EA
                      Source:    Microsoft VBScript compilation error

there is nothing wrong ...just check the second line of ur script with mine........

 

New Post
 7/28/2008 11:37 AM
 

ya it works fine.....

even for single core pcs........


WinSpark.net | Spark your Windows
New Post
 7/28/2008 2:06 PM
 

Nice work.

New Post
 7/28/2008 3:01 PM
 

thanks....just learning good things by great people like u

New Post
 7/28/2008 6:23 PM
 

Nice tutorial....thnx monu


Hari Maurya's TechSurface

Its My World, Its Mera Windows and I proud to be a MWians
Click here to Shop Microsoft Products Online
Mera Live Status, Click to Talk
New Post
 7/28/2008 6:28 PM
 

ur welcome buddy!

New Post
 7/28/2008 9:40 PM
 

Nice work mate... will try it now .. thanx for script and the nice kool tip..

 

CHEERS!


Gizmos4fun
New Post
 7/30/2008 10:31 AM
 

hello dmudgal sir.i have a phenom X3 triple core processor....So should i select 3 in the drop-down menu or let it remain as it is.?

 

Previous Previous
 
Next Next
Microsoft Windows ForumsMicrosoft Windows ForumsWindows VistaWindows VistaCustomizationCustomizationIncrease Vista/Xp Boot Up Speed on Dual/Quad Core CPUIncrease Vista/Xp Boot Up Speed on Dual/Quad Core CPU's