Salesforce

AdminService is running after a previous Windows shutdown when autostart is set to false

« Go Back

Information

 
TitleAdminService is running after a previous Windows shutdown when autostart is set to false
URL NameAdminservice-for-OpenEdge-is-running-after-a-previous-Windows-shutdown-despite-autostart-set-to-false
Article Number000149488
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x, 12.x
OS: Windows 10
Question/Problem Description
The Adminserver is running after a shutdown and startup of a Windows 10 machine
When the AdminService is not stopped before a system shutdown it is running when the system re-starts
After a new start of the Windows machine, the AdminService is running when configured for manual start
When a Windows Server is started the AdminService is running which should not autostart 
 
Steps to ReproduceSet the Windows service "Adminservice for OpenEdge..." startup type to "Manual".
Shutdown the Windows machine
Start the Windows machine
Clarifying Information
The Windows Service "AdminService for OpenEdge..." startup type is set to "Manual"
When a Service's Startup Type is configured for MANUAL start it is not expected that that Service is running after a shutdown and a new start of the Windows machine.
Error Message
Defect Number
Enhancement Number
Cause
This behaviour is caused by the Windows 10 feature 'fast startup' when POWER options use Windows hibernation
Further information about the Windows 10 'fast startup' feature can be found at MicroSoft:
Resolution
Disable the Fast Startup Feature
  1. Windows + R > powercfg.cpl 
  2. Select:  'Choose what the power button do'
  3. Deselect: 'Turn on fast startup (recommended)'
It is also possible to disable Hiber Boot with the following registry key, (caveats implied):
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"HiberbootEnabled"=dword:00000001
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"HiberbootEnabled"=dword:00000000

As an alternative to disabling the Windows 'fast startup' feature, create a batch script to shutdown Windows without using 'fast startup':
C:\Windows\System32\shutdown.exe /s /f /t 0

This Fast Startup feature also affects Windows system re-starts, for example after system updates:
Workaround
Notes
Keyword Phrase
Last Modified Date10/2/2020 11:27 AM

Powered by