0
votes
1answer
41 views

Redirecting Shutdown.exe errors to file [duplicate]

I'm creating a script to do rebooting of computers, and I need to report the success or failure of the shutdown.exe command as part of my script logging. I'm having an issue with redirecting the ...
2
votes
1answer
30 views

command for restart system properly making it ask for save/close open applications

I'm trying to edit a notepad's .txt on the desktop, and then restart: normally, when I press the restart button from the start menu, it allows me to save the .txt file: and then it shows me the ...
3
votes
1answer
901 views

Windows : How to detect if computer was shut down remotely?

A computer in domain is randomly shut down by someone (he was caught once)! He uses shutdown /s /f /t 0 /m \\computername in windows command line to accomplish this. After the incident some ...
2
votes
2answers
425 views

Shutdown Windows 8 [duplicate]

Possible Duplicate: How do I shutdown Windows 8? I haven't been able to find anything in the GUI of Windows 8 to shutdown the computer. So I have to open a Command Prompt and type ...
2
votes
1answer
132 views

Would I notice any difference from restart Windows via cmd and restart via Windows GUI?

I remote desktop my server computer a lot and I often use cmd to restart or shutdown the computer when it's needed. When in remote desktop you aren't allowed the option to restart unless you press Alt ...
4
votes
1answer
309 views

How to retrieve the list of computer shutdown timing for Windows OS?

Is it possible to retrieve the list of shutdown timing (regardless if it is shut down by the computer or by the user) for a Windows OS XP and up via command prompt or software or anything? For ...
3
votes
4answers
2k views

Shutting down a computer over the LAN

I want a command to shut down a computer on my LAN network that is running Windows 7 and has no password set. Is there any way to do this?
2
votes
2answers
9k views

How can I install updates and shut down from the command line?

I know that there is a simple way to shutdown the computer in command prompt, but is it possible to do system updates and then shutdown the computer in command prompt? For example, when Vista needs ...
0
votes
0answers
461 views

Shutdown command no longer broadcasts messages

The shutdown command has stopped broadcasting messages like this: luzar@ubuntu:~$ sudo shutdown -h -P +3 Please save your work now! Broadcast message from luzar@ubuntu (/dev/pts/0) at 11:57 ...
3
votes
3answers
6k views

Restart a windows computer without shutdown.exe

Is it possible, using only the command prompt, to restart a computer without shutdown.exe?
0
votes
3answers
1k views

shutdown.exe timer

I'm trying to run shutdown.exe -l -t 10 only showed shutdown help manual. I thought of inelegant but working solution of ping -n 10 localhost shutdown.exe -l How wasteful is this solution? ...
2
votes
6answers
23k views

Is it possible to shutdown a remote computer running Windows 7 via Telnet?

I've successfully connected to my Windows 7 desktop over wifi via Telnet from an XP Home netbook. To login, I use the following command: telnet -l "win7desktop\win7user" win7desktop win7user in ...
5
votes
6answers
3k views

How to shutdown instantly?

Is there any command by which I may shutdown my system instantly?
51
votes
9answers
132k views

How can I put the computer to sleep from Command Prompt/Run menu?

I know that almost everything on Windows, like opening any sort of application, can be done from the command prompt or from the Run menu. How can I put my computer to sleep or shut it down? What is ...
0
votes
1answer
2k views

What's the best way to convert this complex “takeown” command into a shutdown script?

I found this command here. The command is structured as a registry modification that will add a "Take Ownership" entry in the standard Windows Explorer file/directory context menu. I can see where ...