I need to create a small app (console or Windows) that automatically shuts off the computer, no questions asked. The OS can range from WinXP to Win 7.
We have some laptops that will be tested by a few users. These users log on as standard users. So, after X days the machine will need to shutdown, with no possibility that a non-admin user can cancel it.
What do you suggest?
I was thinking of creating a console app that runs something as simple as the following, but there must be a better and more secure way of doing this. Any help is appreciated.
Thanks.
Process.Start("shutdown","/s /t 0");
VM