Salesforce

OpenEdge Admin Service Freezes Windows Server when set to Automatic start and Log on set to Domain user

« Go Back

Information

 
TitleOpenEdge Admin Service Freezes Windows Server when set to Automatic start and Log on set to Domain user
URL Name000048385
Article Number000168456
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x, 12.x
OS: Windows 2008 R2
Other: AdminServer as Windows Service
Question/Problem Description
OpenEdge Admin Service Freezes Windows Server when set to Automatic start and Log on set to Domain user
A Domain user account is configured to start the AdminServer using Windows Services
Remote login to the Windows virtual machine is refused
Service Control Manager System EventLog Error 7001 reports:
The AdminService for OpenEdge Service depends on the Netlogon service
Steps to Reproduce
Clarifying Information
The Domain account used to start the AdminService is set to a separate group role to use Windows Active Directory
All the Windows local Policies are granted as described in Article: Setting up the AdminService to start with log on set to Local System account works without any issues
Setting up the AdminService to start with log on set to the Domain account with Automatic(Delayed Start) works without any issues
Error MessageWindows Event Log Service Control Manager Error 7001:

The DHCP Client service depends on the Ancillary Function Driver for Winsock service which failed to start because of the following error: A device attached to the system is not functioning.
The DNS Client service depends on the NetIO Legacy TDI Support Driver service which failed to start because of the following error: A device attached to the system is not functioning.
The TCP/IP NetBIOS Helper service depends on the Ancillary Function Driver for Winsock service which failed to start because of the following error: A device attached to the system is not functioning.
The Network Store Interface Service service depends on the NSI proxy service driver. service which failed to start because of the following error: A device attached to the system is not functioning.

The Workstation service depends on the Network Store Interface Service service which failed to start because of the following error: The dependency service or group failed to start.
The WebDav Client Redirector Driver service depends on the Redirected Buffering Sub Sysytem service which failed to start because of the following error: A device attached to the system is not functioning.
The WebClient service depends on the WebDav Client Redirector Driver service which failed to start because of the following error: The dependency service or group failed to start.
The Netlogon service depends on the Workstation service which failed to start because of the following error: The dependency service or group failed to start.
The AdminService for OpenEdge service depends on the Netlogon service which failed to start because of the following error: The dependency service or group failed to start.
Defect Number
Enhancement Number
Cause
The OpenEdge AdminServer (Service) start sequence within the first 3 Services (Alphabetical listing) in the Windows Services.  Dependency services need to be started first in order to authorise and authenticate the Domain user before windows can come up successfully.  While AdminServer is starting, it causes other necessary services in the queue to wait until AdminServer successfully completes it starting process which causes windows to hang.  This prevents users from being able to log in to the Virtual Windows Server using Remote Desktop.

When using the standard 'Local System Account' account to start the AdminService, this is not needed as the local system account is always reachable.

The Services that raised dependency errors are listed below.  
  • Each of these Windows Services have dependencies on other windows services.  
  • They may overlap each other for dependent services.  
  • Depending on Windows releases and how the Domain architecture and authentication are configured, the list provided below covers the most common dependent services
TermService
Netlogon
Dhcp
Dnscache
nsi
lmhosts
LanmanWorkstation
WebClient
 
Resolution
1. The Network Interface failed to initialise properly due to a device attached to the system is not functioning, which needs to be removed or fixed.

2.  Set the AdminService to: Automatic (Delayed Start) 

This will cause the AdminService to delay startup whenever the system reboots, allowing additional time for other services to start first.
  • [WIN+R]: services.msc
  • OpenEdge AdminService > Properties > General [tab]:
  • Startup type: Automatic (Delayed Start)
3. Add Service Dependencies specifically for the OpenEdge AdminService (service)

A. Dependent Services, once identified for the specific Windows environment can be added with elevated rights from a command shell.
Example:
sc config AdminService11.7(64-bit) depend= TermService/Netlogon/Dhcp/Dnscache/nsi/lmhosts/LanmanWorkstation/WebClient    

B. Service dependencies can be added to the Registry (with the usual caveats)

1.  Export the registry key for the AdminServer:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdminService11.7(64-bit)  
2.  Download the attached registry key export: [ AdminService.reg.txt ]
3.  Add the "DependOnService" string entry with the exact hex value to your exported AdminService registry key in a text editor (Notepad)
4.  Reapply the AdminService keys to the registry by double clicking on your updated .reg file
5.  Once the registry is set with the service dependencies, these dependent services can be reviewed from services.msc for the AdminService by viewing the Properties and then selecting "Dependencies" Tab  
  • Verify that these dependent services are found in this server's Windows Services   
  • Remove unused Services and add additional Services not listed from the AdminServer registry key "DependOnService" string  
Workaround
Notes
Keyword Phrase
Last Modified Date10/2/2020 1:25 PM

Powered by