Re: log off policy to force reboot



OK, currently it's a log off batch file. I did that assuming that it should run when the user logs off. But, yest it is in a Users OU. So you're saying I should keep it as a log off script, but place it in the Computer Accounts OU? Makes sense. I'll try that. Thanks,

"news.wavecable.com" <rich.weber@xxxxxxxxx> wrote in message news:F5A46BE7-984E-4042-A795-55C1116B0472@xxxxxxxxxxxxxxxx
Is your policy applied to an OU that contains user or computer objects? Second, is your script a log off script or a shutdown script? Log off scripts should be applied to OUs that contain user objects since it is a user configuration option, and won't apply to computer objects. If it is a shutdown script, it should be applied to an OU with computer objects.

This is pretty basic stuff, but since you didn't supply any info regarding how you were doing things, we should start with the basics.

Rich


"Jeremy Schubert" <jscc@xxxxxxxxxxxxxxxxxx> wrote in message news:A44B098E-D9A9-401E-93E6-BDA44BDFDBF6@xxxxxxxxxxxxxxxx
We have deep freeze on our computers, so I want the computers to be automatically rebooted when students log off. I created a logoff scritp that uses the shutdown command to reboot the computers in five seconds and to provide a user message. Double clicking on it on a machine works, so I know the script is correct. But the script never takes effect. Any suggestions of how to force the reboot. I see that I can use gpo to remove/grey out the shutdown command and or the logoff command. If I grey out the log off command, the kids can still choose to restart or shutdown. I only want the option to restart. Any suggestions?
Thanks,
Jeremy


.



Relevant Pages

  • RE: Script or Other Method to Reboot
    ... We need different privileges when using Shutdown command and shutdown the ... Yes, if the user has sufficient knowledge and can edit the VB script, we ... >> run a batch file to restart the computer, ...
    (microsoft.public.windowsxp.configuration_manage)
  • RE: Finetuning: Remote Shutdown with WMI, some errors occur.
    ... Also we would like that a workstation that's locked is also shutdown by this ... script to shutdown all approx. ... Dim strBase, strFilter, strAttributes, strQuery, objRecordSet ... Const OpenAsDefault = -2 ...
    (microsoft.public.windows.server.scripting)
  • Re: VBscript that restart the domain comptuer
    ... If you have a shutdown script that cleans up the profiles, ... permissions can restart all computers in a list remotely. ... I have already VB script I ...
    (microsoft.public.windows.server.active_directory)
  • RE: Script or Other Method to Reboot
    ... > We need different privileges when using Shutdown command and shutdown the ... > that only administrator will use command to shutdown the computers. ... > we may need to compile the script. ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Finetuning: Remote Shutdown with WMI, some errors occur.
    ... Allows shutdown, poweroff, or reboot of multiple remote systems. ... - generic unhandled script compile or runtime error; ... "Specify 1 and only one shutdown action" ... Dim erNumber, erDesc ...
    (microsoft.public.windows.server.scripting)