Shutdown.EXE as non-admin

M

Matthew Clark

I am posting this to multiple groups in the hope one may have an answer...


I have a faculty member who wants a lab shutdown at a certain time every
night. The users log in as LAB with non-admin privileges. I thought the
best way to do this is, the first time these machines boot up and logon, and
are logged in as an admin, to run a command to schedule a shutdown at X
every night. After the first time they log in after a ghost, they become a
non-admin... The problem is, I tried it, and it does not work. If I check
AT, it says Error, and is scheduled for the next day. It seems
Shutdown.exe must have more than Power User privileges (Which these users
have). I thought, if I schedule a task and have it run, it should run as
the system account which if I check services, the task manager is set to use
the system account. Does anyone have any suggestions or has done this
before and knows of a way to do it? I need it to only be this one lab, but
we use the same ghost image on more than this one lab...

Thanks,

Matthew
 
G

Guest

my expeirence with the Scheduled Tasks program, is that
every time you modify the settings, you HAVE TO re-enter
the password. It doesn't matter what account the users are
logged into, as long as the task is run with Administrator
privilages, and the password is correct. There is a way to
test it.
Create a batch file and call it: autoshutdown.bat
then type:

cd \windows\system32 (or: cd \WINNT\system32- depends on
your config)
shutdown -t 60 -s -c "nightly shutdown... to abort click
black box and press the space bar" -f
pause
shutdown -a

When you schedule the task, use this batch file as the
program. You can put it anywhere on the hard drive. Now,
after you select a time for it to run, re-enter the
password. Click OK, then OK again. Now, right click the
task and select RUN. If it doesn't work, on the Menu bar,
goto Views, Details, and it will give you the reason why
the task wasn't able to run. Good luck.

(e-mail address removed) if you have any questions.

-mdhspam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top