Thank you for the reply. Quick question: after running the script (and specifying no File and Printer sharing), my user folder and all subfolders now have "state:shared" in their lower bar. Is this expected behaviour? (clean install of Windows 10 LTSC). EDIT: Please ignore! I'm assuming that the above issue is caused by dual booting two versions of Windows, and granting each access to the other install's User folder. Thanks again for the excellent script.