Shutdown Your Computer or a Remote PC via Command Prompt
The majority of us shutdown our PCs utilizing the force catch given as a part of the Start menu. A few of us utilize the physical force catch on our machines. Not very many individuals really utilize different method for closing down a PC and even less is the quantity of individuals who utilize the summon brief to shutdown a PC.
A purpose behind this is that the vast majority of us don’t have the foggiest idea about that the charge brief can be utilized to not just shutdown, restart or log off our PC in a flash additionally to shutdown a remote PC gave you have regulatory access. It can likewise be utilized to rest a PC and give a remark containing the purpose behind shutdown. This post will demonstrate to you industry standards to do this.
Shutdown PC with summon prompt Required Shutdown Your Computer or a Remote PC via Command Prompt
A PC running Windows (XP, Vista, 7, 8 or 8.1) with the summon brief working flawlessly, i.e. not debilitated by an infection.
Introductory Steps to Shutdown Your Computer or a Remote PC via Command Prompt
1) Press Windows Key + R.
2) Enter CMD and press Enter.
This will begin the summon brief. Take after the directions underneath relying upon what you need to do.
Shutdown Local Machine (Your Computer)
Sort “shutdown – s” without the quotes in the order incite and press Enter. Shutdown is the charge being executed and the switch – s advises the PC to shutdown.
Restart your Local Computer
Sort “shutdown – r” in the order incite and press Enter. For this situation, the charge switch – r is advising the PC to restart after shutdown.
Log Off the Current User
Sort “shutdown – l” in the order incite and press Enter. The – l order switch advises the PC to log off.
Shutdown a Remote Computer i e Shutdown Your Computer or a Remote PC via Command Prompt
Sort “shutdown – s – m \\name of the PC” in the charge incite and press Enter. Supplant \\name of the PC with the real name of the remote PC you are attempting to shutdown. As specified prior, you must have managerial access to the PC you are attempting to shutdown. To know whether you have managerial access, press Windows key + R and afterward sort the PC’s name and press Enter.
Note: If you don’t recall the remote’s name PC, you can search for it by opening a rundown of the considerable number of PCs you are joined with by executing “net perspective” in order brief.
In the event that you can interface with the PC, you will be asked to login with your username and secret key. After entering them, a window will show the rundown of the considerable number of indexes accessible to you. This ought to assist you with knowing whether you can or can’t shutdown the remote PC.
Rest a Local Computer Shutdown Your Computer or a Remote PC via Command Prompt
Sort in “Rundll32.exe Powrprof.dll,SetSuspendState” without the quotes and press Enter. Your PC ought to rest, on the off chance that it doesn’t, then you must empower hibernation to do this.
Shutdown your or a remote PC after a particular time
Sort “shutdown – s – t 60” to shutdown your PC following 60 seconds. After executing this, a commencement clock showing a notice message will be appeared. This charge utilizes the – t summon switch took after by a variable (which is 60 for this situation) which speaks to the quantity of seconds after which the PC will shutdown.
Show a Message containing the purpose behind shutdown
Sort shutdown – s – t 500 – c “I am drained. I would prefer not to work any longer.” (with the quotes) in the Command Prompt and press Enter. The – c switch is utilized as a part of the code to give the purpose behind closing down and what is followed in quotes will be showed in the dialog box as the reason. This can be utilized to show a wide range of entertaining messages. One case :-
Skynet has gotten to be mindful. John Connor did not stop me. You can not utilize your PC any longer.
Stop a System Shutdown Shutdown Your Computer or a Remote PC via Command Prompt
Sort “shutdown – an” and press Enter. This will prevent the framework from closing down if the commencement to close down has not came to 0.