Results 1 to 9 of 9

Thread: SoB Taskbar Icon

  1. #1
    Keeper of the Fridge PY 222's Avatar
    Join Date
    Jul 2002
    Location
    San Jose, CA
    Posts
    2,706

    SoB Taskbar Icon

    Ok, this is what I've done. This is on a Win2k3 Server OS.

    sobsvc -i
    sobsvc -p:2
    sobsvc -o
    sobsvc -k

    I made sure that -k flag was true. Both services started ok as shown in the Task Manager.

    This is what I see on my sobsvc.log file:

    [2006/08/23 18:13:11.468]: Parms retrieved: NumClients = 2, AffType = 0, WUQueue = 0, PeriodicRestart = 0, AutodialType = 0
    [2006/08/23 18:13:11.468]: TrueIdle = FALSE, MonitorRestart = FALSE, StuckRestart = FALSE, KeepVisible = TRUE

    I've also restarted the service and rebooted the machine.

    I made sure that the SoB service was allowed to interact with the desktop.

    Still I cannot get that Icon to show up.

    Any ideas?

  2. #2
    Member
    Join Date
    Oct 2005
    Location
    Maryland
    Posts
    62
    PY, i'v found that the icons wont show up in a remote desktop session yet if i log into the box at the console the icons show... i'm assuming it's a 'security' thing maybe? not sure....

    Thanks,
    Ryan

  3. #3
    Administrator PCZ's Avatar
    Join Date
    Jun 2003
    Location
    Chertsey Surrey UK
    Posts
    2,428
    On XP the icons will show up in a remote desktop session.
    On 2003 they will not normally.
    They will if you run mstsc with the console switch to take over the console session.

    For info
    Allowing the service to interact with desktop can waste CPU POWER.
    On my SMP boxes running XP allowing the service to interact with desktop causes explorer to take around 10% or more of the CPU time.
    Doesn't seem to be a problem on UNI processor boxes.
    This Bug doesn't seem to affect 2K3.

  4. #4
    Target Butt IronBits's Avatar
    Join Date
    Dec 2001
    Location
    Morrisville, NC
    Posts
    8,619
    You should use these bolded values else when it aborts for unknown reasons, they will not restart automatically.

    TrueIdle = FALSE, MonitorRestart = TRUE, StuckRestart = TRUE, KeepVisible = TRUE

    Try using this script - sobint.bat
    @echo off

    :: (make sure the Service is not running)
    net stop "Seventeen or Bust Service"

    :: (uninstall the service handler)
    sobsvc -u

    :: (install the service handler)
    sobsvc -i

    :: (setup the service the way you want it)

    :: sobsvc -p:4:0 :: (BEST - agressive: 4 clients)
    sobsvc -p:2:0 :: (agressive: 2 clients)

    sobsvc -m :: (TOGGLE - monitors for the client being closed and restarts it)

    sobsvc -k :: (TOGGLE - keeps the icons in the tray, so that you can check them)

    sobsvc -s :: (TOGGLE - monitors for a stuck client and restarts it if necessary)

    sobsvc -d :: (Displays the current parameters, use the TOGGLEs above to set them the way you want.)
    echo.
    pause

    :: (start up the Service)
    net start "Seventeen or Bust Service"

    You can create a .reg file - edit to taste for BOLD values, or not.
    ----------------------------------------------
    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\LhDn]

    [HKEY_LOCAL_MACHINE\SOFTWARE\LhDn\sob]

    [HKEY_LOCAL_MACHINE\SOFTWARE\LhDn\sob\cache]
    "n"=dword:
    "k"=dword:
    "cache"=dword:

    [HKEY_LOCAL_MACHINE\SOFTWARE\LhDn\sob\cache2]
    "n"=dword:
    "k"=dword:
    "cache"=dword:

    [HKEY_LOCAL_MACHINE\SOFTWARE\LhDn\sob\config]
    "dir"="C:\\dcprojects\\SB"
    "max_rep_retries"=dword:00000000
    "max_retries"=dword:00000000
    "retry_wait"=dword:000004b0
    "special_handling"=dword:00000000
    "username"="IronBits"
    "team"="60"
    "serv_addr"="sb.pns.net"
    "serv_port"=dword:000006b5
    "logfile"="sb.log"
    "max_log_size"=dword:0000000a
    "priority"=dword:00000005
    "transmit"=dword:00000001
    "ClientKey"="Software\\LhDn\\sob\\cache2"

    [HKEY_LOCAL_MACHINE\SOFTWARE\LhDn\sob\svcparms]
    "NumClients"=dword:00000002
    "AffType"=dword:00000000
    "AutoRestart"=hex:00,00,00,00
    "TrueIdle"=hex:00,00,00,00
    "NormalizeXP"=hex:00,00,00,00
    "MonitorRestart"=hex:01,00,00,00
    "StuckRestart"=hex:01,00,00,00
    "KeepVisible"=hex:01,00,00,00
    "HourlyRestart"=hex:00,00,00,00
    "WUQueue"=hex:00,00,00,00
    "AutodialType"=hex:00,00,00,00

    Hope it helps

  5. #5
    Target Butt IronBits's Avatar
    Join Date
    Dec 2001
    Location
    Morrisville, NC
    Posts
    8,619
    Quote Originally Posted by PCZ
    On XP the icons will show up in a remote desktop session.
    On 2003 they will not normally.
    They show up just fine using Real VNC

    Also, if you get SysInternals PSlist you can use this in a simple script I call status_sob.bat to keep an eye on your clients.

    status_sob.bat
    @echo off
    cd \scripts
    echo Name Pid Pri Thd Hnd Priv CPU Time Elapsed Time
    FOR /F %%i IN (computers.txt) DO echo %%i & pslist \\%%i | findstr "sb"

    computers.txt
    computer1
    computer2
    computer3
    computer4


  6. #6
    Keeper of the Fridge PY 222's Avatar
    Join Date
    Jul 2002
    Location
    San Jose, CA
    Posts
    2,706
    Thanks guys for the info. It sure helps me out.

  7. #7
    Administrator PCZ's Avatar
    Join Date
    Jun 2003
    Location
    Chertsey Surrey UK
    Posts
    2,428
    So IB you into SOB then

    Nice info

  8. #8
    Target Butt IronBits's Avatar
    Join Date
    Dec 2001
    Location
    Morrisville, NC
    Posts
    8,619
    Now we need someone to step up to the plate and give us something similar for *nix boxen.
    Scripts to do a mass distribution via LAN
    Auto startup to

  9. #9
    Xtreme Friend riptide's Avatar
    Join Date
    Apr 2006
    Location
    Eire
    Posts
    161
    Quote Originally Posted by PCZ
    On my SMP boxes running XP allowing the service to interact with desktop causes explorer to take around 10% or more of the CPU time.
    Doesn't seem to be a problem on UNI processor boxes.
    This Bug doesn't seem to affect 2K3.
    GOTCHA! Had been doing my own little investigations into this!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •