Shutdown Your Figurer Or A Remote Pc Via Ascendence Prompt

Most of us shutdown our computers using the ability push given inward the Start menu. Some of us piece of employment the physical ability push on our machines. Very few people truly piece of employment other agency of shutting downwardly a reckoner in addition to fifty-fifty less is the let on of people who piece of employment the dominance prompt to shutdown a computer.

Influenza A virus subtype H5N1 argue for this is that almost of us don't know that the dominance prompt tin live on used to not only shutdown, restart or log off our computer at nowadays but likewise to shutdown a remote reckoner provided y'all convey administrative access. It tin likewise live on used to hibernate a reckoner in addition to give a comment containing the argue for shutdown. This postal service volition exhibit y'all how to create all this.

Most of us shutdown our computers using the ability push given inward the Start bill of fare Shutdown Your Computer or a Remote PC via Command Prompt
Required
Influenza A virus subtype H5N1 reckoner running Windows (XP, Vista, 7, 8, 8.1 or 10) alongside the dominance prompt working perfectly, i.e. non disabled past times a virus.

Initial Steps
1) Press Windows Key + R.
2) Enter CMD in addition to press Enter.

This volition commencement the dominance prompt. Follow the instructions below depending on what y'all desire to do.

Shutdown Local Machine (Your Computer)
Type "shutdown -s" without the quotes inward the command prompt in addition to press Enter. Shutdown is the dominance beingness executed in addition to the switch -s tells the reckoner to shutdown.

Restart your Local Computer
Type "shutdown -r" inward the dominance prompt in addition to press Enter. In this case, the dominance switch -r is telling the reckoner to restart later shutdown.

Log Off the Current User
Type "shutdown -l" inward the dominance prompt in addition to press Enter. The -l dominance switch tells the reckoner to log off.

Shutdown a Remote Computer
Type "shutdown -s -m \\name of the computer" inward the dominance prompt in addition to press Enter. Replace \\name of the reckoner alongside the actual cry of the remote reckoner y'all are trying to shutdown. As mentioned earlier, y'all must convey administrative access to the reckoner y'all are trying to shutdown. To know if y'all convey administrative access, press Windows telephone commutation + R in addition to and thus type the cry of the reckoner in addition to press Enter.

Note: If y'all don't think the cry of the remote computer, y'all tin hold off for it past times opening a listing of all the computers y'all are connected to past times executing "net view" inward dominance prompt.

If y'all tin connect to the computer, y'all volition live on asked to login alongside your username in addition to password. Upon entering them, a window volition display the listing of all the directories available to you. This should attention y'all know whether y'all tin or cannot shutdown the remote computer.

Hibernate a Local Computer
Type inward "Rundll32.exe Powrprof.dll,SetSuspendState" without the quotes in addition to press Enter. Your reckoner should hibernate, if it does not, in addition to thus y'all must enable hibernation to create this.

Shutdown your or a remote reckoner later a specific time
Type "shutdown -s -t 60" to shutdown your reckoner later sixty seconds. Upon executing this, a countdown timer displaying a alert message volition live on shown. This dominance uses the -t dominance switch followed past times a variable (which is sixty inward this case) which represents the let on of seconds later which the reckoner volition shutdown.

Display a Message containing the argue for shutdown
Type shutdown -s  -t 500 -c "I am tired. I don't desire to piece of employment anymore." (with the quotes) inward the Command Prompt in addition to press Enter. The -c switch is used inward the code to give the argue for shutting downwardly in addition to what is followed inward quotes volition live on displayed inward the dialog box every bit the reason. This tin live on used to display all sorts of funny messages. One illustration :-

Skynet has drib dead self aware. John Connor did non halt me. You tin non piece of employment your PC anymore.

Stop a System Shutdown
Type "shutdown -a" in addition to press Enter. This volition halt the organisation from shutting downwardly if the countdown to nigh downwardly has non reached 0.

Related : Command Prompt Tricks

No comments:

Post a Comment