Re: [wpkg-users] WPKG client, win7 and run on shutdown

2011-02-24 Thread Puffo
- Original Message -
From: Daniel Dehennin
Sent: 02/16/11 08:48 AM
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] WPKG client, win7 and run on shutdown

 Hello, We are looking at enableing wpkg for windows vista and windows 7 
workstations, the delayed logon does not work but this is not a limitation for 
us as we run it at shutdown[1]. On windows 7, the wpkg client do not run at 
shutdown, it looks like windows kill it before the end. Another option is to 
switch to wpkg-gp, but this on do not run at shutdown[2]. Any idea who do to 
it? Regards. Footnotes: [1] We do not want to run at startup to avoid delay 
before people can work, they do not like waiting before checking their mails 
;-) [2] We tests using a shutdown script which start wpkg client (configured to 
run at startup) and loop 30 times making 6 pings every 10 seconds waiting for 
the service to stop, not really sexy. -- Daniel Dehennin RAIP de l'Orne
Disclaimer: my english is read-only.

 I use wpkclient at shutdown for the same reasons (on Windows XP).
 I tested it on Vista and had the same problems as you
 (it’s being killed after about 30 seconds).
 I did a detailed post about a year ago, but nobody responded.

 After your post I resumed testing on Vista:
 I changed some registry settings with no success.
 I assume wpkgclient is not supposed to work on Vista/7
 and I assume it will not be fixed
 (it would be useful if the developers clarified this).

 I considered nightly updates, but apparently GPO shutdown scripts works.
 I use wpkgmessage.exe from contrib for visual feedback
 (you have to expose GPO scripts and hide the cmd window,
 otherwise everyone can kill it or worse).
 The timeout for GPO scripts must be increased, I tested 3600 seconds.
 gpsvc service PreshutdownTimeout must be increased too, I used 360 ms.

 Tests with ping 127.0.0.1 -n 1200 and –n 3000 were successessful.
 An installation of Java was apparently successful
 (I’m not familiar with Vista file and registry virtualization).
 I’ll do further testing, but for now I have to suspend.
-
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] wpkgclient on shutdown on Vista

2010-02-24 Thread Puffo Blu
I use wpkgclient on shutdown on Windows XP.
I'm testing it on Vista, but it reboots after about 30 seconds.
I know the GUI doesn't work because it can not interact with the desktop.

DETAILS:
Vista Business SP1 32 bit italian
UAC disabled
No antivirus (for testing)
wpkgclient installed as administrator (cmd as administrator, msiexec /i ... )
wpkgclient-1.3.14, in the past I tried other versions, from 1.3.6 on
After I discovered the problem I simplified the wpkg configuration for testing 
purposes.

SYMPTOMS:
wpkgclient start wpkg.js but after about 30 seconds the client reboots during 
the execution of the package command.
The wpkg log is truncated

EVENTLOGS:

Nome registro: Application
Origine: WSH
Data: 24/02/2010 11.05.34
ID evento: 4
Categoria attività:Nessuno
Livello: Informazioni
Parole chiave: Classico
Utente: N/D
Computer: esprimo259.intranet
Descrizione:
Installing 'un_minuto' (un_minuto)...

Nome registro: Application
Origine: WSH
Data: 24/02/2010 11.05.34
ID evento: 4
Categoria attività:Nessuno
Livello: Informazioni
Parole chiave: Classico
Utente: N/D
Computer: esprimo259.intranet
Descrizione:
User notification suppressed. Message: L'utilità di installazione automatica 
del software sta aggiornando il sistema. Verifica la marcatura temporale di 
questa segnalazione per capire se c'è qualche problema. Se tutto è a posto, 
salva e chiudi tutte le applicazioni aperte, perchè potrebbe essere necessario 
un riavvio. Se necessario, il sistema verrà infatti riavviato senza alcun 
preavviso. Grazie.

