Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Remotley Reboot Computers On A Different Subnet

Posted on 2013-10-25
2
Medium Priority
?
449 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

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

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…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Screencast - Getting to Know the Pipeline
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses

578 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