Share via

XML als Standardt programm am Surface 8 PRo

Hahn, Florian 0 Reputation points
2026-04-09T08:43:39.6+00:00

Hallo Aktuell habe ich das Problem das wir XML Dateien haben im Intranet und um die diese auf meinem Surface 8 Pro Zu öffnen muss ich immer auf auf den Downloadordner gehen und diese dort mit Öffnen mit Excel öffnen

Bei meinem Kollegen der ein Lenovo L15 hat geht es das er auf das Verzeichnis geht und dort auswählt "immer" über diese App öffnen auswählt bei mir fehlt diese Funktion leider komplett. Wir haben beide die selbe Windows Version (11 24h2 26100.8037) und ich habe auch schon aus anderen Foren es über Regestry Einträge probiert ohne Erfolg. So sieht es bei mir aus. (bei anderen Surface Nutzern bei uns tritt das selbe Problem auf)

User's image

Microsoft Edge | Other | Windows 10
0 comments No comments

3 answers

Sort by: Most helpful
  1. Francisco Montilla 30,200 Reputation points Independent Advisor
    2026-04-09T12:33:45.31+00:00

    That should permanently link them for you!

    0 comments No comments

  2. Francisco Montilla 30,200 Reputation points Independent Advisor
    2026-04-09T12:32:35.25+00:00

    Hello,

    You can bypass it and force the change directly in your system settings.

    Open your Settings > Apps > Default apps. At the very top of that page you will see a search box where you can look up a specific file type. Type .xml into that search bar. When the .xml extension shows up right below it, click on whatever program is currently assigned to it. A list of programs will appear, so just choose Excel and hit the Set default button at the bottom of that prompt.

    That should permanently link them for you.


  3. Q&A Assist
    2026-04-09T08:44:07.27+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The behavior difference is caused by how the .xml file type is registered on the Surface. To restore the “always use this app” behavior and open XML directly with Excel, configure the XML file association and Excel registration in the registry as documented for XML/Excel.

    Warning: Registry editing can have harmful side effects if done incorrectly. Create a backup or restore point before changing anything.

    1. Ensure Excel is registered as handler for .xml Use the registry keys that explicitly add Excel for XML, matching the installed Office edition: For Office 2016/365 Click‑to‑Run (most common on Surface, 64‑bit example):
         [HKEY_CLASSES_ROOT\.xml\OpenWithList\Excel.exe]
         @=""
         
         [HKEY_CLASSES_ROOT\Applications\Excel.exe]
         "FriendlyAppName"="@C:\\Program Files\\Microsoft Office\\root\\VFS\\ProgramFilesCommonX64\\Microsoft Shared\\Office16\\oregres.dll,-206"
         
         [HKEY_CLASSES_ROOT\Applications\Excel.exe\shell]
         
         [HKEY_CLASSES_ROOT\Applications\Excel.exe\shell\edit]
         @="@C:\\Program Files\\Microsoft Office\\root\\VFS\\ProgramFilesCommonX64\\Microsoft Shared\\Office16\\oregres.dll,-1"
         
         [HKEY_CLASSES_ROOT\Applications\Excel.exe\shell\edit\command]
         @="\"C:\\Program Files\\Microsoft Office\\root\\Office16\\EXCEL.EXE\" /n \"%1\""
         
         [HKEY_CLASSES_ROOT\Applications\Excel.exe\SupportedTypes]
         ".xml"=""
         
         [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Applications\excel.exe\shell\edit\command]
         @="\"C:\\Program Files\\Microsoft Office\\Root\\Office16\\EXCEL.EXE\" /n \"%1\""
         
         [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Applications\excel.exe\SupportedTypes]
         ".xml"=""
         
         [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\.xml\OpenWithList\excel.exe]
         @=""
      
      For 32‑bit Office or MSI‑based Office 2013/2016, use the corresponding paths from the article instead (Office15/Office16 and Program Files (x86) where applicable).
    2. Prefer OpenWithProgids for modern Windows In addition to the legacy OpenWithList, ensure .xml has a proper OpenWithProgids entry so Windows 11 can offer Excel as a persistent default:
         HKEY_CLASSES_ROOT
            .xml
               OpenWithProgids
                  Excel.Sheet.12    REG_SZ
      
      This aligns with the documented recommendation to use OpenWithProgids instead of only OpenWithList for modern file associations.
    3. Reboot and set Excel as default for .xml After importing/creating the keys and restarting Windows:
      • Right‑click any .xml file in File Explorer.
      • Choose Open withChoose another app.
      • Select Excel.
      • The option to always use this app for .xml should now be available; select it and confirm.

    Once these registry entries are in place, XML files opened from the intranet (after download) should consistently offer Excel as a default choice, and the “immer mit dieser App öffnen” option should appear as on the Lenovo device.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.