Solved

Force reboot on network machines

Posted on 2015-02-17
9
73 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 33

Assisted Solution

by:it_saige
it_saige earned 300 total points
ID: 40614869
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
ID: 40614880
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
ID: 40614886
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 11

Expert Comment

by:loftyworm
ID: 40614899
reboot, or logged off??
0
 
LVL 33

Expert Comment

by:it_saige
ID: 40614905
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
ID: 40615008
reboot.
0
 

Author Comment

by:JerseyGiant
ID: 40615010
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 33

Accepted Solution

by:
it_saige earned 300 total points
ID: 40615024
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
ID: 40615207
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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

This article may be useful for troubleshooting your PC. Power Supply - no lights or fans running If you have no lights or fans running then either you power is bad, turned off (check switch) or the power supply needs to be replaced. That's a r…
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
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 8, without downloading adware.

772 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