Skip to content

NVDA 2022.3.2 install fails on Windows 10 21H2 19044 Server #14379

@Qchristensen

Description

@Qchristensen

Steps to reproduce:

Reported by email from user

Running NVDA 2022.3.2 launcher with following switches:
--minimal --install-silent --enable-start-on-logon=True

Actual behavior:

Install fails

From log:

CRITICAL - __main__ (13:36:50.390) - MainThread (2316):
core failure
ValueError: -1 is not a valid _WTS_LockState

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "nvda.pyw", line 394, in <module>
  File "core.pyc", line 702, in main
  File "core.pyc", line 634, in __init__
  File "winAPI\sessionTracking.pyc", line 288, in register
  File "winAPI\sessionTracking.pyc", line 205, in _setInitialWindowLockState
  File "winAPI\sessionTracking.pyc", line 220, in _isWindowsLocked_checkViaSessionQuery
  File "winAPI\sessionTracking.pyc", line 448, in _getSessionLockedValue
  File "enum.pyc", line 315, in __call__
  File "monkeyPatches\enumPatches.pyc", line 44, in _replacement__new__
  File "monkeyPatches\enumPatches.pyc", line 41, in _replacement__new__
  File "enum.pyc", line 582, in _missing_
ValueError: -1 is not a valid _WTS_LockState
INFO - winAPI.sessionTracking.unregister (13:36:50.391) - MainThread (2316):
Not unregistered session tracking, it was not registered.

Expected behavior:

Install should complete normally.

NVDA logs, crash dumps and other attachments:

Install_NVDA.log

System configuration

NVDA installed/portable/running from source:

NVDA version:

2022.3.2

Windows version:

Windows version: Windows 10 21H2 (10.0.19044) server

Name and version of other software in use when reproducing the issue:

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

Have you tried any other versions of NVDA? If so, please report their behaviors.

If NVDA add-ons are disabled, is your problem still occurring?

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Metadata

Metadata

Assignees

Labels

needs-technical-investigationA technical investigation is required to progress the issue.p2https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions