Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion scenarios/windows/msa_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
# Setup instructions:
##

import builtins
import os
import logging
import time
Expand Down Expand Up @@ -118,6 +117,12 @@ def runTest(self):
pass
time.sleep(1)

# Verify account was set properly
found_account = self._call(["powershell.exe", r"(get-childitem hkcu:\Software\Microsoft\IdentityCRL\UserExtendedProperties\ | select pschildname).pschildname"], expected_exit_code="")
if self.msa_account.lower() != found_account.strip().lower():
logging.error(f"MSA account verification failed. Expected: {self.msa_account}, Found: {found_account.strip()}")
self.fail("MSA account verification failed.")

# Set auto login MSA Account
self._call(["cmd.exe", '/C reg add "HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon" /v DefaultUserName /t REG_SZ /d ' + self.msa_account + ' /f > null 2>&1'])
self._call(["cmd.exe", '/C reg add "HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon" /v DefaultPassword /t REG_SZ /d ' + self.dut_password + ' /f > null 2>&1'])
Expand Down
2 changes: 1 addition & 1 deletion setup_src/src_dut_win/dut_setup.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set dut_setup_version=2.0
set dut_setup_version=2.1

REM Copyright (c) Microsoft. All rights reserved.
REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
Expand Down
2 changes: 1 addition & 1 deletion setup_src/src_dut_win/dut_setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "dut_setup"
#define MyAppVersion "2.0"
#define MyAppVersion "2.1"
#define MyAppPublisher "Microsoft"

[Setup]
Expand Down
2 changes: 1 addition & 1 deletion setup_src/src_host/python_embed_pip.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ REM Copyright (c) Microsoft. All rights reserved.
REM Licensed under the MIT license. See LICENSE file in the project root for full license information.

pushd %~dp0
python_embed\Scripts\pip.exe %*
..\..\downloads\python_embed\Scripts\pip.exe %*
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public DesktopDuplicationCapturer(uint outputIndex)
using var output1 = output.QueryInterfaceOrNull<IDXGIOutput1>()
?? throw new InvalidOperationException("Failed to query IDXGIOutput1.");

_duplication = output1.DuplicateOutput(_device);
// _duplication = output1.DuplicateOutput(_device);
}
}

Expand Down
Binary file modified utilities/open_source/InputInject/Output/InputInject_win-arm64.zip
Binary file not shown.
Binary file modified utilities/open_source/InputInject/Output/InputInject_win-x64.zip
Binary file not shown.