Closed alvillar closed 2 months ago
Is this the de-bloat script? I can't see any open quotes on line 172
This is a screenshot, sorry I can't get more data from the computer yet...
PS C:\ProgramData\Debloat> .\removebloat.ps1 En C:\ProgramData\Debloat\removebloat.ps1: 172 Carácter: 26
Token 'جميع"
$builtin = "مدمج"
}
"bg-BG" {
$everyone = "Ð’Ñички"
$builtin = "Вграден"
}
"cs-CZ" {
$everyone = "VÅ¡ichni"
$builtin = "Vestavěný"
}
"da-DK" {
$everyone = "Alle"
$builtin = "Indbygget"
}
"de-DE" {
$everyone = "Jeder"
$builtin = "Integriert"
}
"el-GR" {
$everyone = "Όλοι"
$builtin = "ΕνσωματωμÎνο"' inesperado en la expresión o la instrucción.
En C:\ProgramData\Debloat\removebloat.ps1: 223 Carácter: 6
Token 'hr-HR" {
$everyone = "Svi"
$builtin = "Ugrađeni"
}
"hu-HU" {
$everyone = "Mindenki"
$builtin = "BeépÃtett"
}
"it-IT" {
$everyone = "Tutti"
$builtin = "Incorporato"
}
"ja-JP" {
$everyone = "ã™ã¹ã¦ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼"
$builtin = "ビルトイン"' inesperado en la expresión o la instrucción.
En C:\ProgramData\Debloat\removebloat.ps1: 240 Carácter: 29
Token '사용ìž"
$builtin = "기본 ì œê³µ"
}
"lt-LT" {
$everyone = "Visi"
$builtin = "Įmontuotas"
}
"lv-LV" {
$everyone = "Visi"
$builtin = "Iebūvēts"
}
"nb-NO" {
$everyone = "Alle"
$builtin = "Innebygd"
}
"nl-NL" {
$everyone = "Iedereen"
$builtin = "Ingebouwd"
}
"pl-PL" {
$everyone = "Wszyscy"
$builtin = "Wbudowany"
}
"pt-BR" {
$everyone = "Todos"
$builtin = "Integrado"
}
"pt-PT" {
$everyone = "Todos"
$builtin = "Incorporado"
}
"ro-RO" {
$everyone = "Toată lumea"
$builtin = "Incorporat"
}
"ru-RU" {
$everyone = "Ð’Ñе' inesperado en la expresión o la instrucción.
En C:\ProgramData\Debloat\removebloat.ps1: 297 Carácter: 42
Token 'รื่à¸à¸‡"
}
"tr-TR" {
$everyone = "Herkes"
$builtin = "YerleÅŸik"
}
"uk-UA" {
$everyone = "Ð’ÑÑ–"
$builtin = "Вбудований"
}
"zh-CN" {
$everyone = "所有人"
$builtin = "内置"
}
"zh-TW" {
$everyone = "所有人"
$builtin = "內建"
}
default {
$everyone = "Everyone"
$builtin = "Builtin"
}
}
############################################################################################################
# Remove AppX Packages #
# #
############################################################################################################
#Removes AppxPackages
$WhitelistedApps = @(
'Microsoft.WindowsNotepad',
'Microsoft.CompanyPortal',
'Microsoft.ScreenSketch',
'Microsoft.Paint3D',
'Microsoft.WindowsCalculator',
'Microsoft.WindowsStore',
'Microsoft.Windows.Photos',
'CanonicalGroupLimited.UbuntuonWindows',
'Microsoft.MicrosoftStickyNotes',
'Microsoft.MSPaint',
'Microsoft.WindowsCamera',
'.NET Framework',
'Microsoft.HEIFImageExtension',
'Microsoft.ScreenSketch',
'Microsoft.StorePurchaseApp',
'Microsoft.VP9VideoExtensions',
'Microsoft.WebMediaExtensions',
'Microsoft.WebpImageExtension',
'Microsoft.DesktopAppInstaller',
'WindSynthBerry',
'MIDIBerry',
'Slack',
'Microsoft.SecHealthUI',
'WavesAudio.MaxxAudioProforDell2019',
'Dell Optimizer Core',
'Dell SupportAssist Remediation',
'Dell SupportAssist OS Recovery Plugin for Dell Update',
'Dell Pair',
'Dell Display Manager 2.0',
'Dell Display Manager 2.1',
'Dell Display Manager 2.2',
'Dell Peripheral Manager',
'MSTeams',
'Microsoft.Paint',
'Microsoft.OutlookForWindows',
'Microsoft.WindowsTerminal',
'Microsoft.MicrosoftEdge.Stable'
)
##If $customwhitelist is set, split on the comma and add to whitelist
if ($customwhitelist) {
$customWhitelistApps = $customwhitelist -split "' inesperado en la expresión o la instrucción.
En C:\ProgramData\Debloat\removebloat.ps1: 368 Carácter: 53
Did you download the raw file, or just copy and paste from the browser?
it was downloaded using the script to deploy it using intune...
https://github.com/andrew-s-taylor/public/blob/main/De-Bloat/debloat-intune-script.ps1
Something has gone very wrong with the encoding there. Can you try deleting the file and re-downloading and see if they display properly. If it still fails, let me know your Windows versions and language settings and I'll do some testing
I've just pushed a new version, can you try that please?
Same result... This is the script that was previously downloaded...
Windows 11 Pro Version: 10.0.22621 Compilation 22621 regional setting: es-mx
That's still 5.0.27, make sure it downloads 5.0.28
It seems that works!
Probably when I first try it, it wasn't updated yet by github...
I'm checking that the process works automatically.. I'll let you know after the tests...
Excellent, fingers crossed!
Hello,
I'm getting an error on the script as it tries to run and the main issue is on the locale
Line 172 as it leaves the quotes open and everything else fails...
also in line 223
I try to manually remove the locales and works.. so probably that is causing the issue
Thanks!