Environment
Novell ZENworks 10 Configuration Management with Support Pack 2 - 10.2
Situation
The ZENworks service fails to load on a Windows server that has both c:\program files and c:\program directories.
ERROR (from system event log):
Event ID: 7000
Source: Service Control Manager
Type: Error
Description:
The ServiceName service failed to start due to the following error: %1 is not a valid Win32 application .
Source: Service Control Manager
Type: Error
Description:
The ServiceName service failed to start due to the following error: %1 is not a valid Win32 application .
Resolution
This is fixed in version 10.2.2 - see KB 7004803 "ZENworks 10 Configuration Management 10.2.2 - update information and list of fixes" which can be found at https://www.novell.com/support
Additional Information
Workaround: Use quotes for the service name. See http://support.microsoft.com/default.aspx?scid=kb;en-us;Q812486
Two examples of workarounds to resolve this issue:
First:
Delete/rename the folder located in the root of the C drive
Second:
To resolve this issue, add quotation marks around the following entry in the Windows registry, where <ServiceName> is the name of the service:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>\ImagePath
The ImagePath entry contains the path of the executable file for the service. To add quotation marks around the ImagePath entry for a service: - Click Start, and then click Run.
- In the Open box, type regedit, and then click OK.
- Locate, and then click the following registry entry, where <ServiceName> is the name of the service: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>.For example, if the service is named MyService, locate the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyService key .
- In the right pane, double-click ImagePath.
- In the Value data box, add quotation marks around the complete path of the executable file for the service.
For example, if the path of the MyService service is C:\Program Files\MyProgram\MyService.exe, change the entry in the Value data box for the MyService service to the following"C:\Program Files\MyProgram\MyService.exe" - Click OK, and then quit Registry Editor.