Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 87
  • Last Modified:

Force reboot on network machines

I need to know how to force network pc's to reboot at a specific time or date.

thank you.
0
JerseyGiant
Asked:
JerseyGiant
  • 3
  • 3
  • 3
3 Solutions
 
it_saigeDeveloperCommented:
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
 
loftywormCommented:
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
 
JerseyGiantAuthor Commented:
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
loftywormCommented:
reboot, or logged off??
0
 
it_saigeDeveloperCommented:
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
 
JerseyGiantAuthor Commented:
reboot.
0
 
JerseyGiantAuthor Commented:
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
 
it_saigeDeveloperCommented:
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
 
loftywormCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now