All Questions
Tagged with shutdown command-line
31
questions
0
votes
1
answer
351
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, ...
2
votes
1
answer
5k
views
How to shutdown/restart from the command line without elevation?
Has something changed in Server 2019?
Under Server 2016 I was able to run this command in a non-elevated prompt:
shutdown /r /t 0
In Server 2019, however, when I attempt to do so I get:
Access is ...
0
votes
1
answer
115
views
Is there some way that my PHP CLI scripts could possibly detect that the Windows machine is about to be rebooted/shut down?
I have an advanced, ever-running system of PHP CLI scripts running which do all kinds of work, and communicate with my local PostgreSQL database. Windows 10.
I never use the start menu to shut down or ...
0
votes
2
answers
109
views
How to auto shutdown my centOS7 desktop after downloading a file on chrome using command line command?
I would like to shutdown my CentOS7 desktop automatically
after downloading a file(windows10 disc image) from chrome browser.
I would like to use the command on command line.
(Downloading windows10 ...
-1
votes
1
answer
4k
views
Windows 10 command line "shutdown /l" not working
UPDATE: The problem below arose because I depended on the help information displayed when I entered shutdown /?. The command-line help says exactly,
/l Log off. This cannot be used with /m or /d ...
0
votes
0
answers
191
views
Modern Mac mini does not autoboot after "dirty" shutdown from command line
Cross-posted to Ask Different
This 2018 Mac mini running Mojave is intended to run as a kiosk, but a daily sleep/wake cycle is proving problematic with some USB devices.
My plan was to use the "...
0
votes
1
answer
3k
views
Using PowerShell via MMC to execute admin level CMD commands
I'm new to PowerShell. I want to do something like this on shutdown before turning off the computer. I plan to have Windows MMC/Local Group Policy Editor do it with a PowerShell script.
cmd as admin
...
0
votes
1
answer
409
views
WOL NIC active only when system is shutdown from CMD not from start -> shutdown
My desktop (MB: Asus Maximus Hero VIII) seems to wake on LAN fine when shutting down via CMD using shutdown /t 0 but fails to WOL when i shut down using the Start -> Power -> shutdown. The network ...
2
votes
1
answer
2k
views
Shutdown windows with graphical prompt for user
We manage about 60 distributes Windows 7 PCs using Powershell Remoting. After our work is done, we'd like the computers to shut down: Doing this is easy using the shutdown /s /t X command. But ...
0
votes
2
answers
2k
views
Completely turn off Windows 10 from login page
As of (I believe) Windows 8, when a user "turns off" the machine it actually goes into some kind of hibernation mode to facilitate a quick boot-up. The only way I've found to actually turn off a ...
0
votes
1
answer
452
views
Turn off pc after tot. daily uptime
I need to turn off my system after it reach a certain amount of daily uptime.
I was planning nof writing a batch or a simple program, schedule his boot only for a specific user, that checks the daily ...
0
votes
1
answer
107
views
Check how long untill being logged off in win7 (from cmd)? [duplicate]
When I was young, I learned a quick way to set a timer to turn off my computer
shutdown -f -s -t 3600
That would give me 1 hour until log off and shutdown.
I remember in windows xp, there would be ...
2
votes
4
answers
2k
views
Shutdown from a bat file *without* close process confirmation in windows 95
Every single guide on the net says to use RUNDLL USER.EXE,ExitWindows which works... from the run command
However, when run from a bat file, this command, although it works, requests confirmation to ...
2
votes
2
answers
10k
views
Command Prompt Shutdown Command
Setup
I am running a Windows 7 PC and a Windows 7 Laptop both connected to a router forming a LAN. So, I want to remotely shutdown the laptop from the PC. I found out I could do this in command ...
1
vote
1
answer
3k
views
Preventing my pc from being shut down remotely
In my college, we use Microsoft Server 2008, and each student has their own account.
In my class, students discovered that they can remotely shut down each other's PCs using cmd (the fact that we ...