Another setting you will want to change on server 2008 is the Processor 
scheduling.  On servers this is set to Background services by default.  For a 
server primarily running scripts it is much better to set it for Programs.

To find this setting:
 Control Panel -> System -> Advanced System Settings
> -> Advanced tab -> Performance ->Advanced tab -> click Programs


>>> On 2/6/2013 at 6:53 AM, <[email protected]> wrote:
> I was having the same problem after I started running my scripts on a
> virtual Windows 2008 Server R2. I too was using the Windows Task
> Scheduler to schedule and run my scripts . The issue was that the
> Windows Task Scheduler was not able to interact with the screen. After a
> bit of research I discovered that the Windows Task Scheduler has an
> 'Allow service to interact with desktop' option that is turned off in
> Windows Server 2008 as part of the Windows Service Hardening changes to
> this OS, as well as Windows 7. 
> 
>  
> 
> To get around this I scheduled the scripts using the Windows Task
> Scheduler to start Boston with only one argument - the script file
> path\file name (removed /r ScriptName). Boston's scheduler kicks up the
> script.
> 
>  
> 
> This works well except now I am experiencing issues with screen/mouse
> latency a lag in response time. An example of the VM appearing to be
> sleeping or unresponsive is that scheduled scripts timeout after
> attempting to access a file location, triggering a 'network path not
> found' error. If the script is run again manually the script is able to
> access the file. It's like the VM is in sleep mode and once the initial
> file requests have failed, the VM wakes up and responds normally to
> subsequent file requests. I verified the VM's performance options which
> are set as follows:
> 
> Screensaver  off
> Control Panel -> Power Settings -> Set power plan to "High Performance" 
> Start -> Settings -> Control Panel -> System -> Advanced System Settings
> -> Advanced tab -> Performance -> Visual effects -> select and check
> "Adjust for best performance" 
> Start -> Settings -> Control Panel -> System -> Advanced System Settings
> -> Advanced tab -> Performance -> Processor Scheduling -> Adjust for
> best performance of  "Background services" (same as image above)
> 
> Has anyone experienced screen/mouse latency or response time issues
> scheduling scripts in the same environment?
> 
> Jennifer Shwajlyk
> 
> Clinical Programmer Analyst BS, RN
> 
> (518)775-4185
> 
> [email protected] 
> 
>    
> 
> ________________________________
> 
> From: [email protected] [mailto:[email protected]] 
> Sent: Tuesday, February 05, 2013 1:42 PM
> To: [email protected] 
> Subject: RE: [talkbws] Boston Not Closing on Windows 7
> 
>  
> 
> Hi,
> 
> I actually had this same issue, but it happened sporadically.  It would
> close 5 to 10 times without issue, and then the next time wouldn't
> close.  It worked the same way you explained-once I clicked on the title
> bar, it closed.  After talking with support, I ended up making a
> change-I just leave BWS open and use the BWS scheduler instead of the
> Windows Task Scheduler.  In my case that wasn't a big problem because I
> was using it on a virtual machine that was dedicated to BWS anyway, so I
> just dropped the issue.
> 
> Anyway, if you find a solution, I hope you will post it here or send me
> an email!
> 
> Thanks,
> 
> Darryl Clemmons
> 
> Systems Analyst
> 
>  
> 
> Phone - (252)535-8562
> 
> Fax - (252)535-8563
> 
> email - [email protected] <mailto:[email protected]> 
> 
> Website - www.halifaxregional.org <http://www.halifaxregional.org> 
> 
>  
> 
> From: [email protected] [mailto:[email protected]] 
> Sent: Tuesday, February 05, 2013 12:53 PM
> To: [email protected] 
> Subject: RE: [talkbws] Boston Not Closing on Windows 7
> 
>  
> 
> Thanks for your responses.  The issue doesn't appear to be with any
> steps in the scripts, as the scripts complete successfully sending all
> necessary email notifications, closing connections and setting the
> Shutdown BWS property and exiting out of the routine.  If I look at the
> title bar of the BWS application after the script has completed, it
> still says running, however, if I click on the title bar, it changes to
> show that it's shutting down.  It will then eventually shutdown
> (sometimes 5 minutes after doing this).
> 
>  
> 
> Anyways, thanks for the responses.  It looks like this hasn't been an
> issue anyone has come across already, so I'll be contacting support.
> 
> Thanks,
> 
> Ryan Rush
> Supervisor Data & Development
> One Revenue Cycle Systems Support - Providence Health & Services
> 4400 NE Halsey St Building 1, Suite #110
> Portland, OR 97213
> t: 503.215.4441
> [email protected] <mailto:[email protected]>  
> 
>  
> 
> From: [email protected] [mailto:[email protected]] 
> Sent: Friday, February 01, 2013 11:30 AM
> To: [email protected] 
> Subject: RE: [talkbws] Boston Not Closing on Windows 7
> 
>  
> 
> Since BWS is running locally, I don't believe it would be network
> related.  I'm not sure how exactly BWS works, but I'm assuming it's a
> server/client setup, with BWS being the server role, and VB being the
> client role (otherwise, how could you have more than one script running
> or have the ability to share across instances).  If that's the case,
> then it could be rpc related, and could be a group policy governing rpc.
> Thom would be better able to answer that.
> 
>  
> 
> From: [email protected] [mailto:[email protected]] 
> Sent: Friday, February 01, 2013 1:45 PM
> To: [email protected] 
> Subject: Re: [talkbws] Boston Not Closing on Windows 7
> 
>  
> 
> I suspect that your scripts are coming to a process that can't complete.
> Consequently the script hangs at that point.
> 
>  
> 
> For instance, I have a script that sends an email before calling the
> close process.  My development machine IP address is not authorized on
> the mail server.  Therefore when I run the script from my development
> machine it stops when it hits the send email function.
> 
>  
> 
> I suggest setting a break point and step through the script to see where
> it stops.  Then you will have to troubleshoot why it stops where it
> does.  Possibly it is related to the brand new PC not being authorized
> to interact on your network?  But don't get hung up on that possibility.
> Good troubleshooting requires an open mind.
> 
>  
> 
> I hope this helps!
> 
> 
> 
>  
> 
>  
> 
> May God richly bless you!
> 
> Bill
> 
>  
> 
> But with Christ, we have access in a one-to-one relationship, for, as in
> the Old Testament, it was more one of worship and awe, a vertical
> relationship. The New Testament, on the other hand, we look across at a
> Jesus who looks familiar, horizontal. The combination is what makes the
> Cross.  Bono
> 
>>>> On 2/1/2013 at 10:20 AM, <[email protected]> wrote:
>> All - We're running into an issue as we're upgrading our Boston
> Workstation 
>> machines to Windows 7 (technically just getting new machines with
> Windows 7 
>> on them).  What's happening is that Boston doesn't completely
> close/shutdown, 
>> or the shutdown is delayed for hours.  I can get it to close by
> clicking the 
>> X to close it, but the problem is that we schedule these scripts using
> 
>> Windows Task Scheduler.  The scheduled scripts use the Shutdown 
>> property/command within Boston once they're complete, but since the
> Boston 
>> process never actually ends, the scheduled task still reports the task
> as 
>> running.  This causes issues as the recurring task won't start again
> until 
>> the last run of the task has ended.
>> 
>> At any rate, I'm wondering if anyone else out in the community has
> come 
>> across this issue with running Boston on Windows 7, and if so, if
> they've 
>> found any solutions to it.
>> 
>> Some further background:  UAC is turned off on these machines and the
> user 
>> account logged in while the scripts are running is a local admin on
> the 
>> machine.
>> 
>> Thanks,
>> 
>> Ryan Rush
>> Supervisor Data & Development
>> One Revenue Cycle Systems Support - Providence Health & Services
>> 4400 NE Halsey St Building 1, Suite #110
>> Portland, OR 97213
>> t: 503.215.4441
>> [email protected]<mailto:[email protected]>
>> 
>> 
>> 
>> ________________________________
>> This message is intended for the sole use of the addressee, and may
> contain 
>> information that is privileged, confidential and exempt from
> disclosure under 
>> applicable law. If you are not the addressee you are hereby notified
> that you 
>> may not use, copy, disclose, or distribute to anyone the message or
> any 
>> information contained in the message. If you have received this
> message in 
>> error, please immediately advise the sender by reply email and delete
> this 
>> message.
>> 
>> ---  To post a message to this list, send mail to: [email protected] 
> You are 
>> currently subscribed as: [email protected]    Unsubscribe in the customer
> center 
>> on our website: 
>> 
> http://www.bostonworkstation.com/customer_center/virtual_user_group_talk 
> .aspx 
> 
> ---  To post a message to this list, send mail to: [email protected] 
> You are currently subscribed as: [email protected]    Unsubscribe in
> the customer center on our website: 
> http://www.bostonworkstation.com/customer_center/virtual_user_group_talk 
> .aspx   
> CONFIDENTIALITY NOTICE: This e-mail message (including attachments)
> is covered by the Electronic Communications Privacy Act, 18 U.S.C.
> 2510-2521, and is intended only for the person or entity to which it
> is addressed and may contain confidential and/or privileged material.
> Any unauthorized review, use, disclosure, dissemination, copying,
> forwarding or distribution is prohibited. If you are not the intended
> recipient, please contact the sender by reply e-mail and destroy all
> copies of the original message. If you are the intended recipient but
> do not wish to receive communication through this medium, please
> advise the sender immediately.
> ---  To post a message to this list, send mail to: [email protected] 
> You are currently subscribed as: [email protected]    Unsubscribe
> in the customer center on our website: 
> http://www.bostonworkstation.com/customer_center/virtual_user_group_talk 
> .aspx   
> 
>  
> 
> ________________________________
> 
> This message is intended for the sole use of the addressee, and may
> contain information that is privileged, confidential and exempt from
> disclosure under applicable law. If you are not the addressee you are
> hereby notified that you may not use, copy, disclose, or distribute to
> anyone the message or any information contained in the message. If you
> have received this message in error, please immediately advise the
> sender by reply email and delete this message.
> 
> ---  To post a message to this list, send mail to: [email protected] 
> You are currently subscribed as: [email protected]    Unsubscribe
> in the customer center on our website: 
> http://www.bostonworkstation.com/customer_center/virtual_user_group_talk 
> .aspx   
> The information contained in this e-mail message is intended only for
> use of the individual or entity named above.  If the reader of this
> message is not the intended recipient, or the employee or agent
> responsible to deliver it to the intended recipient, you are hereby
> notified that any dissemination, distribution or copying of this
> communication is strictly prohibited.  If you have received this
> communication in error, please notify the sender at the above
> address/telephone number. 
>  
> ---  To post a message to this list, send mail to: [email protected] 
> You are currently subscribed as: [email protected]    Unsubscribe in the
> customer center on our website:
> http://www.bostonworkstation.com/customer_center/virtual_user_group_talk 
> .aspx   
> 
> ---  To post a message to this list, send mail to: [email protected]    You 
> are 
> currently subscribed as: [email protected]    Unsubscribe in the customer center 
> on our website: 
> http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx 
CONFIDENTIALITY NOTICE: This e-mail message (including attachments)
is covered by the Electronic Communications Privacy Act, 18 U.S.C.
2510-2521, and is intended only for the person or entity to which it
is addressed and may contain confidential and/or privileged material.
Any unauthorized review, use, disclosure, dissemination, copying,
forwarding or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message. If you are the intended recipient but
do not wish to receive communication through this medium, please
advise the sender immediately.


---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the 
customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx   

Reply via email to