inactivity reboot not working

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

tloga
Contributor
Contributor
Posts: 26
Joined: Wed Mar 05, 2003 6:55 am

inactivity reboot not working

Post by tloga »

We just upgraded from v2.4 to 2.08r4.
We have some "express" computers that reboot after two minutes of inactivity.

We see two problems since the upgrade:
1. the inactivity timer gets reset every once in a while -- I suspect from our catalog page (catalog.mppl.org). Any way to stop that?
2. When it does reach inactivity it does not reboot.

Please help!

listed below is our INI file...

[Edited for brevity]

Scott
Site Admin
Site Admin
Posts: 2545
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

What version of Windows are you using?

--Scott

tloga
Contributor
Contributor
Posts: 26
Joined: Wed Mar 05, 2003 6:55 am

reboot problem

Post by tloga »

We use Win XP Pro -- with all of the critical updates loaded.

Scott
Site Admin
Site Admin
Posts: 2545
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Does the user have enough authority to reboot the computer?

There are some Windows Policies and security settings that will prevent the user from rebooting the computer. If the user does not have enough authority to reboot the computer that is logged on when running PWB, the comptuer will not reboot via PWB.

--Scott

tloga
Contributor
Contributor
Posts: 26
Joined: Wed Mar 05, 2003 6:55 am

NOT rebooting

Post by tloga »

The user has administrator access.

Scott
Site Admin
Site Admin
Posts: 2545
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

I have tested your INI file on several test computers and it seems to work.

Does the Inactivity dialog disaplay after the 2 minutes of inactivity?

If you hit Ctrl-Alt-Del, is the "Shutdown" button enabled?

--Scott

tloga
Contributor
Contributor
Posts: 26
Joined: Wed Mar 05, 2003 6:55 am

Post by tloga »

The inactivity dialog does appear -- but no reboot after.
We tried other actions including restart and execute and they work.
So as a work around we executed a BAT file that had a "shutdown -r" command and that works.

So now our problem is that the inactivity timer seems get trigged by something our catalog (http://catalog.mppl.org) is doing. Also -- it seems to start as soon as the browser starts -- not after someone uses it.
(we have InactivityStartOnOpen=False in the INI)

Any ideas?

Scott
Site Admin
Site Admin
Posts: 2545
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Starting out at the following URL.

http://catalog.mppl.org

Redirects to the following URL.

http://catalog.mppl.org/uPortal/Initial ... aram=props

The redirect causes PWB to start the timer. You can get around this by setting the home page to the redirected to page.

http://catalog.mppl.org/uPortal/Initial ... aram=props

This will result in one navigation and PWB will not start the timer.

--Scott

tloga
Contributor
Contributor
Posts: 26
Joined: Wed Mar 05, 2003 6:55 am

Post by tloga »

Changing the URL as you suggested seems to have done the trick.

Thanks

tloga
Contributor
Contributor
Posts: 26
Joined: Wed Mar 05, 2003 6:55 am

Post by tloga »

Turns out the URL change did not do the trick.
The machines are now rebooting every few minutes.

Any way to set the inactivity timer to only see actual keystrokes from the keyboard or mouse activity? (like it did with v2.04 -- our previous version).
Maybe ResetOnMouseMove-False ???

Scott
Site Admin
Site Admin
Posts: 2545
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

The page is refreshing every 6000 seconds.

From page source:

<META http-equiv="REFRESH" content="6000;...

This will cause the PWB inactivity timer to start when the page is refreshed and reboot when the inactivity timer expires.

You will need to change the page to prevent it from refreshing in order to not start the PWB inactivity timer.

--Scott

tloga
Contributor
Contributor
Posts: 26
Joined: Wed Mar 05, 2003 6:55 am

Post by tloga »

Any way to set PWB to ignore this type of refresh and monitor only real keyboard or mouse activity?

If not -- could you consider adding it?

:D

Thanks

Scott
Site Admin
Site Admin
Posts: 2545
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

In the current version of PWB there is not a way to ignore this, but I can certainly add it.

In fact here is PWB v2.09 with this functionality added.
http://www.team2s.com/beta/PWBv209.zip

[Inactivity]
...
IgnoreHomePageRefresh=True
...

Please let me know if you have any questions.

--Scott

tloga
Contributor
Contributor
Posts: 26
Joined: Wed Mar 05, 2003 6:55 am

Post by tloga »

We have installed v. 2.09 and added:

[Inactivity]
...
IgnoreHomePageRefresh=True
...

to our INI file. The homepage refresh is still triggering the inactivity timer.

Any help would be appreciated!

Scott
Site Admin
Site Admin
Posts: 2545
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Your home page is refreshing to a different URL, and setting the home page to this other URL causes a web page error. If the page simply refreshed the Ignore Home Page Refresh would have worked.

PWB v2.09b has been reposted to the beta page. We removed the following.

[Inactivity]
...
IgnoreHomePageRefresh=True
...

and added the following.

[Browser]
...
StartTimersOnMouseKeyboard=True
...

This seems to make more sense then the Ignore Home Page Refresh and does seem to work on your catalog page, even when starting from http://catalog.mppl.org.

To ensure you have this version, the date indicated in PWB should be dated at least 11-07-2005.

Please let me know if this works as expected.

--Scott

Post Reply