Questions tagged [shutdown]

Process of cleanly stopping the operating system so the system can be turned off

Filter by
Sorted by
Tagged with
0 votes
3 answers
65 views

When is it more efficient to put a PC to sleep rather than shut it down?

I have a second PC in my office that I only use about once every 48 hours, for a few hours. I've read that one of the most stressful and life-shortening acts you can commit against your machine is ...
Craig's user avatar
  • 941
0 votes
0 answers
45 views

Where is the configuration for the actions that appear in GNOME/Cinnamon's start menu search results

I've been looking for some time now for a way to turn off my computer with a combination of keys, without the need to confirm, or with a simple key confirmation (ex. pressing Enter). I have a Tuxedo ...
Migsar Navarro's user avatar
0 votes
1 answer
54 views

Duration in seconds between the system down and system up in Linux

I wanted to get the system downtime duration i.e. system went down (could be due to a reboot or shutdown) and System came up. I tried checking few commands mentioned below. I converted (1+06:28) to ...
AshKash's user avatar
0 votes
0 answers
74 views

Intermittent Boot Failure on Windows After Forced Shutdown

The problem started when my computer froze while playing a game, forcing me to perform a hard shutdown. Since then, booting up has become a gamble; it sometimes boot up and works normally and other ...
Shaurya K. Panwar's user avatar
1 vote
2 answers
95 views

Why is shutdown.exe not running in PowerShell on Windows 11?

Problem with shutdown.exe command in Windows 11. Using PowerShell (Run as administrator) And having run Set-ExcecutionPolicy Notepad, MMC, Resmon All execute perfectly, but not shutdown, here is the ...
Guy Thomas's user avatar
  • 3,318
0 votes
1 answer
49 views

Can I use Task Scheduler or Group Policy Management Console to close Microsoft Sticky Notes when clicking 'Shut Down' on my PC using Windows 10?

I have created a task in Task Scheduler for the Microsoft Sticky Notes app downloaded from the Microsoft Store, to open 30 seconds after I turn on my PC and enter the Desktop, but in order for this ...
Brad Harper's user avatar
0 votes
1 answer
183 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
129 views

shutdown command passed with ssh or directly from a pc

from pc1 as user1, the shutdown command doesn't cause any problems, but if I try to use it remotely on pc2 as user2 using the ssh protocol, it doesn't work: it requires authentication and then it ...
mazda's user avatar
  • 135
0 votes
0 answers
40 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
  • 381
0 votes
0 answers
108 views

Make Windows 11 sleep instead of shutdown during power outage

Just upgraded to windows 11 and noticed that during a power outage the PC shuts down. With windows 10 the PC would sleep (or hibernate) instead of shut down and when the power was on again I had all ...
Bubu's user avatar
  • 1
0 votes
0 answers
50 views

How can I verify the scripts in /lib/systemd/system-shutdown are being run?

I have a simple script that I want to run just before shutdown. I'm trying to verify this script are being run but I'm not seeing any messages from my script on my system's debug serial, kernel log, ...
DeepDeadpool's user avatar
-2 votes
2 answers
210 views

How to fix windows 10 so I can turn it off normally without hard shutdown?

When I want to shutdown windows 10 (Version 22H2, Build 19045.3693), I always get the message Getting Windows ready. Don't turn off your computer so I have to turn it off by pressing the power button....
Alex's user avatar
  • 674
0 votes
2 answers
220 views

polkit rules to prevent shutdown / reboot does not work

I am trying to prevent reboot a Debian 11 machine from the KDE start menu. However the following policy does not work: [michael@vps /etc/polkit-1/rules.d]> cat /etc/polkit-1/rules.d/10-admin-...
Michael Tsang's user avatar
0 votes
0 answers
97 views

Corsair CV450 PSU with RX 6500 XT GPU causes PC hard shutdown when gaming

Playing games such as Fallout 4 on Ultra, XCOM 2 on High or even Civilization 6 causes my computer to hard shutdown without any notification or BSOD verbose. It seems to only happens when playing ...
Numbu Ranggata's user avatar
0 votes
1 answer
193 views

Win + X, U, U not shutting down my windows 11

Win + X, U, U is not shutting down my windows 11. Language is not the issue as i am using English. Everything is normal, The issue is that when the list opens after Win+X it doesn't response to any ...
Jogender Singh's user avatar
0 votes
0 answers
498 views

Dual boot Ubuntu gets stuck on shutdown. (New laptop)

I dual booted my new Asus Windows laptop with Ubuntu (latest). But it gets stuck while shutting down only on UBUNTU, I must press-hold the Power-Off key. If I don't force shut-down, I get a screen ...
Rayyan Karimi's user avatar
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
189 views

How to correctly shutdown widows systems via ansible

