Solved

Force reboot on network machines

Posted on 2015-02-17
9
72 Views
Last Modified: 2015-02-24
I need to know how to force network pc's to reboot at a specific time or date.

thank you.
0
Comment
Question by:JerseyGiant
  • 3
  • 3
  • 3
9 Comments
 
LVL 32

Assisted Solution

by:it_saige
it_saige earned 300 total points
Comment Utility
If you are talking about using a command line, then you could use the Shutdown command; e.g. -
shutdown /r /m \\somecomputername

Open in new window


https://technet.microsoft.com/en-us/library/cc770416.aspx

-saige-
0
 
LVL 11

Expert Comment

by:loftyworm
Comment Utility
it_saige is correct.
To add the specific time, use a scheduled task.  From the command prompt that is the AT command, or the gui is just as good.
so, create a Restart.bat file with note pad, add the systems you want rebooted.  Then use the Task Scheduler to set the time you want it done.
0
 

Author Comment

by:JerseyGiant
Comment Utility
nothing in AD to do this if the machine is unattended for a day or  so?> i want inactive sessions, left idle for a day to automatically reboot or have them reboot at 3:00 am
0
 
LVL 11

Expert Comment

by:loftyworm
Comment Utility
reboot, or logged off??
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 32

Expert Comment

by:it_saige
Comment Utility
Are we talking about Terminal Services Sessions?  If so, there are Group Policies that handle this.

https://technet.microsoft.com/en-us/library/cc758177%28v=ws.10%29.aspx

If we are talking about Physical Computers, there are no policies (save for the ability to force a screen saver on lockout).

-saige-
0
 

Author Comment

by:JerseyGiant
Comment Utility
reboot.
0
 

Author Comment

by:JerseyGiant
Comment Utility
not terminal session.. just plain ole user logged in to the network for 5 days.. i would like to have the pc's on the network to reboot once or twice a week .. security reasons.. dont want them logged in all week
0
 
LVL 32

Accepted Solution

by:
it_saige earned 300 total points
Comment Utility
If it is for a physical computer.  Here is what I would recommend.  Create an application that is ran via scheduled task (lets say at 3AM).  This application would detect the users inactivity.  If they are inactive after so long, it performs a reboot.  (Just for sanity's sake, I would ensure that the application checks to ensure that it is not performing the inactivity check during normal business hours).

Here is a code project article discussing checking for user inactivity in C# - http://www.codeproject.com/Articles/9104/How-to-check-for-user-inactivity-with-and-without

-saige-
0
 
LVL 11

Assisted Solution

by:loftyworm
loftyworm earned 200 total points
Comment Utility
Also,
 You may use the regular GPO to log off users who are inactive.  Attach a GPO to this to have a "Run on logoff" to reboot the host.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Upper back Pain: My back hurt for months. Upper back, mostly my neck, spine and across my shoulder blades. I was getting headaches too, that felt like they were caused by tension in my shoulders, but now I feel fine! I'm sharing this hoping someone…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now