Script Download: 26704.ziphttp://gallery.technet.microsoft.com/Set-permissions-on-752c1022
In Windows 8, users shared some folders with HomeGroup members. If the user restart the computer, other people will have no permission on shared folders. This script solves this.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery