Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Restart Time

Restart Time

How to See What Your Windows Restart Time is
Published by Brink
27 Nov 2008
Published by

How to See What Your Windows Restart Time is

information   Information
This will show you how to see how long in seconds it takes your Windows 7, Windows 8, or Windows 10 PC to restart back to the desktop.

You can also view the startup logs in Event Viewer (C:\Windows\system32\eventvwr.msc) under Applications and Services Logs, Microsoft, Windows, Diagnostics-Performance, and Operational. The logs will be in the middle to show you what ran at startup, how long it took, and more.
Note   Note
Credit completely belongs to sidney1st for writing this VBS script.
Tip   Tip
For fun, post your restart time at this link.

Here's How:
1. Click on the download button below to download the Restart-Time.vbs file, and save it to your desktop.
2. Right click on the downloaded Restart-Time.vbs file, click on Properties, click on the General tab, click on the Unblock button to unblock the Restart-Time.vbs file. (see screenshot below)
NOTE: If you do not have a Unblock button, then it is already unblocked. Continue to step 3.
Restart Time-unblock.jpg
3. Run the Restart-Time.vbs file.
Note   Note
Just for your reference, this is the contents of the Restart-Time.vbs file below:
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 -f -t 00", false, 0 
Wsh.RegDelete KeyA & "Times"
Wsh.RegDelete KeyA
Wsh.RegDelete KeyB
TimeDiff = DateDiff("s",Result,left(Time,8))
MsgBox "Your computer takes " & TimeDiff & " seconds to completely restart.", VbInformation, AppName
end if

4. Click on OK to restart the computer. (see screenshot below)
WARNING: Close and save all windows first. This will immediately restart your computer.

5. When the computer finishes restarting, you will see your Windows restart time. Click on OK when done. (see screenshot below)

6. You can now delete the downloaded .vbs file if you like, or save it somewhere to use again later.
That's it,

10 Dec 2008   #1

Windows 7 Ult x64(x2), HomePrem x32(x4), Server 08 (+VM), 08 R2 (VM) , SuSe 11.2 (VM), XP 32 (VM)

you should to add to unblock vbs since it would add to the time shown in the restart time...
just a thought
My System SpecsSystem Spec
10 Dec 2008   #2

64-bit Windows 10 Pro

Good ideal Darkassain. Done.

Thank you,
My System SpecsSystem Spec
21 Jan 2009   #3

Win 7 Pro SP1 and Win XP Pro SP3 32bit

Is there a way to make one of these just for boot up time?
My System SpecsSystem Spec

21 Jan 2009   #4

64-bit Windows 10 Pro

Hello Seeker, I will forward this to the script author to see if it is possible :)

My System SpecsSystem Spec
22 Jan 2009   #5
Patrick C

Windows 7 Home - 64 Bit

Brink - Hello! I tried your script to capture "The windows Restart time" for windows 7. I used the snipping tool and I can't see how to paste an image here. I think that You told me that, the "How to was over in thew Vista 64 forum." Could you assist me with that. Thank You - Patrick C
My System SpecsSystem Spec
22 Jan 2009   #6

Windows 7 Ultimate Vista Ultimate x64

Use the advanced option on your post, then select the paperclip to attach your image and once you have uploaded it close that window and select the paperclip again and your image to place the image in the post.
My System SpecsSystem Spec
23 Jan 2009   #7

Win 7 Pro SP1 and Win XP Pro SP3 32bit

Quote   Quote: Originally Posted by Brink View Post
Hello Seeker, I will forward this to the script author to see if it is possible :)

I'm just curious,because I tried boot trace with perf toolkit and that didn,t work for me,and of course bootvis doesn't work either.
My System SpecsSystem Spec
23 Jan 2009   #8

64-bit Windows 10 Pro


I have not heard anything back yet, but if you make sure you have nothing running when you restart the computer each time, then the shutdown time only adds a few seconds to the total restart time to make it pretty accurate for the boot time.
My System SpecsSystem Spec
23 Jan 2009   #9

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64

Hi Patrick,

To post a jpeg, click the Go Advanced button at the bottom of the thread page and follow step 8 onward of this tutorial

How to use the Snipping Tool in Vista - Vista Forums

Hope it helps

My System SpecsSystem Spec

Thread Tools

Similar help and support threads
Thread Forum
date and time changes on restart
every time I restart my Laptop, the date and the time changes to 1/1/2010 and 12PM. I have windows7 professional service pack1 32bit. Can anyone help me with this problem?
General Discussion
Windows time changes every time I restart
I've installed snow leopard (hackintosh) on a separate partition and since then I've been having trouble with the clock it reads 3 extra hours than the original time So I deleted Snow Leopard and formatted the partition and checked the time again and no change at all Any help please
General Discussion
Computer suddenly freezing need to restart from time to time
Computer is suddenly freezing from time to time and i need to restart to undo it dont know what is causing this. Thanks for looking into the .dmp file.
BSOD Help and Support
Time Resets to GMT On Restart
I have an issue with Windows 7. Whatever time I set Windows 7 to (i.e. Eastern Time, Western Time, Coordinated Universal Time, etc.), on restart it sets itself to GMT, while still showing that I've selected the previous time zone I set (i.e. Eastern Time). Any help would be appreciated.
Performance & Maintenance
restart time 258 seconds
:confused: I have just run the restart time checker coz i'm seeing my sony vaio 6mth old pc getting slower and slower plus getting probs with start up from(fresh) and also shut down. My restart time is 258 seconds is this ok? i don't think so??:sarc: I Have run all sony diagnostics plus i have...
Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:06.
Twitter Facebook