ishan_rulz Posted May 27, 2010 Share Posted May 27, 2010 (edited) I ran the .vbs file which can be found in the following link when you "Download" the .Zip file Its pretty cool. It tells you exactly how long it takes your computer to Reboot Just for your reference here is the code in Restart-Time.vbs Option ExplicitOn Error Resume Next Dim Wsh, Time1, Time2, Result, PathFile, MsgResult, MsgA, AppName, KeyA, KeyB, TimeDiff MsgA = "Please close all running applications and click on OK." KeyA = "HKEY_CURRENT_USER\Software\RestartTime\" KeyB = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\RestartTime" AppName = "Restart-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 computer restarts in " & TimeDiff & " seconds", VbInformation, AppName end if wscript.Quit Here is the source. My restart time is 45 seconds. Not too bad I think. Edited May 27, 2010 by ishan_rulz Simplicity is hard. Link to comment Share on other sites More sharing options...
Aethec Posted May 27, 2010 Share Posted May 27, 2010 56 seconds ( Win7 Ultimate x64 ). The BIOS takes 7 seconds...awfully slow... Piriform French translator Link to comment Share on other sites More sharing options...
JDPower Posted May 27, 2010 Share Posted May 27, 2010 51 secs FWIW (WinXP) Link to comment Share on other sites More sharing options...
Moderators DennisD Posted May 27, 2010 Moderators Share Posted May 27, 2010 58 seconds with Desktop PC and XP. Interesting. Nice post ishan. Link to comment Share on other sites More sharing options...
redhawk Posted May 27, 2010 Share Posted May 27, 2010 58 secs although this is IDE and a rather old P4 with well a used copy of XP Pro SP2 VirtualBox + XP Pro SP2 - 71 secs VMware Player + XP Pro SP2 - 89 secs Richard S. Link to comment Share on other sites More sharing options...
DeleteEnd1 Posted May 30, 2010 Share Posted May 30, 2010 very slow 1:03 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now