1
I need to restart remote machine for which Ip address and UserName/Password are known to me.
Tried but not working :- The remote machine does not have PowerShell enabled because my "Restart-Computer " fails. I could not use nbtstat command because I don't know the computer name. Also tried technet ms blog and similar stackoverflow question here but both needs computer name which I don't know.
Details :- The remote computer OS is Windoows 2008 server edition.
PS. Earlier asked this question at Stackoverflow and now moved here based on community suggestion.
Try remote desktop, login and shut down using start menu? – mt025 – 2016-08-06T15:29:31.757
@mt025 Could you share any detail who to do this having IP address and credentials. I want to restart because nothing is visible when login with RDP. – Sankalp – 2016-08-06T15:34:14.203
Are you on the same LAN as the remote machine? Are there any firewalls between you and it? – I say Reinstate Monica – 2016-08-06T16:10:56.037
@Sankalp What do you mean nothing is visible? What do you see? If you are able to login, you should be able to shutdown/restart? You can always do "shutdown -r -t 0" in command prompt to restart – mt025 – 2016-08-06T16:59:01.583
Can you not just run the remote shutdown command like so to complete the task: o{[|||||||||]]::;;::;;::;;;::;;::>
SHUTDOWN /M <IP ADDRESS> /R /F /T 01
.... What error message do you see when you try to run a remote shutdown with that syntax or something similar? – Pimp Juice IT – 2016-08-06T17:25:23.917@PIMP_JUICE_IT It says "computer name is not valid or remote shutdown is not supported.....contact system admin.<53> – Sankalp – 2016-08-06T21:31:29.090
Do you have physical or remote RDP access to this server? Do you have local admin credentials to authenticate remotely or locally to this server to perform admin operations such as remote shutdowns? You may need to open up WMI and RCP ports on this server or enable the remote administration rule or whatever it is called. Think about and research some of all that which I mentioned and report back when you get a chance if that helps you any. I think TCP port 135 for WMI\RCP inbound and outbound or remote administration may be needed. At the Server 2008 level open all that up, test, etc. – Pimp Juice IT – 2016-08-06T21:46:38.203