Nome registro: System
Origine: Service Control Manager
Data: 24/02/2010 11.06.06
ID evento: 7043
Categoria attività:Nessuno
Livello: Errore
Parole chiave: Classico
Utente: N/D
Computer: esprimo259.intranet
Descrizione:
Il servizio WPKG Service non è stato arrestato correttamente dopo la ricezione 
di un controllo di pre-arresto del sistema.

In english is something like:
The WPKG service has not been correctly arrested after receiving a pre-shutdown 
control

Informazioni 24/02/2010 11.06.06 EventLog 6006 Nessuno
Nome registro: System
Origine: EventLog
Data: 24/02/2010 11.06.06
ID evento: 6006
Categoria attività:Nessuno
Livello: Informazioni
Parole chiave: Classico
Utente: N/D
Computer: esprimo259.intranet
Descrizione:
Il servizio Registro eventi è stato arrestato.

WPKGCLIENT DEBUG LOG

...
2010-02-24 10:55:33 -> System query service status
2010-02-24 10:55:46 -> System query service status
2010-02-24 11:05:32 -> System query service status
2010-02-24 11:05:32 -> System query service status
2010-02-24 11:05:33 -> System send pre-shutdown signal
2010-02-24 11:05:33 -> SetEvent STOP (WAIT_OBJECT_0)
2010-02-24 11:05:33 -> Before create shared memory: successfuly done.
2010-02-24 11:05:33 -> Create shared memory: successfuly done.
2010-02-24 11:05:33 -> Set script security context: successfuly done.
2010-02-24 11:05:33 -> Offline mode enabled: successfuly done.
2010-02-24 11:05:33 -> Offline mode: server connecting method selected.
2010-02-24 11:05:34 -> Server connecting: successfuly done.
2010-02-24 11:05:34 -> Starting script action execution
2010-02-24 11:07:03 -> Initializing socket... <- after reboot
2010-02-24 11:07:03 -> ServiceStart->SERVICE_RUNNING
2010-02-24 11:07:12 -> System query service status
2010-02-24 11:08:12 -> System query service status
2010-02-24 11:08:29 -> System query service status

WPKG LOG:

2010-02-24 11:05:34, DEBUG : Initialized temporary local log file: 
C:\Windows\TEMP\wpkg-logInit.log
2010-02-24 11:05:34, DEBUG : Initializing new log file: 
C:\Windows\TEMP\esprimo259-20100224-1105.log
2010-02-24 11:05:34, DEBUG : Reboot-Cmd is standard.
2010-02-24 11:05:34, DEBUG : WPKG 1.1.2 starting...
2010-02-24 11:05:34, DEBUG : Base directory is '\\server\install\wpkg-test2'.
2010-02-24 11:05:34, DEBUG : Log level is 31
...

2010-02-24 11:05:34, DEBUG : Found installed package 'un_minuto' (un_minuto).
2010-02-24 11:05:34, DEBUG : Package 'un_minuto' (un_minuto) found in profile 
packages.
2010-02-24 11:05:34, DEBUG : Number of packages to remove: 0
2010-02-24 11:05:34, DEBUG : Going to install package 'un_minuto' (un_minuto), 
Revision 1, (execute flag is 'always', notify flag is 'true').
2010-02-24 11:05:34, DEBUG : Package 'un_minuto' (un_minuto): Not yet processed 
during this session.
2010-02-24 11:05:34, DEBUG : Package 'un_minuto' (un_minuto): Prepared for 
installation.
2010-02-24 11:05:34, DEBUG : Installation of references (dependencies) for 
'un_minuto' (un_minuto) successfully finished.
2010-02-24 11:05:34, INFO : Installing 'un_minuto' (un_minuto)...
2010-02-24 11:05:34, DEBUG : Saving current environment
2010-02-24 11:05:34, DEBUG : Reading variables from package un_minuto
2010-02-24 11:05:34, DEBUG : Reading variables from profile[s]
2010-02-24 11:05:34, DEBUG : Getting profiles which apply to this node.
2010-02-24 11:05:34, DEBUG : 1 profiles apply to this host.
2010-02-24 11:05:34, DEBUG : Reading variables from profile esprimo259-install
2010-02-24 11:05:34, DEBUG : Rea