We have a working setup for ansible with windows via ssh. I know ssh is officially not supported, but the following behavior is more random: For our laptops I want to shut them down via ansible after ...
MaKaNu's user avatar
  • 145
0 votes
1 answer
228 views

Log off session after x time in Windows

I utilize the shutdown /s /t 10 command to turn-off my computer after a specific time interval. I know that I can employ shutdown /l to log off from my session. So I attempted using shutdown /l /t 10, ...
Magenta's user avatar
  • 11
0 votes
0 answers
1k views

How can I solve the critical error "Kernel Power EventID 41"?

My laptop started doing this recently It does this sometimes when I wake it from sleep /standby. It just restarts. And sometimes when I turn it on (from having it properly shut down the day before). ...
Shion's user avatar
  • 11
0 votes
0 answers
1k views

Live Kali LInux stuck at Dragon Logo on shut down, or restart

I made a live Kali USB drive using Rufus and Kali Live ISO (I am using Windows 11). When I boot using USB on my laptop, the OS although starts slowly but still boots up. But after I restart or ...
Zenom's user avatar
  • 17
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
38 views

How to automatically shutdown PC when print spool empty?

When I print many documents with PC, then spool PC needs on. If spool PC is off, then stop printing whenever documents are waiting on that PC. By the way, I want to need automatically shutdown the ...
Yang's user avatar
  • 3
0 votes
0 answers
86 views

How can I configure Windows 10 to shutdown AFTER a certain amount of time AFTER I close the lid?

I want to make it so after I close the lid: First, the system goes to sleep After 10 minutes, the system shuts down Is this possible? I saw this question, but it is for Windows 7 and I am asking for ...
IMTheNachoMan's user avatar
0 votes
0 answers
871 views

Can you disable Fast Startup but keep Hibernation option?

It is possible to keep Windows Fast Startup enabled for shutdowns but remove "Hibernate" as a shutdown option by running the elevated command powercfg /h /type reduced, but what about the ...
ETL's user avatar
  • 371
3 votes
1 answer
13k views

Very slow shutdown on Windows 11

I have been having a nasty problem on my Windows 11 for a few weeks. Where Windows will take over 7 minutes to shutdown. I have an NVMe drive for Windows, and it boots to a fully functional windows in ...
AdeptusAstartes's user avatar
1 vote
0 answers
2k views

How to determine if GPU or PSU is causing shut downs?

I've been having consistent (15-20 minutes while under load) PC shutdowns that occurred spontaneously a few days ago. These shutdowns are like someone pulled the plug on my pc and then booted it up ...
illustrious-meme534's user avatar
1 vote
0 answers
119 views

Computer freezes a few moments after startup and wake from sleep (not all the time, but often)

My computer has been freezing a few minutes after start up or wake from sleep, and I have to force shut down and turn it on before my PC will work again. Reliability history shows no error that comes ...
keiowo's user avatar
  • 11
0 votes
1 answer
943 views

Shutdown of Debian 12 stops until switching to virtual console 7

I installed Debian 12 (Bookworm) on a laptop (Acer Aspire 5). It is the only OS on the laptop and it was a fresh install. Everything works fine, but when I try do power off the laptop, KDE is closed ...
leviathan's user avatar
  • 216
0 votes
1 answer
2k views

Why it shows "User xxx is logged in on sshd“ warning when using shutdown close linux server?

I log a linux server by vscode's ssh method in Win10 (the terminal in vscode is like (base) [myname@localhost ~]$ )and I am not a super user of this server (that means I cannot use su). When the ...
4daJKong's user avatar
  • 103
0 votes
0 answers
297 views

Windows 10 Auto user login after shutdown

My PC, which I keep ON for days, have a scheduled task to turn OFF (shutdown) a certain day of the week. It then turns on automatically after a few hours through BIOS settings. However, it stays on ...
Jordan_m23's user avatar
2 votes
0 answers
343 views

systemd: intercepting poweroff, shutdown, reboot and alert us we still have KVM QEMU guest(s) running

I want to interrupt a poweroff or reboot if KVM/QEMU Guests are still running. It should work regardless whether shutdown/reboot is requested from XFCE, or from terminal. I already have a script that ...
Shawn Hughes's user avatar
0 votes
1 answer
447 views

Linux file recovery after unexpected shutdown

Yesterday, I was using a nano file to take important notes relating to university work. I had not saved the file at any point that day, and was actively taking notes throughout the day. Towards the ...
Lily D.D.'s user avatar
0 votes
1 answer
226 views

Turning Fast Startup/Hiberboot off causes PC to stay on after shutdown

