Oct 18 2020 10:44 AM
my goal is to toggle the desktop icons on/off with one click (powershell script @ tasklist). i wrote the script below. it works the first time that i ran it (switch off). while the second run the reg key has changed, but after the explorer refreshed the reg key was set back to old value. with right-click and refresh desktop, everything works fine. i dont know what happens here and i've not found any help.
Oct 18 2020 01:13 PM
Oct 18 2020 01:20 PM
Oct 19 2020 10:19 AM