Re: [wpkg-users] Delayed sevice start

2011-11-24 Thread Falko Trojahn

Am 24.11.2011 20:29, schrieb Alan Adams:

In message<4ece0e82.3080...@smi-softmark.de>  you wrote:


Am 22.11.2011 18:32, schrieb Alan Adams:

For the former case I have had to resort to a scheduled task running
every 15 minutes doing net stop and net start on the service. There
doesn't seem to be an option to run once some period after login, but
it can be set to run periodically starting at login. 15 minutes was
chosen to reduce the risk of stopping wpkg while it was doing an
installation, against the risk of the laptop being shut down before it
had started - many lessons are only 15 minutes long.



Using wpkginst, if you set the service to stop after work, you can run
the "net start wpkgservice" even every minute - it won't hurt. You don't
need "net stop wpkgservice", and if "net start wpkgservice" is too soon,
there's only a message that the service is running, yet.


Neat. I like it. Now I just need to find the instructions on using
wpkg to update its own settings file - I'm sure I saw it on wpkg.org
somewhere.



Fine. I have a package for this - of course you could only use the line 
with wpkginst --SETTINGSFILE=...:





		path="%PROGRAMFILES%\wpkg\wpkginst.exe" value="1.0.0.22" />


		




		



		



BR,
Falko
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Delayed sevice start

2011-11-24 Thread Falko Trojahn

Am 22.11.2011 18:32, schrieb Alan Adams:

For the former case I have had to resort to a scheduled task running
every 15 minutes doing net stop and net start on the service. There
doesn't seem to be an option to run once some period after login, but
it can be set to run periodically starting at login. 15 minutes was
chosen to reduce the risk of stopping wpkg while it was doing an
installation, against the risk of the laptop being shut down before it
had started - many lessons are only 15 minutes long.


Using wpkginst, if you set the service to stop after work, you can run
the "net start wpkgservice" even every minute - it won't hurt. You don't 
need "net stop wpkgservice", and if "net start wpkgservice" is too soon, 
there's only a message that the service is running, yet.


HTH
Falko
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Delayed sevice start

2011-11-24 Thread Falko Trojahn

Hello Alan,




Consider also:



 http://support.microsoft.com/default.aspx?scid=kb;en-us;305293


I am only too aware of that, and in the domain always ensure it is set
in Group policy to wait for the network.

However XP Home edition can't join a domain, and I haven't found an
equivalent registry setting to make it start the wireless before
logging in. The problem is not that the wireless is slow to start -
you can leave the computer at the login window for an hour, and the
wireless still hasn't started. It waits for someone to login before it
tries to connect.



I think there are at least two other possibilities:

- sync to local disk, then install at shutdown or next boot from there
  (sometimes I use e.g. Dropbox for this, but
   that's nothing for company environments)

- let a login script (via group policy) trigger the
  start of wpkg service (it can be set to manually, so it
  does not start during boot). If the user has no rights,
  create a user with only rights to start the service,
  then use psexec with logon credentials or make an
  .exe using bat to exe converter.

- have a cron job at a server running, using winexec (linux) or
  psexec (windows) to start the service on the remote computers
  in the wireless network e.g. hourly.

HTH
Falko


-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Delayed sevice start

2011-11-23 Thread Alan Adams
In message <2023083018.gc3...@sv.lnf.it>
  Marco Gaiarin  wrote:

> Mandi! John Danks
>   In chel di` si favelave...

>> WPKG Client has a few settings you might try. I haven't experimented
>> with logon
>> delay, but it's there under Logon Settings / Execution mode.

> Consider also:

> http://support.microsoft.com/default.aspx?scid=kb;en-us;305293

I am only too aware of that, and in the domain always ensure it is set 
in Group policy to wait for the network.

However XP Home edition can't join a domain, and I haven't found an 
equivalent registry setting to make it start the wireless before 
logging in. The problem is not that the wireless is slow to start - 
you can leave the computer at the login window for an hour, and the 
wireless still hasn't started. It waits for someone to login before it 
tries to connect.

-- 
Alan Adams, from Northamptonshire
a...@adamshome.org.uk
http://www.nckc.org.uk/
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Delayed sevice start

2011-11-23 Thread Marco Gaiarin
Mandi! John Danks
  In chel di` si favelave...

> WPKG Client has a few settings you might try. I haven't experimented with 
> logon
> delay, but it's there under Logon Settings / Execution mode.

Consider also:

http://support.microsoft.com/default.aspx?scid=kb;en-us;305293

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Delayed sevice start

2011-11-22 Thread John Danks
WPKG Client has a few settings you might try. I haven't experimented with
logon delay, but it's there under Logon Settings / Execution mode.

In my environment we had some new PCs that were too fast and the network
wasn't ready by the time WPKG started, so it would fail. We set Misc
settings / WPKG execution on failure / Repeat count to 3 and it retries 3
times, which is long enough for the network to be ready. You could probably
set it much higher to keep it retrying for a while.

On Tue, Nov 22, 2011 at 9:32 AM, Alan Adams  wrote:

> Is there a way to delay the start of the wpkg service?
>
> I have two reasons for wanting to do this. First when using WindowsXP
> Home on laptops, the wireless network doesn't start until after login,
> so the wpkg service has run and given up before the network appears.
> For this situation, wpkg needs to start after login has completed.
>
> Secondly with a classroom of 30 wireless laptops starting up, wpkg is
> using so much aggregate bandwidth dragging down large msi's (e.g.
> Adobe Reader) that logging in can take up to half an hour. In this
> case delay after login would work, or delay after startup.
>
> For the former case I have had to resort to a scheduled task running
> every 15 minutes doing net stop and net start on the service. There
> doesn't seem to be an option to run once some period after login, but
> it can be set to run periodically starting at login. 15 minutes was
> chosen to reduce the risk of stopping wpkg while it was doing an
> installation, against the risk of the laptop being shut down before it
> had started - many lessons are only 15 minutes long.
>
> --
> Alan Adams, from Northamptonshire
> a...@adamshome.org.uk
> http://www.nckc.org.uk/
> -
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> ___
> wpkg-users mailing list
> wpkg-users@lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[wpkg-users] Delayed sevice start

2011-11-22 Thread Alan Adams
Is there a way to delay the start of the wpkg service?

I have two reasons for wanting to do this. First when using WindowsXP 
Home on laptops, the wireless network doesn't start until after login, 
so the wpkg service has run and given up before the network appears. 
For this situation, wpkg needs to start after login has completed.

Secondly with a classroom of 30 wireless laptops starting up, wpkg is 
using so much aggregate bandwidth dragging down large msi's (e.g. 
Adobe Reader) that logging in can take up to half an hour. In this 
case delay after login would work, or delay after startup.

For the former case I have had to resort to a scheduled task running 
every 15 minutes doing net stop and net start on the service. There 
doesn't seem to be an option to run once some period after login, but 
it can be set to run periodically starting at login. 15 minutes was 
chosen to reduce the risk of stopping wpkg while it was doing an 
installation, against the risk of the laptop being shut down before it 
had started - many lessons are only 15 minutes long.

-- 
Alan Adams, from Northamptonshire
a...@adamshome.org.uk
http://www.nckc.org.uk/
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users