Cannot Index Into a Null Array
hello there ;
Today I found myself quite annoyed upon finding out Microsoft Edge still had an entry in the Apps section of Windows 10's Settings ; even though I had already ran an —albeit different— debloater months ago. The app is labelled as being worth short of a few kilobytes, indicating that it did in fact not get reinstalled, to which I rejoice ; although it still shows up at all, and that bothers me.
So I tried running your debloater in the hope that it may fully remove this piece of garbage Microsoft has been enforcing onto us (EU, please, save us), and I was quite unpleasantly surprised to find out that it is not able to handle missing registry files (i.e. empty reg key), and instead of skipping any problematic step, it will resort to outright crashing, outputting the following message :
Cannot index into a null array.
At line:1 char:4
+ & {iex((gp 'Registry::HKEY_Users\S-1-5-21*\Volatile*' Edge_Removal -e ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
Which leads me to believe that it has trouble running after another debloater (and even potentially after itself ?), which I find odd.
That's the script copying itself in the temporary registry by design, not some random non-existing key. So either a copy-paste error occurred, or AV is blocking it.
If I run it from powershell_ise or shell it does that... very strange script ... bat script that calls powershell ... I do that to bypass AV but there's no need here ? only way I can get it to run is if I rightclick and "run as administrator " or whatver
- can't run it in admin cmd line
- can't right click it and run as admin
- I don't even remember how I got it to run beforen now ..