Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Test Your Computer's Reboot Time
31-01-2013, 06:23 PM,
Post: #1
How to Test Your Computer's Reboot Time
How to Test Your Computer's Reboot Time

This works for both XP, Vista and Windows 7

Open Notepad and copy everything in the code box below and paste it in Notepad.

Code:
Code:
Option Explicit
On 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 = "[Britec] Reboot 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 reboots in " & TimeDiff & " seconds", VbInformation, AppName
end if
wscript.Quit

2. Save the file as Reboot Time.vbs on anywhere, your desktop for example. You can choose to save the file as any name you want, just make sure the file ends with a .vbs extension.

or

Download Link
Mediafire


How to use:
  • Double click on the script file you saved.
  • Close all the running applications and click the OK button in the dialog box.
  • The computer will reboot and when Windows and a dialog box will open displaying the time your computer took to reboot.

How it works:

In order to calculate the time of rebooting Windows, we will use a VB Script (Visual BASIC Scripting Edition). Let us learn first how it works. The script writes a value in the registry (HKCU\Software\Microsoft\Current Version\run) so that it can be started again when booting. Later, another value containing the time is written in the registry when the reboot starts. While rebooting, the script records the hour in a variable then checks if the first value containing the time exists. If so, it is then enough to compare two times in order to obtain the time of rebooting. Then, the two keys added to the registry are removed (the run key and the key where the time is stored).

If you wan to learn how to get a boot up time like mine, check this tutorial out: Use Multiple CPU's at Startup

Script Source

[Image: reboottime.jpg]

PC aku reboot Rage 2 bapak slow Fuu! OK baru lepas format
Reply
31-01-2013, 08:13 PM,
Post: #2
RE: How to Test Your Computer's Reboot Time
boleh tahan jugak la PC aku ni dengan ram 6gb
[Image: NiqyQr6.png]
[Image: pumpkids]
Reply
31-01-2013, 08:25 PM,
Post: #3
RE: How to Test Your Computer's Reboot Time
(31-01-2013, 08:13 PM)pumpkids Wrote: boleh tahan jugak la PC aku ni dengan ram 6gb
[Image: NiqyQr6.png]

Power gile Sad sedih aku dop, dud
Reply
01-02-2013, 08:15 AM,
Post: #4
RE: How to Test Your Computer's Reboot Time
152 second ~Ok
Rajin Belajar Pasti Berjaya
Tiada Kegagalan Setelah Berusaha
Itulah Cara Membalas Jasa
Pengorbanan Guru Dan Keluarga Tercinta
Big Grin

Spoiler:
[Image: 522167_476797252342999_168490270_n.jpg]
Reply
01-02-2013, 08:43 AM,
Post: #5
RE: How to Test Your Computer's Reboot Time
kalau yang ada windows login mcm mana plak ? ;d
Reply
01-02-2013, 08:29 PM,
Post: #6
RE: How to Test Your Computer's Reboot Time
(31-01-2013, 08:25 PM)shadowmacx Wrote:
(31-01-2013, 08:13 PM)pumpkids Wrote: boleh tahan jugak la PC aku ni dengan ram 6gb
[Image: NiqyQr6.png]

Power gile Sad sedih aku dop, dud

i7 Sad 145 sec
dude aku tak paham asal laptop aku reboot cepat turn off lembab gilaaa
mmg kene upgrade ram yg 4gb nie ke Sad
window 7 32bit .
Reply
02-02-2013, 02:23 AM,
Post: #7
RE: How to Test Your Computer's Reboot Time
82 sec LOL i5 ram 8gb
aku kne Troll Face dengan FieryCold dan UnKn0wN dan juga suhz Sad
~Berhati-hatilah dengan mereka~
Reply
02-02-2013, 04:10 AM,
Post: #8
RE: How to Test Your Computer's Reboot Time
ok setelah game jem td aku berniat nak restart lappy setelah seminggu tidak direstart jadi aku pun mengambil keputusan mencube.
1st
[Image: 1-1.png]

