top of page
Search

(189) Microsoft Intune - Install WordPad

  • Writer: Mr B SOE way
    Mr B SOE way
  • 19 hours ago
  • 1 min read

Microsoft deprecated Wordpad as of 1st Sept 2023 https://learn.microsoft.com/en-us/windows/whats-new/deprecated-features#:~:text=WordPad,deprecated%20features which applies to Windows 11 24H2 and above. An education customer who requires Wordpad to be reinstated reach out to me to get it reinstalled as they were on Windows 11 25H2.


What I needed to do is setup a VM with Windows 11 23H2, navigated to C:\Program Files\Windows NT\Accessories\ - copied the files over where the package looks like this:


ree









Install.ps1 consists of:



#region Config
$AppName = $PName + "_"+ $Pversion +"_Package"
$client = "MR B SOE Way"
$logPath = "$env:ProgramData\$client\logs"
$logFile = "$logPath\Installing Word Pad.log"

#endregion
#region Logging
if (!(Test-Path -Path $logPath)) {
    New-Item -Path $logPath -ItemType Directory -Force | Out-Null
}


Start-Transcript -Path $logFile -Force

Write-Host "Installing Word Pad...."

Copy-Item -Path "$PSScriptRoot\wordpad.exe" -Destination "C:\Program Files\Windows NT\Accessories\wordpad.exe"
Copy-Item -Path "$PSScriptRoot\WordpadFilter.dll" -Destination "C:\Program Files\Windows NT\Accessories\WordpadFilter.dll"
Copy-Item -Path "$PSScriptRoot\wordpad.exe.mui" -Destination "C:\Program Files\Windows NT\Accessories\en-US\wordpad.exe.mui"
Copy-Item -Path "$PSScriptRoot\Wordpad.lnk" -Destination "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Wordpad.lnk"

Write-Host "Script completed successfully.."
Stop-Transcript

Detect.ps1 consists of:


if (test-path "C:\Program Files\Windows NT\Accessories\wordpad.exe"){"Installed"} 

When installing from Company Portal, you will see Wordpad installed successfully.

ree

 
 
 

Comments


bottom of page