PDA

View Full Version : Screensaver when not login



joseph_arthur
12-15-2004, 12:51 PM
Hi,

I look to install screensaver D2OL on more then 100 Pcs.

When I am administrator, all is OK.

But, when no-one is login, that not work.

With Regedit, I enter:

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"SCRNSAVE.EXE"="c:\windows\D2OL Screen Saver.scr"

What I forget ? :bang:

Trustrees ? Other parameters ?

Thanks

BETH133

TeeJay
12-15-2004, 01:17 PM
I will give it a shot...

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"ScreenSaveActive"="1"
"Scrnsave.exe"="c:\windows\D2OL Screen Saver.scr"
"ScreenSaveTimeOut"="60"

See if that works !

>>TeeJay


Originally posted by joseph_arthur
Hi,

I look to install screensaver D2OL on more then 100 Pcs.

When I am administrator, all is OK.

But, when no-one is login, that not work.

With Regedit, I enter:

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"SCRNSAVE.EXE"="c:\windows\D2OL Screen Saver.scr"

What I forget ? :bang:

Trustrees ? Other parameters ?

Thanks

BETH133

IronBits
12-15-2004, 01:39 PM
Wouldn't it be better if it was run as a service ?

joseph_arthur
12-15-2004, 02:10 PM
Originally posted by IronBits
Wouldn't it be better if it was run as a service ?

I am afraid to penalize my users with the service?

PCZ
12-15-2004, 02:23 PM
Joseph

As you have discovered with no one logged in the screensaver will not run.
You have other options:
1: run d2ol as a service
2: use the task scheduler

Set up a task to run at startup and launch d2ol.
use
d2ol controller:file
to stop any windows opening

ronbo54
12-15-2004, 04:53 PM
I also run as scheduled task in Windows
(It can be set at startup or I also set it up on some to check hourly as multiple users logging in can sometimes make it stop).
Just remember when installing to say no when it asks to run D2OL from the startup menu (or just remove from startup menu) as it will give you a node.prp in use error

100 PCs??? :thumbs:
More than I have on it now.

joseph_arthur
12-17-2004, 08:29 AM
Originally posted by PCZ
Joseph

As you have discovered with no one logged in the screensaver will not run.
You have other options:
1: run d2ol as a service
2: use the task scheduler

Set up a task to run at startup and launch d2ol.
use
d2ol controller:file
to stop any windows opening

Thank you TeeJay for your hit.

This work with:

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"ScreenSaveActive"="1"
"Scrnsave.exe"="c:\\windows\\D2OL Screen Saver.scr"
"ScreenSaveTimeOut"="60"

[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"C:\\Program Files\\SengentD2OL\\D2OL\\D2OL.exe"="LaunchAnywhere GUI"

[HKEY_USERS\.DEFAULT\Software\Sengent]

[HKEY_USERS\.DEFAULT\Software\Sengent\D2OL]
"path"="C:\\Program Files\\SengentD2OL\\D2OL"
"gui"=dword:00000001

The graphic is maybe beautiful but it take much CPU.

I choose now the service way like PCZ.

Hi PCZ,

I try your instructions. My service start after 5 minute no activity. But it dont stop when the activity restart. :bang: I miss somethink !

I dont undersantd "2ol controller:file". where are you write it ?

Have a nice day. Beth133. :)

IronBits
12-17-2004, 08:44 AM
I guess we need a 'how to' guide sticky!

PCZ
12-17-2004, 08:45 AM
Joseph

path\d2ol\d2ol.exe
will launch d2ol with the gui

path\d2ol\d2ol.exe controller:cli
will launch d2ol in a cmd window

path\d2ol\d2ol.exe controller:file
will launch d2ol in the background and it will create a progress file.

If you are running as a service d2ol controller:cli will actually run in the background
no cmd window will be visible.

The file option is best if you are not using a monitoring program like d2olprogress.
You can view the file and see what the client is up to.

When you stop the service it can take several minutes for gridwin and dockwin to stop.

Fozzie
12-17-2004, 09:04 AM
you have to edit the control.prp file

Add

LaunchMain=False
lax.nl.java.option.additional=-Xrs

One thing I found when stoppig the service sometimes the client didn't stop properly. I always edited the control.prp and changed ShutDown=False to True and then stopped the service. This always caused gridwin or dockwin to stop properly.

IronBits
12-17-2004, 09:08 AM
Found stuff all over the place, here is a 'compiled' short list of instructions.
* = what I do ;)

Go to directory where the d2ol.exe file was installed.
example: d:\dcprojects\CommunityTSC\TSC

edit the file called launch.xen in the directory mentioned above.
Go to to the line that says this:

jvm.executable.noconsole=..\jre\bin\javaw.exe
change it to this:
jvm.executable.noconsole=..\jre\bin\java.exe
Save and close.

Change your shortcut from
"C:\program files\CommunityTSC\TSC\D2OL.exe"
to
* "C:\program files\CommunityTSC\TSC\D2OL.exe" controller:cli

* Alternate method:

Go to where D2OL was installed, find the D2OL.lax file and open it with notepad.
The 3rd, 4th & 5th JAVA lines from the bottom are the ones that you are looking for.
LAX.STDERR.REDIRECT
LAX.STDIN.REDIRECT
LAX.STDOUT.REDIRECT
At the end of each of the commands place an =console.
LAX.STDERR.REDIRECT=console
LAX.STDIN.REDIRECT=console
LAX.STDOUT.REDIRECT=console
Close and save.
-------------------------------------

For running without a Tray Icon:
Change your shortcut from
"C:\program files\CommunityTSC\TSC\D2OL.exe"
to
"C:\program files\CommunityTSC\TSC\D2OL.exe" controller:file

Extra notes:
If you have a tray icon running
Rightclick on trayicon , select properties and uncheck "launch main window on start"
Tip: set your cache to 100 !

Someone needs to compile all the 'tips and tricks' and create a new thread on how to install, join Team Free-DC and tweaks.

I'll sticky it :D

digital_trucker
03-12-2005, 12:11 PM
I may be mistaken, but i believe that the change that fozzie suggests should be made to the d2ol.lax file not the properties file. I tried it in the file he suggested with no change in behavior. However, when I made the change in the d2ol.lax file it appears to have solved the problem of the client going to sleep when running as a windows service with no one logged on to the system.

Thanks Fozzie for the suggestion, I was about to pull what little is left of my hair out trying to figure out what to do to get the client to behave the way I wanted it to.:cheers: