How to See Your Windows 7 Restart Time


This will show you how to see how long in seconds it takes your Windows 7 to restart back to the desktop.
Information:
This will show you how to see how long in seconds it takes your Windows 7 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.
To see your Windows 7 restart time follow these simple steps-

  • Click the Download button to download “Restart-Time.vbs” file, and save it to your Desktop.
photoshop-design-website-animated-download-button29



  • 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.
    *NOTE: If you do not have a Unblock button, then it is already unblocked. Continue to next step. Unblock
    • Run the Restart-Time.vbs file.
    For your reference, below is the script in the Restart-Time.vbs file.
    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 -f -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 takes " & TimeDiff & " seconds to completely restart.", VbInformation, AppName
    end if
    wscript.Quit


    • Click on OK to restart the computer. (see screenshot below)



    WARNING: Close and save all windows first. This will immediately restart your computer.





    Step1





    • When the computer finishes restarting, you will see your Windows 7 restart time. Click on OK when done.














  • - TechTabs
    - Ishan Farooq

    Related Posts :



    Comments are closed.

    Related Posts Plugin for WordPress, Blogger...

    register