answersLogoWhite

0

Although not a virus, the command shutdown (Windows or *nix) will shutdown a computer.

For Windows, the usage is shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy] with the usage: -i Display GUI interface, must be the first option -l Log off (cannot be used with -m option) -s Shutdown the computer -r Shutdown and restart the computer -a Abort a system shutdown -m \\computername Remote computer to shutdown/restart/abort -t xx Set timeout for shutdown to xx seconds -c "comment" Shutdown comment (maximum of 127 characters) -f Forces running applications to close without warning -d [u] [p]:xx:yy The reason code for the shutdown u is the user code p is a planned shutdown code xx is the major reason code (positive integer less than 256) yy is the minor reason code (positive integer less than 65536)

In *nix, the following applies:

shutdown [-a][-t sec][-krhnfFc][time][warning-message] -a Use /etc/shutdown.allow. -t sec Tell init to wait sec seconds between sending processes the warning and the kill signal, before changing to another runlevel. -k Don't really shutdown; only send the warning messages to everybody. -r Reboot after shutdown. -h Halt after shutdown. -n Don't call init to do the shutdown but do it ourselves. The use of this option is discouraged, and its results are not always what you'd expect. -f Skip fsck on reboot. -F Force fsck on reboot. -c Cancel an already running shutdown. With this option it is of course not possible to give the time argument, but you can enter an explanatory message on the command line that will be sent to all users. time When to shutdown. warning-message Message to send to all users.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

How do you disable the close button in a fake PC virus created in notepad?

you have to open command prompt and then write: shutdown -a and then you press enter and it will stop


How do you close from command prompt?

Type exit to close the Command Prompt window, or click the red X in the corner. To shut down your computer, type shutdown -s


How do you shutdown a client computer from the server system by selecting the required client from the LAN?

Go to command prompt c:\>shutdown -i Then give the client ip Then give shutdown.


What is a fake virus?

A fake virus is something that looks like a virus, but is a "contained virus" in a way because the user of the "infected" computer can just shutdown their computer, and it will be all good again. A good way to make these fake viruses are via command prompt (batch files), and java scripts.


How you shutdown a computer through command line on other computer while both PC are on the different network or same network DurbanPoizin?

Shutdown over Network... You can simply go to the computer on the network through the command prompt and type: Shutdown -s This will turn your computer off in 60 seconds to stop this just type: Shutdown -a There are many more options to the Shutdown command.


How do you restart to the command prompt?

Restart your computer and a soon as Windows starts loading, press F8. There should be numerous options including one that says something like, "Safe Mode with Command Prompt." Arrow down to that option and press enter.


What is the purpose of the command prompt?

the command prompt is a program where you can command the computer to perform functions such as shutdown, restart, open a certain file, start a program, etc.


Which command turns on a router interface?

While in the interface mode your prompt should look like this:RouterName(config-if)#Then type the command:RouterName(config-if)# no shutdown


How do you standby a computer with command prompt?

shutdown -lThe computer must have hibernate set to off.Then run the following command from command prompt%windir%\System32\rundll32.exe powrprof.dll,SetSuspendStateIf Hibernate is ON the above command will place your computer in hibernate state


What command promps do?

I presume you are asking for an example of a Brief command prompt? First go to a CMD shell by selecting the windows button in the bottom left corner and typing CMD after "RUN". A black screen will appear where you can enter any prompt such as: ipconfig - IP confirguration Dir - directory listing


What dos command should use to shutdown computer at 6.45 pm?

To schedule a shutdown of your computer at 6:45 PM using the command prompt, you can use the following command: shutdown -s -t 0 However, to set it for a specific time, you will need to combine it with the Task Scheduler or create a batch file. Alternatively, you can use the command at 18:45 shutdown -s after enabling the Task Scheduler service if you are on an older version of Windows.


What command do you use if you want to terminate your windows workstation?

To terminate (shut down) your Windows workstation, you can use the command shutdown /s /t 0 in the Command Prompt or PowerShell. This command initiates a shutdown immediately (/t 0 specifies a timeout of 0 seconds). Alternatively, you can also access the shutdown option through the Start menu by selecting "Shut down" or "Restart."