Hi all,
I am looking for a script that would Remind/Warn the user not to Shutdown their Computer on a certain day.
i.e.., User should leave their computer ON.
We have a plan of Running Anti virus on all the Client machines, at the time of their absence on every Thursday by 11Pm.. So every Thursday we need to run across all the machines to switch it ON. We have 120 computers in our domain and all with Win XP.
So that batch script must not allow the User to Shutdown their computer on every Thursday with a warning message like the following.
"@ Msg %username% Please Do not Shutdown your computer today.."
or at least the Warning Message should pop-up when the choose Shutdown option.
Please try it and share with me.
Visva...
A script Reminding user not to shutdown..
Moderator: DosItHelp
-
- Posts: 287
- Joined: 16 Mar 2011 19:17
- Location: scriptingpros.com
- Contact:
Re: A script Reminding user not to shutdown..
I have to play nice because you are new.
It would be easier to set a group policy that disallows the user to shutdown on set date and time rather than giving them a message box with the accidental option of shutting down.
http://msdn.microsoft.com/en-us/library/ms815238.aspx
It would be easier to set a group policy that disallows the user to shutdown on set date and time rather than giving them a message box with the accidental option of shutting down.
http://msdn.microsoft.com/en-us/library/ms815238.aspx
Re: A script Reminding user not to shutdown..
☺
You must set their bios to allow for WakeupOnLan
You are very sportive, but I am too fat for that:we need to run across all the machines to switch it ON
Code: Select all
@WOLCMD.EXE 000D61C4EE6B 192.168.***.*** 255.255.255.0
Last edited by Ed Dyreen on 01 Jul 2011 13:18, edited 1 time in total.
-
- Posts: 287
- Joined: 16 Mar 2011 19:17
- Location: scriptingpros.com
- Contact:
Re: A script Reminding user not to shutdown..
Ed Dyreen wrote:☺You are very sportive, but I am too fat for that:we need to run across all the machines to switch it ONYou must set their bios to allow for WakeupOnLanCode: Select all
@WOLCMD.EXE 000D61C4EE6B 192.168.***.*** 255.255.255.0
Hush you bastard and stop being helpful.