code: def get_service_from_display_name(displayName):
          
          with win32.OpenSCManager(
              dwDesiredAccess = win32.SC_MANAGER_ENUMERATE_SERVICE
          ) as hSCManager:
              return win32.GetServiceKeyName(hSCManager, displayName)
docs: Get the service unique name given its display name.
  
          @see: L{get_service}
  
          @type  displayName: str
          @param displayName: Service display name. You can get this value from
              the C{DisplayName} member of the service descriptors returned by
              L{get_services} or L{get_active_services}.
  
          @rtype:  str
          @return: Service unique name.