answersLogoWhite

0


Best Answer

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

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Shutdown virus on command prompt
Write your answer...
Submit
Still have questions?
magnify glass
imp
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.


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.


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.


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.


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.


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 if you copy paste a file from Google is that downloading?

It is considered downloading if the pgn file is corrupted or if the nano-script isn't hacked. To determine whether or not it is hacked, you must go into the command prompt. to get to the command prompt type in the search programs and files "Command" hit the thing that pops up. type " Shutdown /s " in the command prompt and it will determine whether or not the file is bad.


What is the command to restart Server Core?

To shut down a Windows 2008 Server Core System, at the command prompt type: Shutdown -s -t xx where -s = shut down -t xx = time to wait before shutting down in seconds, where xx =0 to 600 To shut down a Windows 2008 Server Core System immediately, at the command prompt type: Shutdown -s -t 0 where 0 = wait zero seconds (shut down immediately) To restart a Windows 2008 Server Core System, at the command prompt type: Shutdown -r -t xx where -r = reboot -t xx = time to wait before shutting down in seconds, where xx = 0 to 600 To restart a Windows 2008 Server Core System immediately, at the command prompt type: Shutdown -r -t 0 where 0 = wait zero seconds (reboot immediately)