Setting wwroot permissions on IIS
When relocating the wwwroot on IIS to a different drive, robocopy can be used as an easy way of setting the permissions correctly on the new folder.
robocopy C:\inetpub\wwroot D:\inetpub\wwroot /E /COPY:SOU /xo /xn /xc /xx
the /COPY:SOU switch will copy everything except the data to the new location.
Written by 19nine78
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Permissions
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#