Shutdown, LogOff, Sleep, and Hibernation Question?

Gorgrak

New member
Local time
7:57 PM
Messages
9
Location
Alabama
Hey I was trying to add a task scheduler script to run when the computer logs off, but does Windows log off when shutting down, sleeping, or hibernating? and when does the computer switch between sleep and hibernation? And why does my computer freeze after Sleep/Hibernation (or what could I do to find out the culprit)?

Sorry for so many questions!!
 

My Computer My Computer

Computer Manufacturer/Model Number
ebay: pyretech
OS
Windows 7 Home Premium 64bit
CPU
AMD Phenom II x4 965 3.4 GHz [Overclocked @ ~3.8 GHz]
Motherboard
GA-890XA-UD3
Memory
Crucial Technology DDR3 1333 2048 MBytes (x2)
Graphics Card(s)
XFX Radeon HD 5770 1GB 128-bit DDR5 (x1)
Sound Card
-.-
Monitor(s) Displays
LG L226WTQ 22" Widescreen
Hard Drives
Western Digital WD6402AAEX 640GB 7200 RPM (x2) [Raid 0]
PSU
RAIDMAX HYBRID 2 RX-630SS 630W
Case
CS-NT-BETA-EVO Black Steel / Plastic ATX Mid Tower Computer
Cooling
CORSAIR CWCH50 120mm fan (x1)
Keyboard
Logitech G15
Mouse
Logitech G500
Internet Speed
Unleaded

My Computer My Computer

Computer Manufacturer/Model Number
packard bell IXTREME M5722
OS
Operating System : Windows 7 Home Premium Edition 6.01.7600 SP1 (x64)
CPU
Processor : Intel Core 2 Quad Q8300 @ 2500 MHz
Motherboard
Mainboard : Packard Bell (Acer EG43M )
Memory
Physical Memory :8GB Corsair4x 2GB 800MHz C5 DDR2
Graphics Card(s)
Video Card : XFX 6700 AMD
Monitor(s) Displays
Maestro 234DL - BenQ V2220 - BenQ VW2420H
Screen Resolution
Current Display :1920x1080p pixels at 60 Hz in HD LED
Hard Drives
Hard Disks : WDC (1000 GB)
Drive C: (Hard Disk) : 428 GB available on 491 GB
Drive D: (Hard Disk) : 426 GB available on 492 GB
SAMSUNG spinpoint HD103SJ 1000.2 GB
(X 2) KINGSTON SSD NOW V 30GB
PSU
XFX ProSeries 550W PSU
Case
PACKARD BELL IXTREME
Cooling
System Blower Current: 150mA Air Flow16CFM ;Akasa 90mm rear
Keyboard
Gigabyte Aivia K8100
Mouse
TRUST-Wireless Laser Mouse - Carbon edition MI-7770C
Internet Speed
TP-LINK > TL-WN951N / AV500 Gigabit Powerline Adapters
Browser
chrome dev
Other Info
EXTRA COOLING>(FAN CONTROLLER) PC Bay Cooler 3 x 40mm fans; Akasa AK-HD-BL Blue hard drive cooler 2 x 40 mm fan 4500 rpm 29.7 dBA
Bios> American Megatrends Inc.
Version : P01-A1
Date : 08/31/2009
thanks for the tutorials! the hibernation one was good to know. the shutdown one, however, misses the point of my inquery. I was wondering if Windows logs off before shutting down? The script I wrote disables a USB audio interface I have (because it's drivers aren't working too well in windows 7 whenever my computer sleeps or shuts down) when the computer logs off. This would be pointless, though, if Windows doesn't log off at shutdown...
 

My Computer My Computer

Computer Manufacturer/Model Number
ebay: pyretech
OS
Windows 7 Home Premium 64bit
CPU
AMD Phenom II x4 965 3.4 GHz [Overclocked @ ~3.8 GHz]
Motherboard
GA-890XA-UD3
Memory
Crucial Technology DDR3 1333 2048 MBytes (x2)
Graphics Card(s)
XFX Radeon HD 5770 1GB 128-bit DDR5 (x1)
Sound Card
-.-
Monitor(s) Displays
LG L226WTQ 22" Widescreen
Hard Drives
Western Digital WD6402AAEX 640GB 7200 RPM (x2) [Raid 0]
PSU
RAIDMAX HYBRID 2 RX-630SS 630W
Case
CS-NT-BETA-EVO Black Steel / Plastic ATX Mid Tower Computer
Cooling
CORSAIR CWCH50 120mm fan (x1)
Keyboard
Logitech G15
Mouse
Logitech G500
Internet Speed
Unleaded
Hello Gorgrak,

When you click on Shut Down, Windows will log off users first, then shut down the computer.

Hope this helps,
Shawn
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
yes sir thank you so much!
 

My Computer My Computer

Computer Manufacturer/Model Number
ebay: pyretech
OS
Windows 7 Home Premium 64bit
CPU
AMD Phenom II x4 965 3.4 GHz [Overclocked @ ~3.8 GHz]
Motherboard
GA-890XA-UD3
Memory
Crucial Technology DDR3 1333 2048 MBytes (x2)
Graphics Card(s)
XFX Radeon HD 5770 1GB 128-bit DDR5 (x1)
Sound Card
-.-
Monitor(s) Displays
LG L226WTQ 22" Widescreen
Hard Drives
Western Digital WD6402AAEX 640GB 7200 RPM (x2) [Raid 0]
PSU
RAIDMAX HYBRID 2 RX-630SS 630W
Case
CS-NT-BETA-EVO Black Steel / Plastic ATX Mid Tower Computer
Cooling
CORSAIR CWCH50 120mm fan (x1)
Keyboard
Logitech G15
Mouse
Logitech G500
Internet Speed
Unleaded
You're welcome. :)
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top