Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Remotely rebooting a computer - no domain, have password but not the same


  • Please log in to reply
2 replies to this topic

#1 ConorEBM

ConorEBM

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:06:03 PM

Posted 09 February 2016 - 08:38 AM

Hi,

 

I have a few computers around that I want to be able to reboot remotely. The problem is, I do not have the same login details as those machines, and neither are they in a domain with me. I do however have admin login credentials on those machines. What parameters would I use to remotely reboot these machines?


Edited by hamluis, 09 February 2016 - 12:33 PM.
Moved from Win 7 to Networking - Hamluis.


BC AdBot (Login to Remove)

 


#2 Kilroy

Kilroy

  • BC Advisor
  • 3,442 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Launderdale, MN
  • Local time:01:03 PM

Posted 10 February 2016 - 08:43 AM

Here is what I use.  However, I have the advantage of having the same admin credentials on both machines.  To use this you will need to create admin accounts on your machine to match the remote machines and run with those credentials.  If this is not possible, for example they all use the Administrator account, you might create a local service account with admin rights, lets say Reboot, with the same password on all machines.  Then launch the batch file on your machine with those credentials.

:@ECHO OFF
CLS
SET /P MACHINE="Enter Machine Name: " %=%
Shutdown /m \\%MACHINE% /r /t 1
PAUSE

Option 2.  Use PsExec.  This is a Sysinternals, a company bought by Microsoft, tool that allows you to run commands on a remote machine.


Edited by Kilroy, 10 February 2016 - 08:46 AM.


#3 ConorEBM

ConorEBM
  • Topic Starter

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:06:03 PM

Posted 10 February 2016 - 11:21 AM

Thanks for the reply, Kilroy! The service user idea sounds like the easiest solution - create that set of credentials on all the machines (even if they are unused) and then use those in any batch file. I'll be giving it a shot when I can :)

 

Thanks for the PsExec pointer as well - that could be useful for some other things I've been looking at.


Edited by ConorEBM, 10 February 2016 - 11:22 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users