All Questions
112
questions
0
votes
1
answer
382
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
69
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
567
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
144
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
568
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 ...