 |
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.
Restart Time How to See What Your Windows 7 Restart Time is
Published by Brink
11-27-2008
| Restart Time How to See What Your Windows 7 Restart Time is  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.  Note Credit completely belongs to sidney1st for writing this VBS script.  Tip 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. 3. Run the Restart-Time.vbs file.  Note Just for your reference, this is the contents of the Restart-Time.vbs file below: 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 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 7 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,
Shawn |  Published by | | Administrator Join Date: Oct 2008 Location: Texas Posts: 37,303 | |
 Tutorial Tools | | | | | | | | | |
12-10-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 Specs | | System Manufacturer/Model Number Tx2500z Tablet Pc/Homemade Server OS Windows 7 Ult x64(x2), HomePrem x32(x4), Server 08 (+VM), 08 R2 (VM) , SuSe 11.2 (VM), XP 32 (VM) CPU Turion X2 ultra (oh well came with laptop)/P4 @3.2 (yes P4) Motherboard IDK HP Motherboard / Intel DG965SS Memory OCZ Dual Channel 4GB kit/ 1gb Dual Channel Graphics Card HD 3200 graphics /GMA x3100 (yay for intergrated!!) Sound Card Realtek HD Audio(mic working, well sort of)/Siig IC-70012 Monitor(s) Displays built-in Hp 12" laptop screen/ Acer 19" Screen Resolution 1280x800 /1440x900 Mouse Logi MX Rev. /MS Wheel Optical 1.1A /Logitech Optical Mouse Cooling All Air Cooled Internet Speed College baby but its still routed through vpn to 1536k... Other Info love my wacom pen and pressure sensitivity...
wished it worked in 7, SUSE for that matter though |
12-10-2008
|
#2 | | Windows 7 Ultimate x64 SP1 |
Good ideal Darkassain. Done.
Thank you,
Shawn | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
01-21-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 Specs | | System Manufacturer/Model Number Me,Myself and I OS Win 7 Pro SP1 and Win XP Pro SP3 32bit CPU Pentium 4 2.8GHz Northwood @3.0GHz Motherboard Asus P4S800D-X Memory Kingston PC3200 2x1gig Dual Channel DDR Graphics Card ATI X1650 Pro AGP 512 Sound Card SoundMax integrated Monitor(s) Displays Hansol 920D 19" CRT Screen Resolution 1280x1024 Keyboard Standard US Mouse Acer Optical PSU 400 Watt Case ATX Mid Tower Cooling Cooler Master Heatsink and Fan @2500 RPM Hard Drives 1 Seagate 250 gig pata
1 Seagate 500 gig sata Internet Speed 3Mbps |
01-21-2009
|
#4 | | Windows 7 Ultimate x64 SP1 |
Hello Seeker, I will forward this to the script author to see if it is possible
Shawn | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
01-22-2009
|
#5 | | |
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 Specs | | System Manufacturer/Model Number HP Pavillion dv6t OS Windows 7 Home - 64 Bit CPU AMD A8-3510MX APU with Radeon(tm) HD Graphics Memory 6 Gigabytes Graphics Card 1GB of DDR3 Memory 7ATI Radeon HD 3200 Graphics Sound Card Motherboard Monitor(s) Displays 15.6 LCD Screen Resolution 1280 X 800 - 32-bit Color Mouse On-Board Laptop Synaptics (driver) Point device Cooling Laptop sits on a Belkin stand with a cooling fan from USB. Hard Drives 600 Gig - C:\ 299 G ; D:\ 298 G ; E:\ 32 G Internet Speed Broadband -Wireless Net Gear (B, G, & N) |
01-22-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 Specs | | System Manufacturer/Model Number Home Brew OS Windows 7 Ultimate Vista Ultimate x64 CPU Core 2 Duo E8500 3.16Ghz @ 3.8Ghz Motherboard eVGA 750i FTW Memory 2x2Gigs Patriot PC2-6400 LL Graphics Card Inno3D GeForce GTX260 216 SP Monitor(s) Displays ASUS VW222U 22" 2ms Response time Screen Resolution 1680x1050 Keyboard Logitech G15 Gaming Keyboard Mouse Logitech G9 Gaming Mouse PSU HYTEC 600W & Thermaltake 650W Toughpower Power Exp Case Thermaltake Armor LCS (Liquid Cooling System) Cooling Liquid Cooling System Hard Drives SATA 150GB
SATA II 250GB
USB IDE 750GB Ext. |
01-23-2009
|
#7 | | Win 7 Pro SP1 and Win XP Pro SP3 32bit |
Thanks 
Quote: Originally Posted by Brink Hello Seeker, I will forward this to the script author to see if it is possible
Shawn 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 Specs | | System Manufacturer/Model Number Me,Myself and I OS Win 7 Pro SP1 and Win XP Pro SP3 32bit CPU Pentium 4 2.8GHz Northwood @3.0GHz Motherboard Asus P4S800D-X Memory Kingston PC3200 2x1gig Dual Channel DDR Graphics Card ATI X1650 Pro AGP 512 Sound Card SoundMax integrated Monitor(s) Displays Hansol 920D 19" CRT Screen Resolution 1280x1024 Keyboard Standard US Mouse Acer Optical PSU 400 Watt Case ATX Mid Tower Cooling Cooler Master Heatsink and Fan @2500 RPM Hard Drives 1 Seagate 250 gig pata
1 Seagate 500 gig sata Internet Speed 3Mbps |
01-23-2009
|
#8 | | Windows 7 Ultimate x64 SP1 |
Seeker,
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 Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
01-23-2009
|
#9 | | |
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
SIW2 | My System Specs | | OS Vista x64 / 7 X64 CPU E8400 Motherboard ASRock 1333 GLAN R2.0 Memory 2x1 gb 800mhz Graphics Card 9500gt 1gb Case Coolermaster Cooling Winpower 500w Hard Drives Maxtor 160gb-2mb cache All times are GMT -5. The time now is 02:58 AM. |  |