Fast Startup has been a cause of issues for our company, so we decided to turn it off by setting HiberbootEnabled to 0 in registry. That has caused one single PC (out of around 50 so far, this is ...
Albannt's user avatar
0 votes
0 answers
28 views

Windows forces update [duplicate]

I have disabled updates on win 10 by going to run ->services.msc -> windwos updates. Now the trick is, unless you hibernate, shutting down and restarting deletes this setting, and windows update ...
Gaussianlover's user avatar
0 votes
1 answer
132 views

Laptop - is it safe when using force shutdown (deep shutdown)

My asus laptop (FA507RC) is facing the issue that battery drained even i did a completely shutdown. I found a solution here: solution (hold power button after the laptop shutdown) But i'm not sure ...
SoT's user avatar
  • 127
0 votes
0 answers
47 views

my vps shutdown and error.log (22)Invalid argument: AH00146: could not release mutex accept

Today I set up my VPS with Apache2 and Debian. My VPS has 16 RAM and 4 CPUs. My load is 0.02 to 0.07 with htop. My script is PHP Apache2 I have approximately 5000 visits per day. It happens that I was ...
Razyit's user avatar
  • 1
1 vote
1 answer
93 views

Graphics card damage pin

I have RTX 2060 Graphics card. It randomly shutdown some times. When I removed it from motherboard then I realized that it has 2 half damage pin. Damage pin close-up: I notice, my PC shutdown under ...
Muhammad Rokonuzzaman's user avatar
0 votes
3 answers
411 views

Find cause of startup BSOD connected with complete battery discharge

I get the following issue on my Lenovo Yoga C940-15IRH laptop (i7-9750H, Geforce 1650 Max-Q, 16GB RAM, 4K display): I work on battery, and turn the PC off (Shut down) with the battery well over 60% ...
1NN's user avatar
  • 7,429
0 votes
0 answers
400 views

Not turning off completely the system. its going to the halt mode in Fedora

some time when i want to shutdown the system in fedora, the system not shutdown completely. in this problem screen is off but fan is working Not sure if this is relevant,but there are several errors ...
furton's user avatar
  • 1
1 vote
1 answer
749 views

Unix/Linux "shutdown": How to prevent wall message and terminal blocking?

I'm making a script that adds a layer of functionality on top of the shutdown command. It's intended to schedule a shutdown a while into the future, and sends out it's own wall message. How do I ...
user avatar
0 votes
1 answer
382 views

Task Scheduler has been set to lock computer after logon. how to disable this? as the computer instantly locks after logon

I created a task schedule following this How to LOCK computer after 'x' amount of time right after log on to lock on logon. but i didnt put a delay. now i cant login at all, as the computer ...
orangpelupa's user avatar
0 votes
0 answers
48 views

Tablet Keeps Shutting Down

This has been going on for a couple of weeks.. I have this Windows 8.1 tablet, (32 bit Intel processor, 2G RAM, 64G disk with 720MB free space). It shuts down soon after boot up. As I power up, after ...
PeteC's user avatar
  • 1
0 votes
0 answers
220 views

PRevent Windows 10 Shutdown as long as process is still running

I habe a Windows 10 host system that runs a VMWare Workstation virtual machine. I would like to prevent shutdown or logoff on that host system as long as the VM is still running, preferrably ...
Erik's user avatar
  • 1,399
1 vote
1 answer
670 views

Linux shuts down my pc's lan port so I am unable to use wakeonlan, works with windows

I got the Asus mini pc pn51-s1 with the 5700u cpu. https://www.asus.com/displays-desktops/mini-pcs/pn-series/mini-pc-pn51-s1/techspec/ I turned on the bios function wake on pcie card which allows me ...
anarchy's user avatar
  • 247
0 votes
0 answers
28 views

Task scheduler: On Shutdown? [duplicate]

In the Windows Task Scheduler, there is a trigger called "On startup". However, I'm looking for "On shutdown", but can't find it. Can you help me make a custom trigger equal in ...
Pingui's user avatar
  • 179
0 votes
3 answers
2k views

Make power-button force shutdown

I want my PC power-button to shut down Windows immediately. But what it actually does it prompt for action if there are e.g. unsaved changes. How can I force the power button to shut down immediately? ...
Pingui's user avatar
  • 179
0 votes
1 answer
169 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
146 views

Once the shutdown button is pressed on windows and it displays shutting down screen, is it possible to cancel the shutdown?

Once the Shutdown button is pressed (mistakenly or intentionally) on Windows (10/11), it displays text "Shutting Down" with circle(s) spinning animation. At this stage, pressing most ...
user3330840's user avatar
-3 votes
1 answer
198 views

PC shutdown suddenly and idk the cause

I have a desktop PC I bought 10 years ago and I use it as a "server", so it's always on. It started to suddenly shutdown few months ago, after few days or weeks being on (last time I powered ...
just_a_developer's user avatar

1
2 3 4 5
31