Closed xinxilas closed 5 years ago
This isn't from my script. No idea where you got it.
The problem may be that under option 2, the registry key isn't created before its property is set. There should be a New-Item
call in similar fashion as it is under option 1. You can crosscheck it with what I have in the script:
I have Windows 1803, and the folder wasnt removed
Is there anything wrong with this line? If($Win10Ver -ge 1709){ From here: