cleitet / wpkg-gp

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

WpkgServer crashes if SYSDIR\GroupPolicy does not exist #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install a new computer
2. Install Wpkg-GP with LGP enabled
3. Service will not start, because c:\windows\system32\GroupPolicy does not 
exist

Original issue reported on code.google.com by clei...@gmail.com on 8 Sep 2011 at 9:27

GoogleCodeExporter commented 9 years ago
Just had the same issue on my not completely WU-updated Windows XP SP3 VM.
Looking at the Windows Event Log reveals that service WpkgService says:

Python could not construct the class instance 
Traceback (most recent call last):
  File "WpkgServer.pyc", line 80, in __init__
  File "WpkgLGPUpdater.pyc", line 123, in update
  File "WpkgLGPUpdater.pyc", line 79, in addToLocalPolicies
IOError: (2, 'No such file or directory', 
'C:\\WINDOWS\\system32\\GroupPolicy\\gpt.ini') 
%2: %3

Original comment by dam...@gmail.com on 12 Sep 2011 at 11:43

GoogleCodeExporter commented 9 years ago
This issue seems to be caused if LGP were never used or configured before on 
the system.

I just circumvented this by calling {{{C:\WINDOWS\system32\gpedit.msc}}} before 
the wpkg-gp installation. When calling this the directory structure seems to be 
created properly. Afterwards, wpkg-gp and the administrative template for LGP 
are installed correctly.

Original comment by dam...@gmail.com on 13 Sep 2011 at 11:49

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r253.

Original comment by clei...@gmail.com on 14 Sep 2011 at 2:21