On 2017-08-21 23:34, B00ze <
B00...@hotmail.com> wrote:
> On 2017-08-19 14:57, Docfxit <
doc...@theoffice.la> wrote:
>
>> I have used this code recently and it worked fine. Now when I use it on the same Win7 PC I get errors.
>>
>> @echo off
>> Reg Delete "HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v "PastIconsStream"=- /f
>> Reg Delete "HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v "IconStreams"=- /f
>> taskkill /f /IM explorer.exe
>> Start explorer.exe
>> cmd
>>
>> These are the errors I get:
>> ERROR: The system was unable to find the specified registry key or value.
>> ERROR: The system was unable to find the specified registry key or value.
>
> PastIconsStream"=- is fine for .reg files, but you are using Reg Delete, just specify the value name, do not pad with =-
>
> Regards,
Ah! Backup your keys first! I had created an extra TEST value in
TrayNotify, then deleted it with /v "TEST" and pressed F5 in RegEdit and
it had worked as expected, later I logged off and logged back in and ALL
the values in TrayNotify had disappeared! Freaking Windows; no idea what
happened but I suggest you backup stuff. Also, I think you have to kill
Explorer FIRST, THEN delete the keys and restart Explorer...
Best Regards,
--
! _\|/_ Sylvain /
B00...@hotmail.com
! (o o) Member:David-Suzuki-Fdn/EFF/Red+Cross/SPCA/Planetary-Society
oO-( )-Oo Drunken Borg: "Rsilience in floor tile. Wan'be similated?"