Windows 10 Pro on Startup from UNC share

225 views
Skip to first unread message

Carlos Pasqualini

unread,
Aug 3, 2016, 8:50:34 PM8/3/16
to wpk...@googlegroups.com
Hi

I just upgraded a lot of computers to Windows 10, and now we are having issues with wpkg-gp execution.

It runs on startup as expected, but cannot execute wpkg.js from the share, so it doesn't run wpkg nor updates the system.

We are not using Active Directory

The verbose log of wpkg-gp writes in WpkgService.log these lines:

2016-08-03 21:20:34,861 - WpkgService - INFO - Executing WPKG with the command cscript \\wpkg.fcal.uner.edu.ar\wpkg\wpkg.js /noreboot /synchronize /sendStatus /nonotify /quiet
2016-08-03 21:20:34,861 - WpkgService - INFO - No username provided, credentials used will be that of the Wpkg-GP service.
2016-08-03 21:20:34,861 - WpkgService - DEBUG - Reading EnvironmentVariables from ini file
2016-08-03 21:20:34,875 - WpkgService - DEBUG - Config: Reading WpkgActivityIndicator: '1' from ini file
2016-08-03 21:20:35,298 - WpkgService - INFO - Finished executing Wpkg.js
2016-08-03 21:20:35,298 - WpkgService - ERROR - WPKG command returned an error: ['Error de CScript: Error al cargar la secuencia de comandos "\\\\wpkg.local.domain\\wpkg\\wpkg.js" (El servidor especificado no puede ejecutar la operaci\xa2n solicitada. ).\n']
2016-08-03 21:20:35,298 - WpkgService - DEBUG - Writing '200 Wpkg returned an error: Error de CScript: Error al cargar la secuencia de comandos "\\wpkg.local.domain\wpkg\wpkg.js" (El servidor especificado no puede ejecutar la operaci\A2n solicitada. ).' to pipe


"Error al cargar la secuencia de comandos" means "Error loading script"

I have turned off FastBoot
I have executed (didn't remember from where obtained these regvalues):

REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v GpNetworkStartTimeoutPolicyValue /t REG_DWORD /d 120 /f

reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\{A9B8D792-F454-11DE-BA92-FDCF56D89593}" /v NoMachinePolicy /f

It works OK on Windows XP, and Windows 7 but not in Windows 8 nor 10 (all professionals)



¿any hint what to try?


Thanks!

dersadai

unread,
Aug 12, 2016, 7:56:35 AM8/12/16
to wpkg-gp
same problem here, prevents me from replacing machines by new hardware with win10 until I have found an alternative solution.
I think the way how GPOs are processed has changed or the dependency of services, normally wpkg was waiting until the network was up on win7.

Jáder Marasca

unread,
Oct 25, 2016, 5:40:30 AM10/25/16
to wpk...@googlegroups.com
"
2016-08-03 21:20:35,298 - WpkgService - ERROR - WPKG command returned an error: ['Error de CScript: Error al cargar la secuencia de comandos "\\\\wpkg.local.domain\\wpkg\\wpkg.js" (El servidor especificado no puede ejecutar la operaci\xa2n solicitada. ).\n'] 
"
This line show no SERVER and SHARE part. You removed them or they're missing ?

I have Win10pro running OK from SAMBA share , but I'm using WPKG-GP as client. I read sometime ago WPKG had problems with Win7+ ... so moved to WPKG-GP and never looked back.



Jáder Marasca

+55.051.4063.7407 (VoIP)         +55.083.99811.9170 (Tim) 
+1.305.791.3265 (Google)        skype: jader.marasca   

--
You received this message because you are subscribed to the Google Groups "wpkg-gp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wpkg-gp+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Christian Ospelkaus

unread,
Oct 25, 2016, 9:20:06 AM10/25/16
to wpk...@googlegroups.com
I have had this too. It works for me if I do not use the FQDN, but just
the computer name of the server (\\wpkg\wpkg\wpkg.js). I suspect it has
something to do with UNC hardening. You can test this by opening a cmd
window as NT AUTHORITY\SYSTEM (psexec -i -s cmd.exe in a CMD window
already running as admin) and by running

DIR \\wpkg.local.domain\wpkg

and

DIR \\wpkg\wpkg

Cheers,

Christian

On 25.10.2016 11:40, Jáder Marasca wrote:
> "
> 2016-08-03 21:20:35,298 - WpkgService - ERROR - WPKG command returned an
> error: ['Error de CScript: Error al cargar la secuencia de comandos
> "\\\\wpkg.local.domain\\wpkg\\wpkg.js" (El servidor especificado no
> puede ejecutar la operaci\xa2n solicitada. ).\n']
> "
> This line show no SERVER and SHARE part. You removed them or they're
> missing ?
>
> I have Win10pro running OK from SAMBA share , but I'm using WPKG-GP as
> client. I read sometime ago WPKG had problems with Win7+ ... so moved to
> WPKG-GP and never looked back.
>
>
>
> Jáder Marasca
>
> +55.*051.4063.7407* (VoIP) +55.083.99811.9170 (Tim)
> +1.305.791.3265 (Google) skype: jader.marasca
> <http://www.linuxfacil.net/>
>
> 2016-08-12 8:56 GMT-03:00 dersadai <ders...@gmail.com
> <mailto:ders...@gmail.com>>:
>
> same problem here, prevents me from replacing machines by new
> hardware with win10 until I have found an alternative solution.
> I think the way how GPOs are processed has changed or the dependency
> of services, normally wpkg was waiting until the network was up on win7.
>
>
> Am Donnerstag, 4. August 2016 02:50:34 UTC+2 schrieb Carlos Pasqualini:
>
> Hi
>
> I just upgraded a lot of computers to Windows 10, and now we are
> having issues with wpkg-gp execution.
>
> It runs on startup as expected, but cannot execute wpkg.js from
> the share, so it doesn't run wpkg nor updates the system.
>
> We are not using Active Directory
>
> The verbose log of wpkg-gp writes in WpkgService.log these lines:
>
> 2016-08-03 21:20:34,861 - WpkgService - INFO - Executing WPKG
> with the command cscript \\wpkg.fcal.uner.edu.ar
> <http://wpkg.fcal.uner.edu.ar>\wpkg\wpkg.js /noreboot
> send an email to wpkg-gp+u...@googlegroups.com
> <mailto:wpkg-gp+u...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "wpkg-gp" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to wpkg-gp+u...@googlegroups.com
> <mailto:wpkg-gp+u...@googlegroups.com>.
Reply all
Reply to author
Forward
0 new messages