> -----Ursprüngliche Nachricht-----
> Von: Tomasz Chmielewski [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 26. Oktober 2007 14:53
> An: Marc Hennes
> Cc: wpkg
> Betreff: Re: AW: AW: [wpkg-users] wpkg-0.9.12-test1 released
>
> Marc Hennes schrieb:
>
> >> Is there anything special about your XP machines?
> >
> > What do you mean by special? It's in my AD domain like all our machines.
>
> I don't know. No "reboot forbidden" programs installed ;)
>
>
> >>> The command executes. Wpkg exits and I can login. No reboot loop ;)
> >> So, did it ever reboot (i.e., without logon delay enabled), or not?
> >> Because I don't understand what you're trying to say.
> >
> > Of course it did. If running wpkg.js manually it reboots. BUT if you use
> wpkg-client WITH logon delay activated it doesn't reboot. If I don't use
> logon delay it reboots...
>
> When you start "cscript wpkg.js" manually, you are logged in - and the
> PC obeys your orders (that is, when wpkg.js tries to reboot the machine).
> It also works when wpkg.js tries to reboot the machine as being a part
> of a starting service - but only on Windows 2000.
>
> On Windows XP, Microsoft changed that behaviour, and rebooting the
> machine *during* bootup by using JScript code seems to be disabled and
> just doesn't work.
> That's why WPKG Client waits for the exit code from wpkg.js - if it
> exits with code 3010, WPKG Client initiates a reboot.
>
>
> I've no idea why it doesn't work for you.
>
>
> Do you have any error in the Event Log?
>
> WPKG Service will log an error if you exceeded the quota of reboots
> (Something like "Script execution required restart but... Restart
> canceled").
>
> At least you should have WSH logging "System reboot in progress!".

I gave it a new try and now I saw an error in event log (app) "Script execution 
required restart but count exceed ...." like you mentioned. But normally I see 
only two informational logs from wpkg service "Set script security context: 
successfully done" and in the same second "network resource: successfully 
connected."

I don't use any pre or post scripts.


financial.com AG

Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | 
Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | 
Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis 
Eisenhofer | Dr. Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID 
number/St.Nr.: DE205 370 553

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to