Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Remotley Reboot Computers On A Different Subnet

Posted on 2013-10-25
2
Medium Priority
?
448 Views
Last Modified: 2013-10-25
This should be an easy one. I can remotely reboot a computer from 10.0.1.20 using the dos command of "shutdown /m \\10.0.1.22 /r /t 01 /y /f". What I would like to do is reboot the same computer 10.0.1.22 from i computer on the 192.168.100.100 subnet. When I run the same command from 192.168.100.100 i get error message "10.0.1.22 access is denied (5)". The 2 sites are connected by a vpn. I am trying to write a script that will reboot about 350 computers from one location.
Thanks in advance
0
Comment
Question by:portillosjohn
2 Comments
 
LVL 15

Accepted Solution

by:
achaldave earned 2000 total points
ID: 39600577
Make sure the account you are using to run command has administrative privileges on the remote computers, also check firewall is not blocking RPC ports on remote computers.
0
 

Author Comment

by:portillosjohn
ID: 39600625
Ah ha. It was the admin privileges.....
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question