Questions tagged [shutdown]

This refers to the process where the system state is systematically (and preferably gracefully) changed to the fully inactive state. Usually applied to complex systems, such as database, server program, operating system, virtual machine, physical computer and the like. Bypassing the shutdown procedure (immediate termination) may cause data loss or other problems.

This refers to the process where the system state is systematically (and preferably gracefully) changed to the fully inactive state.

Usually applied to complex systems, such as database, server program, operating system, virtual machine, physical computer and the like.

Bypassing the shutdown procedure (immediate termination) may cause data loss or other problems. Once the shutdown sequence has begun it can usually be stopped only by invoking the halt method, which forcibly terminates the system.

1261 questions
-2
votes
1 answer

Program to remote shutdown multiple Windows computers within LAN c++

I trying to create a program to shut down computers within a LAN. I currently don't even know how to start.
XiaoShun Tan
  • 33
  • 1
  • 6
-2
votes
2 answers

How to hide Shut Down and Log Off through commandline(script) without reboot

How to hide Shut Down and Log Off buttons in Windows 7 through commandline(script) without reboot. I've googled how it can be done through gpedit.msc http://www.thewindowsclub.com/prevent-users-shutting-down-restarting-windows-computer Method with…
rooltak
  • 33
  • 1
  • 7
-2
votes
1 answer

How to write a function to disconnect client from server in C?

I tried server client tcp code in c, I want to add some functionality to disconnect client from server. I search on google for it. I found function shutdown(), I am not getting idea how to do it ?
Gresa44
  • 3
  • 1
  • 2
-2
votes
1 answer

Psshutdown Remote Computer With Computer Name Not working

I have been trying to fix this issue for months and just can't seem figure it out. Both computers Windows 7 Ultimate 64-bit. Trying to shut down a remote computer in my LAN home network. I'm using psshutdown which is part of the Microsoft…
user3089120
  • 57
  • 2
  • 2
  • 6
-2
votes
2 answers

Instantly Shut Down/Sleep shortcut

How do I create a shortcut that instantly shuts down the computer in the same way the computer instantly shuts down when holding my power button for 4 seconds. This is for PC. I tried creating a shortcut using shutdown /s /t 0 but it does not shut…
User345
  • 11
  • 3
-2
votes
1 answer

Shutting windows down hackishly

What if, by some turn of events, I lose shutdown.exe from my windows machine. How, then, does windows shutdown? Is it possible to put together a rough hack that does not require shutdown.exe but is also run from the command line? Perhaps PowerShell…
bimmo
  • 385
  • 2
  • 8
-2
votes
1 answer

ASP.NET emergency shutdown and redirect

I was told that to shutdown an ASP.NET site and replace all pages with a static text one should add an HTML file with a special extension. But my google/bing skills are not good enough, can you please help me with this?
amateur
  • 41
  • 1
-2
votes
1 answer

Ubuntu 13.04 shutdown countdown

I used Ubuntu from 9.04 version and find a feature quite useful, which is shutdown for 60s. However, for 13.04, this feature is removed. So, could I configure the system so that it can reserve this? Thanks!
terry
  • 51
  • 3
-3
votes
2 answers

Blazor Server side app open in browser then shut down immediately if I'm having break points

Why does my Blazor Server side app open in browser then shut down immediately if I'm having break points? It just started to happen only when I'm having break points. Any help would be appreciated.
Wedad Shurrab
  • 95
  • 1
  • 1
  • 7
-3
votes
1 answer

PC shutting down instantly process.start("shutdown", " /s /t")

I want to shut the PC after the time I set is over (For the input I used 3 TextBoxes), but when I press the button: private void button1_Click(object sender, EventArgs e) { int totalSeconds = int.Parse(hours.Text.ToString()) * 120 + …
Gaweringo
  • 127
  • 1
  • 7
-3
votes
1 answer

Using ProcessExit to shutdown hardware devices in c#?

I have a hardware ware device that needs to be unloaded at the end of program execution or it will be left in an undefined/unstable/dangerous state. This is easy enough during normal operation, but during any sort of crash or unexpected…
user1850479
  • 225
  • 2
  • 12
-3
votes
2 answers

Exit shutdown function python

I've written the following code and if the else statement is true I would like the program to shutdown. I'm new to python and having some trouble password = raw_input('Enter yes to continue:') if password == 'yes': print'You have chosen to…
goat
  • 13
  • 1
  • 4
-4
votes
1 answer

ubuntu reboot & shutdown command with password

I am writing a program in Java to shut-down the Ubuntu server. echo password | sudo -S shutdown -h now sudo -p 'password' shutdown -h now either of the commands didn't work. I need sudo command for shut-down and reboot my server by passing…
MAHI
  • 9,263
  • 11
  • 36
  • 47
-5
votes
1 answer

exception when stopping jboss server from eclipse

I get an exception when I shutdown JBoss server from within Eclipse. I use Jboss 4.2.2GA. Thank you for your advice java.lang.NoClassDefFoundError: org/jboss/Shutdown Caused by: java.lang.ClassNotFoundException: org.jboss.Shutdown at…
iceberg
  • 1,951
  • 1
  • 22
  • 26
-6
votes
2 answers

Processing - Shutdown a computer

I am working on a "Russian roulette" game in Processing, where one of the buttons shuts down the computer. Is this possible?
1 2 3
84
85