Skip to main content

All Questions

Tagged with
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....
Laphroigh's user avatar
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 ...
patraulea's user avatar
  • 411
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 ...
Michal Gow's user avatar
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 ...
Hellraiser's user avatar
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 ...
Bill Tür stands with Ukraine's user avatar
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 ...
doplano's user avatar
  • 103
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 ...
Daniel Cohen's user avatar
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 ...
Ethan Byrne's user avatar
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, ...
Jestep's user avatar
  • 365
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 ...
Masum's user avatar
  • 1
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 ...
Pikamander2's user avatar
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 ...
James Kibunja's user avatar
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'...
Tucna's user avatar
  • 13
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 ?
NJP's user avatar
  • 21
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 ...
J. Glober's user avatar

15 30 50 per page
1
2 3 4 5
8