All Questions
112
questions
0
votes
1
answer
387
views
Run a systemd service at logout
I have a script that I want to run at logout/reboot and shutdown with a .service file in /etc/systemd/system.
[Unit]
Description=My description
DefaultDependencies=no
Before=poweroff.target halt....
0
votes
0
answers
70
views
How to prevent myself from rebooting windows when VMWare Workstation is running?
I use the free VMWare Workstation version to run VM's on Windows 10, and I keep the Workstation window out of the way on a second Windows desktop since the free version does not support minimizing to ...
3
votes
2
answers
2k
views
App preventing Windows 11 from shutdown
A process with the following icon is preventing Windows 11 Pro for Workstations, 22H2, OS build 22621.2361 from shutdown and/or restart:
I've tried to identify it, but failed - there is nothing in ...
0
votes
0
answers
20
views
Preserve order of closing services while shuting down the linux
I defined a Linux systemd service which has few dependencies in unit file using "After=" and "Requires=". My service depends also on SAN filesystems controlled by Veritas.
When ...
0
votes
1
answer
196
views
How to distinguish shutdown from reboot
Following this answer I'm using a batch file to copy some files from my C: drive to another drive on shutdown. Due to the amount of the files this may take up to a few minutes. This is not a problem ...
0
votes
1
answer
1k
views
using nohup even after a complete shutdown or sudo reboot, Possible?
I am using nohup python -u nationalbiblioteket_logs.py --query 0 > log_q0.out & in my Ubuntu 16.04 machine as an administrator to run really time and memory consuming program.
I am already ...
0
votes
1
answer
569
views
Windows 10\11 - wont shutdown\sleep\restart\run-as-admin
After hours of searching, I've got a very weird problem that I couldn't find a solution to.
Since I upgraded my rig to Intel's 12gen (new motherboard, CPU, RAM, installation), I sometimes have the ...
0
votes
0
answers
145
views
server rebooted by "www" user
the server is a 2019 standard vm. It rebooted in the middle of the day, so i went digging through the logs and found this:
The process C:\WINDOWS\system32\shutdown.exe (servername) has initiated the ...
0
votes
0
answers
62
views
Windows 10 Reboot Sticks on Manufacturer Logo Screen, Shutdown works fine
So, this started happening a long time ago, after some windows update I believe, but I cannot figure it out.
Basically when I restart windows, either through an interface (windows directly, updates, ...
0
votes
0
answers
41
views
Why my pc shutting down and restarting
Two days ago when i connect modem some time its showing blue screen error kmode exception and some time its shutdown and restart. Then i change modem driver and the issue solved.from yesterday my pc ...
0
votes
0
answers
24
views
Is it possible to disable restarts in Windows 10? [duplicate]
My laptop has a weird issue where the touch pad doesn't work after the device is restarted. It works fine after a normal shut down, though.
Is it possible to disable restarts so that the computer will ...
0
votes
1
answer
570
views
Acer aspire m5 stuck in a restart loop that turns on and off in 5 seconds without any display
Hello my acer aspire m5 is stuck in a restart loop. Each time i switch it on it starts for 2 seconds then switsches off and on again. When it switches on you can feel the fan and drive running then ...
0
votes
1
answer
864
views
MX Linux - can't shutdown/ reboot - /usr/bin/systemctl: Syntax error: Unterminated quoted string
Today i tried to install snapd, I found that it's not so easy on MX Linux as on different distributions. I found this (also this ) link where I had to add some script to my /usr/bin/systemctl. It didn'...
2
votes
1
answer
29
views
How to identify if Computer is Restarted or Switched ON after Shutdown [closed]
Is there any way to find out if the PC was restarted or switched on after Shutdown?
Preferably in UEFI environment. Is there any settings/flag ?
0
votes
1
answer
2k
views
For the Windows "shutdown" command, is "/p" the exact same as "/t 0"?
For many years I have been absolutely confused by the cryptic help output of shutdown /? (it's not by any means better on Linux/FreeBSD) - (I have deleted many irrelevant flags):
/s Shutdown ...
0
votes
1
answer
989
views
Why does Windows 10 not restart/shut down even when explicitly told to?
I've been using this command to shut down Windows 10:
shutdown /p
And this to restart:
shutdown /r
Sadly, this kept causing Windows to not actually restart/shut down. Instead, it would show various ...
0
votes
2
answers
128
views
Windows 10 hanging on reboots/shutdowns
I recently started to have an issue with my custom-built system. Whenever I try to reboot/shutdown in Windows 10 the system it will just hang. Unless I do a hard shut down with the power button it ...
0
votes
0
answers
85
views
My laptop does strange behaviors, what could be the reason?
I bought a used laptop and it doesn't shutdown. It only restarts. I mean after shutting it down it powers on automatically and immediately.
If I'm on windows (after booting into windows), I have to ...
0
votes
1
answer
1k
views
How to get Windows 10 to execute a shutdown script prior to the “closing X apps and restarting screen”?
The problem I have is that I have an application (steamVR) that refuses to shut down when it receives a shutdown signal. It instead brings up a popup "critical error" message and a second "are you ...
0
votes
0
answers
479
views
Windows updates: Restart instead of the requested Shutdown?
I often hibernate my laptop. Sometimes, I see the Hibernate button turn yellow and show "Shutdown!", which means that there are important updates that will be installed. I then initiate a lengthy ...
0
votes
1
answer
68
views
Computer randomly shuts down and displays blinking screen
I am having issues with my PC. It randomly shuts down and screen starts blinking. It happens completely randomly and I didn't notice any pattern. Sometimes it might work properly for a week and ...
0
votes
0
answers
21
views
PC resets, could it be my PSU?
I just bought a Geforce 2080TI Matrix.
When i play games it works fine for a hour or 2. Then my PC just dose a fast reset, powers everything down and starts up again.
So i was wondring, could it be ...
47
votes
8
answers
138k
views
Unable to shutdown / reboot my Debian 10 server
I'm trying to reboot my Debian 10 server but all I get is command not found.
I've tried:
shutdown
reboot
restart
poweroff
but nothing works. I found this thread but when I try to run any of this with ...
0
votes
0
answers
288
views
windows randomly unable to restart or shutdown after prolonged usage
I have a problem with my PC being unable to shutdown or restart after prolonged usage.
I enabled verbose mode during boot / shutdown / restart and I can see the system looping very fast through ...
1
vote
1
answer
2k
views
Wait for *user* service to gracefully exit before machine shutdown/reboot
I've been managing all my user level processes using systemctl --user, which provides a lot of great benefits including the ability to auto-restart on error, process dependencies, etc.
However, one ...
0
votes
0
answers
1k
views
Why my computer restarted without notice? [40 minutes of silence without trail]
Why my computer restarted ?
Yesterday left my computer unattended for a couple of hours, as I come back, computer was restarted losing some of the things I didn't save (some temporal notes, some ...
1
vote
0
answers
51
views
Windows freezes and crashes
So, I was playing something with my friends on discord and out of the blue the screen freezes, but I can still hear the sounds, my friend's voices and the game and not more than 5 seconds later, the ...
8
votes
2
answers
48k
views
Computer randomly shuts off and restarts with Reason Code: 0x500ff
My buddy's computer keeps randomly restarting. Usually when he's playing a game. It has randomly restarted just when he's on YouTube.
Event Viewer says:
The process C:\Windows\system32\winlogon....
0
votes
0
answers
54
views
Windows 10 not fully shutting down
I have had this problem show up on multiple computers with different arrangements of hardware: a laptop I used to own, a computer I built for work with an Intel CPU, and the computer I'm typing this ...
4
votes
2
answers
228
views
Computer powers back on after shutdown
Mobo: ASUS P7P55D
GPU: Palit GeForce 9800GT
PSU: Antec 500W EarthWatts
This is an ancient, well used computer. My primary OS is Ubuntu although WinXP still clings on for some old games.
In the last ...