Skip to content

[Bug] Problem closing HCL and IBM Notes #1713

@Dennis-Bezold

Description

@Dennis-Bezold

Prerequisites

PSAppDeployToolkit version

4.1.4

Describe the bug

Hi togehter,

I'm running in an Error if HCL or IBM Notes must be closed for an installation, uninstallation or repair.

When I'm adding "notes" or "notes2" to $adtSession.AppProcessesToClose and the App is running an error occurse. If it's not running, there's no error.

You can see this in the added files. We get these Error on Win 10 and Win 11.

I'm pretty sure it's not about Notes itself, but about the process name notes.exe and notes2.exe. nlnotes works.

Logfile while Notes is not running:
HCLNotes_Test while not running_1_x86_EN_01_PSAppDeployToolkit_Install.log

Logfile while Notes is running:
HCLNotes_Test while running_1_x86_EN_01_PSAppDeployToolkit_Install.log

Greetings,

Dennis

Steps to reproduce

  1. Add following to Invoke-AppDeployToolkit.ps1
    AppProcessesToClose = @("notes", "notes2", "nlnotes") # Example: @('excel', @{ Name = 'winword'; Description = 'Microsoft Word' })

  2. Start HCL or IBM Notes
    notes.exe is only running on the app startup, notes2.exe and nlnotes.exe is running while the app is open

  3. Run Invoke-AppDeployToolkit.exe or ps1

  4. Get the Error

Environment data

Win 10:
OsName               : Microsoft Windows 10 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture       : 64-Bit
WindowsVersion       : 2009
WindowsProductName   : Windows 10 Enterprise
WindowsBuildLabEx    : 19041.1.amd64fre.vb_release.191206-1406
OsLanguage           : de-DE
OsMuiLanguages       : {de-DE}
KeyboardLayout       : de-DE
TimeZone             : (UTC+01:00) Amsterdam, Berlin, Bern, Rom, Stockholm, Wien
HyperVisorPresent    : True
CsPartOfDomain       : True
CsPCSystemType       : Mobile

Win 11:
OsName               : Microsoft Windows 11 Enterprise
OSDisplayVersion     : 24H2
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture       : 64-Bit
WindowsVersion       : 2009
WindowsProductName   : Windows 10 Enterprise
WindowsBuildLabEx    : 26100.1.amd64fre.ge_release.240331-1435
OsLanguage           : de-DE
OsMuiLanguages       : {de-DE}
KeyboardLayout       : de-DE
TimeZone             : (UTC+01:00) Amsterdam, Berlin, Bern, Rom, Stockholm, Wien
HyperVisorPresent    : True
CsPartOfDomain       : True
CsPCSystemType       : Desktop

Metadata

Metadata

Assignees

Labels

Type: Issue / BugSomething isn't working as expected

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions