cleitet / wpkg-gp

Running WPKG as a Group Policy Extension
https://github.com/cleitet/wpkg-gp/wiki
25 stars 17 forks source link

WindowsError: [Error 5] Zugriff verweigert #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. WpkgPipeClient.exe Execute
2. No Software Installation
3.

What is the expected output? What do you see instead?
Software Installation

What version of the product are you using? On what operating system?
Wpkg-GP-0.15_x86.exe on Win7

If applicable, please do the following to generate verbose debug messages,
and post the output here:
* Set WpkgVerbosity to 3
* Run `WpkgPipeClient.exe Execute`'
* Attach WpkgService.log in the logs directory to this ticket.

Please provide any additional information below.

Original issue reported on code.google.com by tho...@webchilla.de on 10 Nov 2011 at 4:10

Attachments:

GoogleCodeExporter commented 9 years ago
The command \\X\wpkg did not contain a share name
error resoleved, there was a space after wpkg. But still error 5:

2011-11-10 17:13:59,154 - WpkgService - DEBUG - DoProcessClient() start
2011-11-10 17:13:59,154 - WpkgService - INFO - Received 'Execute', executing 
WPKG
2011-11-10 17:13:59,154 - WpkgService - DEBUG - Checking client acccess
2011-11-10 17:13:59,154 - WpkgService - DEBUG - Client is a member of 
Administrators group
2011-11-10 17:13:59,154 - WpkgService - DEBUG - Client is a local user
2011-11-10 17:13:59,168 - WpkgService - DEBUG - Config: Reading 
WpkgExecuteByNonAdmins: '0' from ini file
2011-11-10 17:13:59,168 - WpkgService - DEBUG - WpkgExecuteByNonAdmins is 0
2011-11-10 17:13:59,168 - WpkgService - DEBUG - Config: Reading 
WpkgExecuteByLocalUsers: '1' from ini file
2011-11-10 17:13:59,168 - WpkgService - DEBUG - WpkgExecuteByLocalUsers is 1
2011-11-10 17:13:59,168 - WpkgService - DEBUG - Client user is a member of 
Administrators group, permission is granted
2011-11-10 17:13:59,168 - WpkgService - INFO - Executing WPKG with the command 
\\x\wpkg
2011-11-10 17:13:59,168 - WpkgService - INFO - No username provided, 
credentials used will be that of the Wpkg-GP service.
2011-11-10 17:13:59,168 - WpkgService - DEBUG - Reading EnvironmentVariables 
from ini file
2011-11-10 17:13:59,168 - WpkgService - ERROR - Error when processing Named 
Pipe Client:
Traceback (most recent call last):
  File "WpkgServer.pyc", line 195, in DoProcessClient
  File "WpkgExecuter.pyc", line 105, in Execute
  File "subprocess.pyc", line 679, in __init__
  File "subprocess.pyc", line 893, in _execute_child
WindowsError: [Error 5] Zugriff verweigert

Original comment by tho...@webchilla.de on 10 Nov 2011 at 4:22

GoogleCodeExporter commented 9 years ago
I have the same problem, but no solution yet. See my postions in Groups: 
https://groups.google.com/d/topic/wpkg-gp/fP8l_M4I0Mw/discussion

Original comment by bauckme...@gmail.com on 29 Nov 2011 at 3:27

GoogleCodeExporter commented 9 years ago
Hereuka! I think I found the solution. It is actually necessary not only to 
give the _path_ to wpkg.js (like \\srv3\WPKG\wpkg\) but also the _name of file_ 
itself (like \\srv3\WPKG\wpkg\wpkg.js)!

In Wpkg-gp.ini it should be:
# The path to your wpkg.js here
# This setting is required
WpkgCommand =\\srv3\WPKG\wpkg\wpkg.js

Original comment by bauckme...@gmail.com on 30 Nov 2011 at 9:05

GoogleCodeExporter commented 9 years ago
I should make the default to add wpkg.js, if "/" is the last character of the 
WpkgCommand string.

Original comment by clei...@gmail.com on 12 Dec 2011 at 8:04