You Are Reading
How To Find Your Computer's Boot Time
Ever wanted to know how much time does your computer take to boot? Is it slow or fast? This tutorial will help answer your question not just in the purpose of just knowing, you can benefit a lot from knowing your computer's boot time how? You can test how much time it takes to boot before and after installing an application such as an antivirus or any other app.
1- Open Notepad
2- Copy & paste the following code into notepad
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 = "Reboot Time Test"
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
3- Save it as anything.vbs (make sure you choose .vbs as extension for your file & don't include spaces if you choose a multiple words name for example if you choose to name it " boot time test ", you should enter boottimetest.vbs NOT boot time test.vbs)
4- In the Save as type choose All Files (Very Important !!)
5- Double-click on the file, you will be asked to save and close all your work because your computer is about to restart. Click Ok to restart
6- When windows starts again a message with the number of seconds your computer took to boot will be displayed on your desktop.
To download a ready-to-use boottimetest.vbs click Here
Search This Blog
Labels
- 64bit (x64) (1)
- Application (3)
- Browsers (2)
- Email (2)
- Firefox (1)
- Registry (2)
- Tricks (4)
- USB Key (1)
- User/Pass (1)
- VB Script (2)
- Website (3)
- Windows 7 (1)
- Windows Vista (1)
Blog Archive
-
▼
2012
(11)
-
▼
March
(10)
- How To Install Windows 7 From A USB Key
- Shorten You Links The Easiest & Fastest Way
- Download, Install, Register & Update Internet Down...
- Shortcut to Show/Hide Hidden Files
- Recover Your Dial-Up Connection's Username & Password
- How To Find Your Computer's Boot Time
- Block/Allow Internet Access For An Application
- Send A Secure & Encrypted Email
- How To Send Self-Destructing Messages
- Waterfox - The 64bit Version Of Firefox
-
▼
March
(10)