TheaterFire

Dumb question about reboots

Posted by anonymousITCoward@reddit | sysadmin | View on Reddit | 15 comments

Ok, my brain has malfunctioned this morning and I can't figure this out... Does Windows 10/11 log the user off before rebooting?

Reply to Post

15 Comments

xboxhobo@reddit

Why are you having to babysit processes to make sure they are shut down gracefully?
View on Reddit #22228867

anonymousITCoward@reddit (OP)

All i'm looking to do is make sure my vbox guests shutdown gracefully when i'm not around.
View on Reddit #22231313

xboxhobo@reddit

...why are you running VMs directly on your workstation?
View on Reddit #22231725

anonymousITCoward@reddit (OP)

Part of my lab... and it's nice to be able to vpn into several environments at once if I need to
View on Reddit #22233242

xboxhobo@reddit

I would move the lab to a server either in a closet or the cloud so that it's not on your personal device.
View on Reddit #22234035

anonymousITCoward@reddit (OP)

Thanks! you gonna pay for that?... I know you're trying to be helpful, but really you're not.
View on Reddit #22234642

sitesurfer253@reddit

You want a hobo to pay your server costs?
View on Reddit #22245499

anonymousITCoward@reddit (OP)

Yes please! :)
View on Reddit #22246836

Boberelli513@reddit

Yes. Part of the shutdown process, all user connection are logged off.
View on Reddit #22218982

anonymousITCoward@reddit (OP)

The reason for my question is I'd like to make sure that certain processes aren't running when my machine reboots for updates, or when the RMM decides to reboot me in the middle of the day without warning. I slapped together a quick and dirty powershell script to gracefully close the applications, but am wondering if it will work if I place it in the logoff script for my machine. I was certain that I've seen it tell me that i was getting logged off before the reboot, but my brain couldn't remember the OS I've updated my original posting.
View on Reddit #22222702

lStan464l@reddit

Technically, no. But also yes. The Reboot/Shutdown Command (Logged in) would just send the machine into a Reboot with a 2in1 Process. (You wont see the logon screen before either of those actions)
View on Reddit #22218968

anonymousITCoward@reddit (OP)

Thank you. The reason for my question is I'd like to make sure that certain processes aren't running when my machine reboots for updates, or when the RMM decides to reboot me in the middle of the day without warning. I slapped together a quick and dirty powershell script to gracefully close the applications, but am wondering if it will work if I place it in the logoff script for my machine. I was certain that I've seen it tell me that i was getting logged off before the reboot, but my brain couldn't remember the OS
View on Reddit #22222683

sryan2k1@reddit

What do you mean technically no? The reboot logs out all sessions, forcibly.
View on Reddit #22219092

lStan464l@reddit

That's why I said yes.... But it doesn't visually give you a log out to Logon Screen. Is what I meant....
View on Reddit #22219147

sryan2k1@reddit

What you see and what happens is irrelevant. A reboot logs all users out.
View on Reddit #22219549