bile dah restart ni yg aku dapat tp rase cam tak best jek so aku tweek sikit win n restart kembali

[Image: 2-3.png]

so ni la yg aku dapat.

spec
cpu:intel core 2 duo t6500 2.1GHz
os:win 7 ulti 32 bit
ram: 4gb ddr2 3gb useable
[Image: 1818271182.png] [Image: 2017280876.png]
Reply
02-02-2013, 04:30 AM,
Post: #9
RE: How to Test Your Computer's Reboot Time
[Image: KFspA8i.png?1]

dan ini saya punye berserta spec
-miss maplesea-

-rape the website not The Kid-


[Image: a97264_w8.jpg]
Reply
02-02-2013, 04:33 AM,
Post: #10
RE: How to Test Your Computer's Reboot Time
[Image: trqRUJQ.png]
[Image: banner.png]
Reply
02-02-2013, 07:21 AM, (This post was last modified: 02-02-2013, 07:25 AM by matz.)
Post: #11
RE: How to Test Your Computer's Reboot Time
(01-02-2013, 08:15 AM)matz Wrote: 152 second ~Ok

yang atas tu coding problem ke ape ntah.....

[Image: GqD7e20.jpg]

Win7 32bit.
Proc : AMD Phenom 965 B.E (no tweak/overclock)
Ram: 4gb

AMD champion.....
mana anthrax ni? Challenge Accepted

*hampir setahun tak format..u mad anthrax? Challenge Accepted























GayFace
Rajin Belajar Pasti Berjaya
Tiada Kegagalan Setelah Berusaha
Itulah Cara Membalas Jasa
Pengorbanan Guru Dan Keluarga Tercinta
Big Grin

Spoiler:
[Image: 522167_476797252342999_168490270_n.jpg]
Reply
02-02-2013, 07:45 AM, (This post was last modified: 02-02-2013, 07:47 AM by paley.)
Post: #12
RE: How to Test Your Computer's Reboot Time
Close Enough Fuck Yeah

no tweak or overclock Me Gusta

[Image: DnTMrv5.png]
Bollywood Challenge Accepted

[Image: 4AZhtKS.gif]
Reply
02-02-2013, 09:43 AM,
Post: #13
RE: How to Test Your Computer's Reboot Time
(02-02-2013, 07:21 AM)matz Wrote:
(01-02-2013, 08:15 AM)matz Wrote: 152 second ~Ok

yang atas tu coding problem ke ape ntah.....

[Image: GqD7e20.jpg]

Win7 32bit.
Proc : AMD Phenom 965 B.E (no tweak/overclock)
Ram: 4gb

AMD champion.....
mana anthrax ni?

*hampir setahun tak format..u mad anthrax?

laju tu je ? nie pakai i3 dan 2 gb ram Challenge Accepted

[Image: OV7yp6Q.png]

u mad amd ? ;d intel is better ;d

Spoiler:

Fuck That Shit
jgn la mare OK
nie yng betul OK
[Image: PvhG8Vq.png]

Reply
02-02-2013, 10:53 AM,
Post: #14
RE: How to Test Your Computer's Reboot Time
ni saya punye ^^
[Image: gwKTu7q.jpg]
;d da 2 tahun x format dan desktop da bersepah ^^
Jangan disebabkan ‪#‎Cingey‬ ia menjadi batu yang menghalang untuk kita terus ke depan...
boss
Reply
02-02-2013, 11:40 AM,
Post: #15
RE: How to Test Your Computer's Reboot Time
[Image: hFZUdGY.jpg]

bukan HDD tp SSD .. keh3
so siapa kacak diye memang laju..
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Computer Language History ʌranʌ 0 382 20-06-2011, 12:46 PM
Last Post: ʌranʌ

Forum Jump: