Discussion Locked

Can I shutdown my workstatiosns

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Hi, I wanted to know If I can configure my 175 workstations to shutdown through schdule service after all the computer lab classes have finished. Students just leave the workstations turned on and i want then to be shutdown everyday. Please do tell me the step by step configuration and yes....my workstations are compaq branded PIIs and PIIIs so please tell me how the shutdown + Power Off will be possible to configure in the scheduler service?

5 replies

by gary mcp

Yes, you can shut pcs down automatically. The method used depends on the operating system on the workstations.
For Win9x/ME, you can run a batch file with the following commands:

rundll32.exe shell32.dll,SHExitWindowsEx n

where n is one, or a combination of, the following numbers:

0 - LOGOFF
1 - SHUTDOWN
2 - REBOOT
4 - FORCE
8 - POWEROFF

For NT, 2000, XP, you need to enable the AT service, then type at the command line:
AT "timetoshutdown" shutdown /l /y /c

/l turns off local pc
/y turns off any prompts
/c closes any open programs

OR, you can use one of the many third party solutions out there, some of which are free.

Hope This Helps,
Gary

by tellmewhy

How do I run the At Service?......and I want to give a specific time to my workstation to shutdown.....how do i do that?.......thanx for helping...oh Sorry I forgot to mention that my workstations are all Windows NT4.0 Workstations.

by gary mcp

What you have to do is enable the task scheduler service on each pc. You can do this with a login script command: net start schedule.

The command to schedule a shutdown is
AT 17:30 shutdown /l/y/c /every m,t,w,th,f,s,su

This will shut down the pcs, closing all applications, with no interaction from the user, at 5:30 every day.

You could probably run this from a login script too.

Hope this helps,
Gary

This discussion is closed to new replies.