meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:staff:office97dateien [20.05.2026 12:48] – kac40082 | en:staff:office97dateien [15.07.2026 13:04] (current) – kac40082 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| **Overview** | **Overview** | ||
| - | As part of the continuous development of IT services, the IT Center is discontinuing support for legacy Microsoft Office file formats | + | As part of the continuous development of IT services, the IT Center is discontinuing support for legacy Microsoft Office file formats |
| * Word: .doc | * Word: .doc | ||
| * Excel: .xls | * Excel: .xls | ||
| * PowerPoint: .ppt | * PowerPoint: .ppt | ||
| - | These formats will gradually be completely | + | |
| + | These formats will gradually be fully replaced by the modern XML-based Office formats: | ||
| * .docx | * .docx | ||
| * .xlsx | * .xlsx | ||
| * .pptx | * .pptx | ||
| + | |||
| The goal of this transition is to sustainably improve the security, stability, compatibility, | The goal of this transition is to sustainably improve the security, stability, compatibility, | ||
| - | Reasons for the transition | + | ========= Quick Guide: Conversion Using the Script ========= |
| - | The discontinuation of the old file formats is based on several factors: | + | |
| - | * Security: Older formats only provide limited support for modern security mechanisms and pose an increased risk of malware. | + | |
| - | * Compatibility: | + | |
| - | * Stability & Performance: | + | |
| - | * Long-term support: Microsoft and other vendors are only continuing development for current formats. | + | |
| - | What does this mean for users? | + | <note warning> |
| - | * Documents in the legacy formats .doc, .xls, .ppt will no longer | + | Note: A compact step-by-step guide for the quick conversion of multiple files can be found in the following section. |
| - | * New documents must be created and saved exclusively in the formats .docx, .xlsx, .pptx. | + | |
| - | * Existing files in legacy formats should be gradually converted to the new formats. | + | |
| - | Important note | + | A detailed and comprehensive description of the procedure can be found in the section [[# |
| - | Conversion must not be performed by simply renaming | + | </ |
| - | (e.g., from .ppt to .pptx). | + | |
| - | Correct conversion is only possible via “Open” and “Save As” in Microsoft Office or by using the provided script. | + | |
| - | ====== 1. Identify legacy Office files ====== | + | Download and extract the script: |
| - | To identify | + | [[https:// |
| - | Recommended procedure: | + | |
| + | <note important> | ||
| + | |||
| + | Open the script using PowerShell | ||
| + | |||
| + | {{: | ||
| + | |||
| + | (Note: If the script closes immediately after being launched, please open PowerShell manually as described in the detailed guide and execute the script from there.) | ||
| + | |||
| + | Specify the desired RootPath (Desktop in this example) | ||
| + | |||
| + | {{: | ||
| + | |||
| + | < | ||
| + | .\Office97_Scanner.ps1 -rootPath " | ||
| + | </ | ||
| + | |||
| + | (Note: Running the script on network drives is generally possible. However, the conversion should be performed separately for each drive and carried out gradually depending on the number of files.) | ||
| + | |||
| + | After the scan, start the conversion by entering **j + Enter** | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Afterwards, verify that the conversion was completed successfully. | ||
| + | |||
| + | This can be checked using the PowerShell output and the log files located in the script directory. | ||
| + | |||
| + | The original files are stored in the **Backup_Originale** folder. | ||
| + | |||
| + | Files that cannot be converted remain unchanged. | ||
| + | |||
| + | ===== Reasons for the Migration ===== | ||
| + | |||
| + | The discontinuation of legacy | ||
| + | |||
| + | * Security: Legacy formats provide only limited support for modern security mechanisms and pose an increased risk of malicious code. | ||
| + | * Compatibility: | ||
| + | * Stability & Performance: | ||
| + | * Long-Term Support: Microsoft and other software vendors continue to develop their products exclusively for the current file formats. | ||
| + | |||
| + | ===== What Does This Mean for Users? ===== | ||
| + | |||
| + | * Documents in the legacy formats .doc, .xls, and .ppt will no longer be supported in the future. | ||
| + | * New documents must only be created and saved in the formats .docx, .xlsx, and .pptx. | ||
| + | * Existing | ||
| + | |||
| + | <note important> | ||
| + | The conversion must not be performed simply by renaming the file extension | ||
| + | (for example, changing .ppt to .pptx). | ||
| + | |||
| + | A proper conversion is only possible by using “Open” and “Save As” in Microsoft Office or by using the provided script. | ||
| + | </ | ||
| + | |||
| + | ====== Finding Legacy Office Files ====== | ||
| + | |||
| + | First determine: **How many** files, **which** formats, and **where** they are located. | ||
| + | |||
| + | There are several options: | ||
| + | |||
| + | * **PowerShell Script** (`Office97-Scanner.ps1`) – creates a CSV file containing the file path, actual internal format, file size, and last modification date. Does not require Office and therefore works even when Intune/File Block restrictions are in place. | ||
| + | * **Windows | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | System and application folders (`C: | ||
| + | |||
| + | Depending on the number of files found, different conversion approaches may be appropriate. | ||
| + | |||
| + | ===== Powershell Script ===== | ||
| + | |||
| + | A search path can be passed to this script. The specified path is searched __recursively__ and all results are stored in a CSV file. | ||
| + | |||
| + | This script can be executed on all devices and is intended to provide an initial overview of affected files. No files are converted during this step. | ||
| + | |||
| + | * The script can be executed on any Windows PC or laptop | ||
| + | * No administrative rights are required | ||
| + | * Can also be used by professors and staff members | ||
| + | |||
| + | The script can be downloaded here: | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | ==== Step 1.1: Download the Script ==== | ||
| + | |||
| + | Extract the file and copy it, for example, into a (temporary) folder on your desktop: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | When executed, the script creates a CSV file in the same directory where the script is located. | ||
| + | |||
| + | ==== Step 1.2: Run the Script ==== | ||
| + | |||
| + | * Open PowerShell and change to the directory containing the script (or execute it directly from the folder using the context menu option //Run with PowerShell// | ||
| + | * Run the script in PowerShell using any desired search path (e.g. "C:\Users\abc12345\" | ||
| + | |||
| + | < | ||
| + | .\Office97_Scanner.ps1 -rootPath " | ||
| + | </ | ||
| + | |||
| + | {{: | ||
| + | |||
| + | * A first summary of the files identified is displayed directly in PowerShell: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ==== Step 1.3: View the Report ==== | ||
| + | |||
| + | Open the generated CSV file. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The report provides an overview of how many legacy files were found within the selected search path, where they are located, which internal format they use, and when they were last modified. | ||
| + | |||
| + | After reviewing the results, the files should either be converted, archived, or deleted. | ||
| + | |||
| + | If you do not wish to use the script, the files can also be located using File Explorer. | ||
| Open the desired folder in File Explorer. | Open the desired folder in File Explorer. | ||
| Line 39: | Line 151: | ||
| {{: | {{: | ||
| - | Switch to “Sort”. | + | In the folder, select |
| - | Sort or group files by the “Type” column. | + | |
| + | Sort or group the files by the “Type” column. | ||
| Legacy Office files will then be clearly displayed, for example as: | Legacy Office files will then be clearly displayed, for example as: | ||
| - | Microsoft Word 97–2003 Document (.doc) | + | Microsoft Word 97–2003 Document (.doc) |
| - | Microsoft Excel 97–2003 Worksheet (.xls) | + | Microsoft Excel 97–2003 Worksheet (.xls) |
| Microsoft PowerPoint 97–2003 Presentation (.ppt) | Microsoft PowerPoint 97–2003 Presentation (.ppt) | ||
| - | This allows reliable distinction | + | This makes it possible to reliably distinguish them from modern |
| {{: | {{: | ||
| - | ====== | + | ====== |
| Procedure in Microsoft Word / Excel / PowerPoint | Procedure in Microsoft Word / Excel / PowerPoint | ||
| Line 65: | Line 179: | ||
| {{: | {{: | ||
| - | 3. Select the file type: | + | 3. Select the appropriate |
| * Word Document (*.docx) | * Word Document (*.docx) | ||
| * Excel Workbook (*.xlsx) | * Excel Workbook (*.xlsx) | ||
| * PowerPoint Presentation (*.pptx) | * PowerPoint Presentation (*.pptx) | ||
| - | {{: | + | {{: |
| 4. Save the file. | 4. Save the file. | ||
| - | 5. Briefly | + | 5. Briefly |
| - | {{: | + | {{: |
| - | Recommended for: Individual or rarely | + | Recommended for: Individual or infrequently |
| - | ====== 3. Convert multiple files in batch (script-based) ====== | + | If several |
| - | General notes | + | |
| - | We generally recommend converting | + | |
| - | However, if a large number of legacy files are present | + | |
| + | Download: [[https:// | ||
| - | [[https:// | + | * Converts legacy Office formats ('' |
| + | * Requirement: | ||
| + | * No LibreOffice required. | ||
| + | * The source folder is searched **recursively** (including all subfolders). Logs and backups are stored in the **script directory** (not in the source folder). | ||
| + | * A backup is created before any file is converted. | ||
| - | <note important> | + | **Requirements |
| + | The script only works on SCCM-managed devices, not on pure Intune-managed devices (due to stricter policies). | ||
| - | Prerequisites | + | If there are Intune devices containing a large number of legacy files, the data must first be copied to an SCCM-managed PC, converted there, |
| - | * The device | + | |
| - | * LibreOffice must be installed | + | |
| - | * Installation via the Company Portal | + | |
| - | * LibreOffice must be started | + | |
| - | → required for initial setup (e.g., creation of user profile) | + | |
| - | Procedure | + | **Automated Conversion Process** |
| - | 1. Initialize LibreOffice | + | |
| - | | + | |
| - | | + | |
| - | {{:public:sonstiges: | + | - **Scan:** All files are opened, checked, and classified. At the end, a summary with counters is displayed. |
| + | - **Confirmation:** Prompt '' | ||
| - | 2. Prepare the script | + | For each successfully converted file: |
| - | * Download the script | + | |
| - | (https:// | + | |
| - | | + | |
| - | * Extract and save it to a local folder (e.g., Documents\Scripts\Office97) | + | - **Conversion: |
| + | - **Deletion: | ||
| - | {{: | + | SourceFolder\Subfolder\file.xls |
| + | | ||
| + | | ||
| + | | ||
| - | {{: | + | Files that cannot be converted are skipped unchanged and recorded in a log file. |
| - | 3. Start Windows PowerShell | + | **Classification** |
| - | • Open Windows PowerShell via Windows Search | + | |
| - | {{: | + | Not all files are converted by this script. |
| - | 4. Navigate to the script folder | + | In particular, very old files (internal BIFF2/3/4 format, Excel 2.0 - 4.0) as well as password-protected files cannot be converted automatically. |
| - | Use PowerShell to navigate to the folder where the script is stored: | + | |
| - | cd " | + | |
| - | Example: cd " | + | |
| - | {{: | + | Files containing macros are skipped. In such cases, manual conversion and verification of functionality are recommended ('' |
| - | 5. Verify script file | + | ^ **Category** ^ **Behavior** ^ **Log** ^ |
| - | Check whether the script is present in the folder: | + | | Convertible (OLE2, 97-2003 or 95) | converted | '' |
| - | dir | + | | Contains Macros | skipped | '' |
| + | | Password Protected | skipped | '' | ||
| + | | Blocked by File Block (BIFF2/3/4) | skipped | '' | ||
| + | | Other Scan Error | skipped | '' | ||
| - | {{: | + | A separate .log file is created for each category, containing all affected files. |
| - | 6. Run the script | + | Skipped files are **not modified**. They remain unchanged and can be reviewed individually |
| - | Start the conversion | + | |
| - | .\Convert-Office97.ps1 -SourcePath " | + | |
| - | Example: | + | |
| - | {{: | + | These files should subsequently be converted manually, archived, or deleted. |
| - | Output after conversion | + | ==== Example ==== |
| - | {{: | + | === Security Checklist Before Running the Script === |
| - | View in file directory | + | * Only user data paths selected (no system or application folders) |
| + | * Backup location has sufficient free space (corresponds to the script storage location) | ||
| + | * A test run has been performed on a small folder | ||
| + | * The scan summary has been reviewed before confirming with " | ||
| - | {{: | + | === Step 2.1 === |
| - | 7. Check results | + | - Download |
| - | * Verify that the converted files are located | + | |
| - | | + | - Execute the script as follows: '' |
| - | Notes | + | {{: |
| - | * Batch conversion is particularly suitable for large data volumes | + | |
| - | * Individual | + | === Step 2.2 === |
| - | * Results should always | + | |
| + | * In the first step, the script scans all files, performs the classification, | ||
| + | * After reviewing the summary, you can decide whether the files should be converted. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | === Step 2.3 === | ||
| + | |||
| + | Enter '' | ||
| + | |||
| + | Depending on the number and size of the files, this process may take some time. Progress is displayed directly in the PowerShell window. | ||
| + | |||
| + | Once the conversion has been completed, another summary and the paths to the individual log files are displayed. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | === Step 2.4 === | ||
| + | |||
| + | Review the log files and process the affected files manually. | ||
| + | |||
| + | Keep the '' | ||
| + | |||
| + | If no issues (formatting, | ||
| + | |||
| + | ====== Special Notes by Application ====== | ||
| - | ====== 4. Application-specific notes ====== | ||
| Word (.doc → .docx) | Word (.doc → .docx) | ||
| - | | + | |
| - | * Macros are not automatically | + | |
| + | * Macros are not transferred | ||
| Excel (.xls → .xlsx) | Excel (.xls → .xlsx) | ||
| - | | + | |
| + | | ||
| * Formulas | * Formulas | ||
| * Pivot tables | * Pivot tables | ||
| * Links to other files | * Links to other files | ||
| - | * Files with macros must be saved as .xlsm. | + | * Files containing |
| PowerPoint (.ppt → .pptx) | PowerPoint (.ppt → .pptx) | ||
| - | * Check animations, transitions, | ||
| - | ====== | + | * Verify animations, transitions, |
| - | Files containing macros are automatically detected | + | |
| - | Use instead: | + | ====== Handling |
| + | |||
| + | Files containing macros are automatically detected | ||
| + | |||
| + | Use the following formats | ||
| * .docm (Word with macros) | * .docm (Word with macros) | ||
| * .xlsm (Excel with macros) | * .xlsm (Excel with macros) | ||
| * .pptm (PowerPoint with macros) | * .pptm (PowerPoint with macros) | ||
| - | Please review macro-enabled files carefully and consult the IT Center if any uncertainties | + | Please review macro-enabled files particularly |
| - | ====== | + | ====== |
| - | 1. Create all new documents in the new formats immediately. | + | |
| - | 2. Prioritize | + | If a file in a legacy format (.doc, .xls, .ppt) cannot be opened locally, it may be converted using the corresponding Office Online application. |
| - | 3. Convert rarely used or archived files as needed. | + | Procedure: |
| - | 4. After successful conversion, archive | + | Upload the file to OneDrive |
| - | ====== Conversion | + | Open the file using Microsoft |
| - | If a file in a legacy format (.doc, .xls, .ppt) cannot be opened locally, it can be converted using the respective Office Online application. | + | https://www.office.com |
| - | Procedure: | + | Confirm the notification regarding the “legacy file format”. |
| - | Upload the file to OneDrive or SharePoint. | + | File → Save a Copy (online or locally). |
| - | Open the file using Microsoft Office Online: | + | |
| - | https:// | + | |
| - | Confirm the notice regarding the “older file format”. | + | |
| - | File → Save a copy (online or locally). | + | |
| - | The newly saved copy will automatically be in the current format (.docx, .xlsx, .pptx). | + | The newly created |
| - | ====== Support | + | ====== |
| - | The IT Center supports you via // | + | |
| - | * Questions regarding the transition | + | |
| - | * Issues during conversion | + | |
| - | * Handling of complex or macro-enabled files | + | |
| + | The IT Center supports you via // | ||
| + | * Questions regarding the migration | ||
| + | * Problems during conversion | ||
| + | * Handling complex or macro-enabled files | ||