Skip to content

Instantly share code, notes, and snippets.

@akitaonrails
Created September 30, 2008 17:59
Show Gist options
  • Save akitaonrails/13894 to your computer and use it in GitHub Desktop.
Save akitaonrails/13894 to your computer and use it in GitHub Desktop.
Forces the Shared Access service to be enabled and started
SC sdset SharedAccess D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc config SharedAccess start= auto
net start sharedaccess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment