[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

shutdown script does not run with remote shutdown

Posted on 2008-06-10
3
Medium Priority
?
288 Views
Last Modified: 2008-07-30
We have a shutdown script which runs fine when the user turns off the computer manually. The script does also run when a user is logged on to a computer and a remote shutdown command is sent to the computer. The script doesn't run when nobody is logged on to the computer and a remote shutdown is sendto the computer. Can anybody explain this behavior?
0
Comment
Question by:fbict
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 44

Accepted Solution

by:
scrathcyboy earned 1000 total points
ID: 21805868
What you are seeing is exactly what one would expect on an M$ OS.  Someone has to be logged into the computer, in order for the OS to run a script.  i.e scripting needs to be run by a user.  If you want to get around this, you can either run the script as a SERVICE -- which means the OS itself is the "owner" and runner of the script, log a person logged in.  The other way is to use a Task Scheduler which is also a SYSTEM service, and it can run scripts without a user being logged in.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question