date: 2026-11-15 label: windows-2022 ### os [pwsh] $ [System.Environment]::OSVersion.VersionString; (Get-CimInstance Win32_OperatingSystem).Caption; $env:PROCESSOR_ARCHITECTURE; python --version; python -c "import platform;print(platform.machine(), platform.platform())"; (Get-ExecutionPolicy -List | Out-String) Microsoft Windows NT 10.0.20348.0 Microsoft Windows Server 2022 Datacenter AMD64 Python 3.13.17 AMD64 Windows-2022Server-10.0.20348-SP0 Scope ExecutionPolicy ----- --------------- MachinePolicy Undefined UserPolicy Undefined Process Undefined CurrentUser Undefined LocalMachine RemoteSigned [exit 0] ### versions [cmd] $ ver Microsoft Windows [Version 10.0.20348.5870] [exit 0] ### venv [pwsh] $ python -m venv v; Get-ChildItem v | Select-Object -ExpandProperty Name Include Lib Scripts .gitignore pyvenv.cfg [exit 0] ### quote-pwsh-none [pwsh] $ .\v\Scripts\pip.exe install --dry-run -q markitdown[pdf] [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip [exit 0] ### quote-ps5-none [ps5] $ .\v\Scripts\pip.exe install --dry-run -q markitdown[pdf] [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip [exit 0] ### quote-cmd-none [cmd] $ v\Scripts\pip.exe install --dry-run -q markitdown[pdf] [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip [exit 0] ### quote-bash-none [bash] $ ./v/Scripts/pip.exe install --dry-run -q markitdown[pdf] [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip [exit 0] ### quote-pwsh-single [pwsh] $ .\v\Scripts\pip.exe install --dry-run -q 'markitdown[pdf]' [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip [exit 0] ### quote-ps5-single [ps5] $ .\v\Scripts\pip.exe install --dry-run -q 'markitdown[pdf]' [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip [exit 0] ### quote-cmd-single [cmd] $ v\Scripts\pip.exe install --dry-run -q 'markitdown[pdf]' [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip ERROR: Invalid requirement: "'markitdown[pdf]'": Expected package name at the start of dependency specifier 'markitdown[pdf]' ^ [exit 1] ### quote-bash-single [bash] $ ./v/Scripts/pip.exe install --dry-run -q 'markitdown[pdf]' [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip [exit 0] ### quote-pwsh-double [pwsh] $ .\v\Scripts\pip.exe install --dry-run -q "markitdown[pdf]" [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip [exit 0] ### quote-ps5-double [ps5] $ .\v\Scripts\pip.exe install --dry-run -q "markitdown[pdf]" [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip [exit 0] ### quote-cmd-double [cmd] $ v\Scripts\pip.exe install --dry-run -q "markitdown[pdf]" [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip [exit 0] ### quote-bash-double [bash] $ ./v/Scripts/pip.exe install --dry-run -q "markitdown[pdf]" [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip [exit 0] ### activate-restricted [ps5restricted] $ .\v\Scripts\Activate.ps1 & : File D:\a\work\work\results\windows-2022\_c_activate_restricted.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:74 + ... d -Force; & 'D:\a\work\work\results\windows-202 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess [exit 1] ### activate-process-fix [ps5] $ Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned -Force; .\v\Scripts\Activate.ps1; Get-Command python | Select-Object -ExpandProperty Source D:\a\work\work\v\Scripts\python.exe [exit 0] ### activate-bash-style-pwsh [pwsh] $ source v/bin/activate source: D:\a\work\work\results\windows-2022\_c_activate_bash_style_pwsh.ps1:1 Line | 1 | source v/bin/activate | ~~~~~~ | The term 'source' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. [exit 0] ### activate-bash-style-cmd [cmd] $ source v/bin/activate 'source' is not recognized as an internal or external command, operable program or batch file. [exit 1] ### activate-cmd [cmd] $ call v\Scripts\activate.bat && where python D:\a\work\work\v\Scripts\python.exe C:\hostedtoolcache\windows\Python\3.13.17\x64\python.exe C:\hostedtoolcache\windows\Python\3.12.10\x64\python.exe [exit 0] ### install-all [pwsh] $ .\v\Scripts\pip.exe install "markitdown[all]" 2>&1 | Select-Object -Last 3; .\v\Scripts\markitdown.exe --version  [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip markitdown 0.1.9 [exit 0] ### venv-script-path [pwsh] $ (Get-Command .\v\Scripts\markitdown.exe).Source; .\v\Scripts\python.exe -m markitdown --version D:\a\work\work\v\Scripts\markitdown.exe markitdown 0.1.9 [exit 0] ### user-install [pwsh] $ python -m pip install --user "markitdown" 2>&1 | Select-String -Pattern "WARNING|Successfully" ; markitdown --version Successfully installed beautifulsoup4-4.15.0 certifi-2026.10.23 charset-normalizer-3.5.2 click-8.5.1 defusedxml-0.7.1  flatbuffers-25.12.19 idna-3.20 magika-1.0.3 markdownify-1.2.3 markitdown-0.1.9 numpy-2.5.4 onnxruntime-1.32.0  packaging-26.3 protobuf-7.36.2 requests-2.34.2 six-1.17.0 soupsieve-4.1.1 typing-extensions-4.16.0 urllib3-2.8.0 markitdown 0.1.9 [exit 0] ### user-scripts-dir [pwsh] $ python -c "import site,sysconfig;print(sysconfig.get_path('scripts','nt_user'))"; $env:PATH -split ";" | Select-String -SimpleMatch "Scripts" | Select-Object -First 5 C:\Users\runneradmin\AppData\Roaming\Python\Python313\Scripts C:\Users\runneradmin\AppData\Roaming\Python\Python313\Scripts C:\hostedtoolcache\windows\Python\3.13.17\x64\Scripts C:\hostedtoolcache\windows\Python\3.12.10\x64\Scripts [exit 0] ### path-spaces-nonascii [pwsh] $ .\v\Scripts\markitdown.exe "p a t h\my report 東京.docx" -o "p a t h\out 東京.md"; $b=[IO.File]::ReadAllBytes("p a t h\out 東京.md"); "bytes=$($b.Length) crlf=" + (([regex]::Matches([Text.Encoding]::UTF8.GetString($b), "`r`n")).Count) + " bom=" + ($b[0] -eq 0xEF) bytes=886 crlf=36 bom=False [exit 0] ### unc-path [pwsh] $ .\v\Scripts\markitdown.exe "\\localhost\D$\a\work\work\p a t h\my report 東京.docx" 2>&1 | Select-Object -First 6 Pilot Report: Field Station Alpha # 1. Summary This report covers **three sites** during *spring 2026* with underlined ~~and struck text.~~ [exit 0] ### device-path [pwsh] $ .\v\Scripts\markitdown.exe "\\?\D:\a\work\work\p a t h\my report 東京.docx" 2>&1 | Select-Object -First 6 Pilot Report: Field Station Alpha # 1. Summary This report covers **three sites** during *spring 2026* with underlined ~~and struck text.~~ [exit 0] ### mapped-drive [cmd] $ net use Z: "\\localhost\D$" >nul && v\Scripts\markitdown.exe "Z:\a\work\work\p a t h\my report 東京.docx" 2>&1 | more +0 Traceback (most recent call last): File "", line 203, in _run_module_as_main File "", line 88, in _run_code File "D:\a\work\work\v\Scripts\markitdown.exe\__main__.py", line 5, in sys.exit(main()) ~~~~^^ File "D:\a\work\work\v\Lib\site-packages\markitdown\__main__.py", line 257, in main result = markitdown.convert( args.filename, stream_info=stream_info, keep_data_uris=args.keep_data_uris ) File "D:\a\work\work\v\Lib\site-packages\markitdown\_markitdown.py", line 349, in convert return self.convert_local(source, stream_info=stream_info, **kwargs) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\a\work\work\v\Lib\site-packages\markitdown\_markitdown.py", line 399, in convert_local with open(path, "rb") as fh: ~~~~^^^^^^^^^^^^ OSError: [Errno 22] Invalid argument: 'Z:\\a\\work\\work\\p a t h\\my report ??.docx' [exit 0] ### unc-pythonapi [pwsh] $ .\v\Scripts\python.exe -c "from markitdown import MarkItDown; print(MarkItDown().convert(r'\\localhost\D$\a\work\work\p a t h\my report 東京.docx').markdown[:60])" 2>&1 | Select-Object -Last 4 # 1. Summary This report [exit 0] ### unc-0.1.7 [pwsh] $ python -m venv v7; .\v7\Scripts\pip.exe install -q "markitdown[docx]==0.1.7"; .\v7\Scripts\markitdown.exe "\\localhost\D$\a\work\work\p a t h\my report 東京.docx" 2>&1 | Select-Object -First 4 [notice] A new release of pip is available: 26.2.2 -> 26.3 [notice] To update, run: D:\a\work\work\v7\Scripts\python.exe -m pip install --upgrade pip D:\a\work\work\v7\Lib\site-packages\onnxruntime\capi\onnxruntime_validation.py:26: UserWarning: Unsupported Windows version (2022server). ONNX Runtime supports Windows 10 and above, only.  warnings.warn( Pilot Report: Field Station Alpha [exit 0] ### winget-version [pwsh] $ winget --version winget: D:\a\work\work\results\windows-2022\_c_winget_version.ps1:1 Line | 1 | winget --version | ~~~~~~ | The term 'winget' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. [exit 0] ### winget-show-Python.Python.3.13 [pwsh] $ winget show --id Python.Python.3.13 --exact --accept-source-agreements 2>&1 | Select-Object -First 12 winget: D:\a\work\work\results\windows-2022\_c_winget_show_Python_Python_3_13.ps1:1 Line | 1 | winget show --id Python.Python.3.13 --exact --accept-source-agreement … | ~~~~~~ | The term 'winget' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. [exit 0] ### winget-show-Gyan.FFmpeg [pwsh] $ winget show --id Gyan.FFmpeg --exact --accept-source-agreements 2>&1 | Select-Object -First 12 winget: D:\a\work\work\results\windows-2022\_c_winget_show_Gyan_FFmpeg.ps1:1 Line | 1 | winget show --id Gyan.FFmpeg --exact --accept-source-agreements 2>&1 … | ~~~~~~ | The term 'winget' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. [exit 0] ### winget-show-OliverBetz.ExifTool [pwsh] $ winget show --id OliverBetz.ExifTool --exact --accept-source-agreements 2>&1 | Select-Object -First 12 winget: D:\a\work\work\results\windows-2022\_c_winget_show_OliverBetz_ExifTool.ps1:1 Line | 1 | winget show --id OliverBetz.ExifTool --exact --accept-source-agreemen … | ~~~~~~ | The term 'winget' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. [exit 0] ### winget-show-astral-sh.uv [pwsh] $ winget show --id astral-sh.uv --exact --accept-source-agreements 2>&1 | Select-Object -First 12 winget: D:\a\work\work\results\windows-2022\_c_winget_show_astral_sh_uv.ps1:1 Line | 1 | winget show --id astral-sh.uv --exact --accept-source-agreements 2>&1 … | ~~~~~~ | The term 'winget' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. [exit 0] ### winget-show-Microsoft.WindowsTerminal [pwsh] $ winget show --id Microsoft.WindowsTerminal --exact --accept-source-agreements 2>&1 | Select-Object -First 12 winget: D:\a\work\work\results\windows-2022\_c_winget_show_Microsoft_WindowsTerminal.ps1:1 Line | 1 | winget show --id Microsoft.WindowsTerminal --exact --accept-source-ag … | ~~~~~~ | The term 'winget' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. [exit 0] ### winget-search-markitdown [pwsh] $ winget search markitdown --accept-source-agreements 2>&1 | Select-Object -Last 3 winget: D:\a\work\work\results\windows-2022\_c_winget_search_markitdown.ps1:1 Line | 1 | winget search markitdown --accept-source-agreements 2>&1 | Select-Obj … | ~~~~~~ | The term 'winget' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. [exit 0] ### winget-search-microsoft-markitdown [pwsh] $ winget search "microsoft markitdown" --source msstore --accept-source-agreements 2>&1 | Select-Object -Last 3 winget: D:\a\work\work\results\windows-2022\_c_winget_search_microsoft_markitdown.ps1:1 Line | 1 | winget search "microsoft markitdown" --source msstore --accept-source … | ~~~~~~ | The term 'winget' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. [exit 0] ### winget-install-python [pwsh] $ winget install --id Python.Python.3.12 --exact --silent --accept-package-agreements --accept-source-agreements 2>&1 | Select-Object -Last 4; $u=[Environment]::GetEnvironmentVariable("Path","User"); $m=[Environment]::GetEnvironmentVariable("Path","Machine"); "user path python entries: " + (($u -split ";") | Where-Object { $_ -match "Python3" }); "machine path python entries: " + (($m -split ";") | Where-Object { $_ -match "Python3" }); py -0p winget: D:\a\work\work\results\windows-2022\_c_winget_install_python.ps1:1 Line | 1 | winget install --id Python.Python.3.12 --exact --silent --accept-pack … | ~~~~~~ | The term 'winget' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. user path python entries: machine path python entries: -V:3.15 * C:\hostedtoolcache\windows\Python\3.15.2\x64\python.exe -V:3.15-32 C:\hostedtoolcache\windows\Python\3.15.2\x86\python.exe -V:3.14 C:\hostedtoolcache\windows\Python\3.14.10\x64\python.exe -V:3.14-32 C:\hostedtoolcache\windows\Python\3.14.10\x86\python.exe -V:3.13 C:\hostedtoolcache\windows\Python\3.13.17\x64\python.exe -V:3.13-32 C:\hostedtoolcache\windows\Python\3.13.17\x86\python.exe -V:3.12 C:\hostedtoolcache\windows\Python\3.12.10\x64\python.exe -V:3.12-32 C:\hostedtoolcache\windows\Python\3.12.10\x86\python.exe -V:3.11 C:\hostedtoolcache\windows\Python\3.11.9\x64\python.exe -V:3.11-32 C:\hostedtoolcache\windows\Python\3.11.9\x86\python.exe [exit 0] ### winget-ffmpeg-exiftool [pwsh] $ winget install --id Gyan.FFmpeg --exact --silent --accept-package-agreements --accept-source-agreements 2>&1 | Select-Object -Last 2; winget install --id OliverBetz.ExifTool --exact --silent --accept-package-agreements --accept-source-agreements 2>&1 | Select-Object -Last 2; $env:PATH = [Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [Environment]::GetEnvironmentVariable("Path","User"); (Get-Command ffmpeg -ErrorAction SilentlyContinue).Source; (Get-Command exiftool -ErrorAction SilentlyContinue).Source; ffmpeg -version | Select-Object -First 1; exiftool -ver winget: D:\a\work\work\results\windows-2022\_c_winget_ffmpeg_exiftool.ps1:1 Line | 1 | winget install --id Gyan.FFmpeg --exact --silent --accept-package-agr … | ~~~~~~ | The term 'winget' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. winget: D:\a\work\work\results\windows-2022\_c_winget_ffmpeg_exiftool.ps1:1 Line | 1 | … accept-source-agreements 2>&1 | Select-Object -Last 2; winget install … | ~~~~~~ | The term 'winget' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. ffmpeg: D:\a\work\work\results\windows-2022\_c_winget_ffmpeg_exiftool.ps1:1 Line | 1 | … ommand exiftool -ErrorAction SilentlyContinue).Source; ffmpeg -versio … | ~~~~~~ | The term 'ffmpeg' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. exiftool: D:\a\work\work\results\windows-2022\_c_winget_ffmpeg_exiftool.ps1:1 Line | 1 | … inue).Source; ffmpeg -version | Select-Object -First 1; exiftool -ver | ~~~~~~~~ | The term 'exiftool' is not recognized as a name of a cmdlet, function, script file, or executable program. Check | the spelling of the name, or if a path was included, verify that the path is correct and try again. [exit 0] ### markitdown-sees-ffmpeg [pwsh] $ $env:PATH = [Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [Environment]::GetEnvironmentVariable("Path","User"); Copy-Item "$env:GITHUB_WORKSPACE\corpus\synthetic\*.mp3" . -ErrorAction SilentlyContinue; Get-ChildItem *.mp3 | Select-Object -First 1 | ForEach-Object { .\v\Scripts\markitdown.exe $_.Name 2>&1 | Select-Object -First 5 } D:\a\work\work\v\Lib\site-packages\pydub\utils.py:198: RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work  warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning) Traceback (most recent call last):  File "", line 203, in _run_module_as_main  File "", line 88, in _run_code [exit 0]