andrew-s-taylor / public

Public Scripts and Apps
GNU General Public License v3.0
459 stars 174 forks source link

Issue with the last release on the locales part #45

Closed alvillar closed 1 week ago

alvillar commented 1 week ago

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!

andrew-s-taylor commented 1 week ago

Is this the de-bloat script? I can't see any open quotes on line 172

alvillar commented 1 week ago

image

This is a screenshot, sorry I can't get more data from the computer yet...

alvillar commented 1 week ago

PS C:\ProgramData\Debloat> .\removebloat.ps1 En C:\ProgramData\Debloat\removebloat.ps1: 172 Carácter: 26

andrew-s-taylor commented 1 week ago

Did you download the raw file, or just copy and paste from the browser?

alvillar commented 1 week ago

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

andrew-s-taylor commented 1 week ago

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

andrew-s-taylor commented 1 week ago

I've just pushed a new version, can you try that please?

alvillar commented 1 week ago

removebloat.zip

Same result... This is the script that was previously downloaded...

Windows 11 Pro Version: 10.0.22621 Compilation 22621 regional setting: es-mx

andrew-s-taylor commented 1 week ago

That's still 5.0.27, make sure it downloads 5.0.28

alvillar commented 1 week ago

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...

andrew-s-taylor commented 1 week ago

Excellent, fingers crossed!