Vcoderz Community
We create websites that have it all, beauty & brains
Lebanon Web Design & Development - Coddict
 

Go Back   Vcoderz Community > Computer Zone > Computers & Information Technologies

Notices

Computers & Information Technologies « Everything related to computers and internet. »

Reply
 
Share Thread Tools Search this Thread
Old 12-05-2009   #1
Tawa
 
Tawa's Avatar
 
Last Online: 12-20-2021
Join Date: Mar 2006
Posts: 6,245
Thanks: 2,121
Thanked 3,365 Times in 1,740 Posts
Groans: 29
Groaned at 44 Times in 35 Posts
Default Measure your System's restart time.

Hey all,

We already discussed in a thread about how much it takes to restart one's computer when we were comparing Windows7 to Windows Vista.

Here are few easy steps to measure the Restart time for the System:

1- Open notepad, and copy paste the following code in it:
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 = "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
2- Save the text into a file with the ".vbs" extension.

3- Open the saved file, it will ask you to close all the applications


4- When you do close all running applications and save your work. Click Ok, and wait for your system to restart.

As soon as the computer starts up and your user logs in, the time will be shown to you in a small dialog box like the following:

This is the result of my poor laptop

So, how about you measure your system restart time and post it here?


__________________
What we do in life, echoes in eternity.
Tawa is offline   Reply With Quote
The Following 2 Users Say Thank You to Tawa For This Useful Post:
Adam (12-05-2009), Neoxter (12-05-2009)
Old 12-05-2009   #2
Adam
Registered Member
 
Adam's Avatar
 
Last Online: 06-03-2013
Join Date: Feb 2008
Posts: 1,410
Thanks: 1,444
Thanked 1,235 Times in 689 Posts
Groans: 25
Groaned at 21 Times in 19 Posts
Default

Nice, I've always thought about how long it takes.

My laptop: 102s.
Adam is offline   Reply With Quote
Old 12-05-2009   #3
7alewi
Vcoderz Team
 
7alewi's Avatar
 
Last Online: 09-03-2014
Join Date: Jan 2009
Posts: 1,438
Thanks: 776
Thanked 1,299 Times in 786 Posts
Groans: 1
Groaned at 1 Time in 1 Post
Default

Laptop | Windows 7



Last edited by 7alewi; 12-05-2009 at 05:00 PM. Reason: Added Image
7alewi is offline   Reply With Quote
Old 12-05-2009   #4
Kenny5
Registered Member
 
Kenny5's Avatar
 
Last Online: 08-31-2013
Join Date: Dec 2008
Posts: 314
Thanks: 652
Thanked 145 Times in 99 Posts
Groans: 0
Groaned at 1 Time in 1 Post
Default

my laptop 74 sec.
windows 7
Kenny5 is offline   Reply With Quote
Old 12-05-2009   #5
Malek
Registered Member
Tetris Champion
 
Malek's Avatar
 
Last Online: 06-22-2023
Join Date: Sep 2006
Posts: 1,304
Thanks: 102
Thanked 1,147 Times in 619 Posts
Groans: 8
Groaned at 1 Time in 1 Post
Default

Laptop | Windows 7

__________________
Malek is offline   Reply With Quote
Old 12-05-2009   #6
bitarno
Registered Member
 
bitarno's Avatar
 
Last Online: 10-13-2012
Join Date: May 2006
Posts: 582
Thanks: 237
Thanked 437 Times in 221 Posts
Groans: 10
Groaned at 9 Times in 8 Posts
Default

144 sec

windows vista
__________________
“Please dnt call me arrogant,but Im European champion & I think Im a special one." Jose Mourinho
bitarno is offline   Reply With Quote
Old 12-05-2009   #7
billy01
Vcoderz Team
 
billy01's Avatar
 
Last Online: 12-29-2019
Join Date: May 2007
Posts: 112
Thanks: 112
Thanked 66 Times in 42 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default

278 sec

vista
billy01 is offline   Reply With Quote
Old 12-05-2009   #8
TAREK®
~ Golden Boy ~
 
TAREK®'s Avatar
 
Last Online: 06-14-2013
Join Date: Oct 2007
Posts: 11,464
Thanks: 11,906
Thanked 5,073 Times in 3,294 Posts
Groans: 190
Groaned at 82 Times in 72 Posts
Default

Quote:
Originally Posted by RayanHalawi View Post
Laptop | Windows 7


for the love of God elleh shu fik shi tabi3eh
__________________
Glory Glory Man United - Always A Red Devil
TAREK® is offline   Reply With Quote
The Following 2 Users Say Thank You to TAREK® For This Useful Post:
7alewi (12-05-2009), SysTaMatIcS (01-18-2010)
Old 12-05-2009   #9
SysTaMatIcS
Registered Member
 
SysTaMatIcS's Avatar
 
Last Online: 10-14-2022
Join Date: Dec 2006
Posts: 10,467
Thanks: 14,136
Thanked 4,244 Times in 2,547 Posts
Groans: 186
Groaned at 198 Times in 120 Posts
Default

wt abt the welcome screen?? it counts untill that , or it counts untill i open my user?
__________________
problems of performance appraisal is that it sucks to memorize them
SysTaMatIcS is offline   Reply With Quote
Old 12-06-2009   #10
SysTaMatIcS
Registered Member
 
SysTaMatIcS's Avatar
 
Last Online: 10-14-2022
Join Date: Dec 2006
Posts: 10,467
Thanks: 14,136
Thanked 4,244 Times in 2,547 Posts
Groans: 186
Groaned at 198 Times in 120 Posts
Default

damn 81 seconds , it should be better
__________________
problems of performance appraisal is that it sucks to memorize them
SysTaMatIcS is offline   Reply With Quote
Reply

  Vcoderz Community > Computer Zone > Computers & Information Technologies

Tags
measure, restart, time



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:50 PM.


Lebanon web design and development
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Share