Not Defteri

Akılda duracagına burda dursun

Enabling SandBox Solutions on Domain Controller

if you install SharePoint 2010 Development Machnine on a Domain Controller, SandBox Solutions is Disabled. To solve this problem, you can run a PowerShell script;

$acl = Get-Acl HKLM:\System\CurrentControlSet\Control\ComputerName
$person = [System.Security.Principal.NTAccount]“Users”
$access = [System.Security.AccessControl.RegistryRights]::FullControl
$inheritance = [System.Security.AccessControl.InheritanceFlags]“ContainerInherit,ObjectInherit”
$propagation = [System.Security.AccessControl.PropagationFlags]::None
$type = [System.Security.AccessControl.AccessControlType]::Allow
$rule = New-Object System.Security.AccessControl.RegistryAccessRule($person, $access,$inheritance, $propagation, $type)
$acl.AddAccessRule($rule)
Set-Acl HKLM:\System\CurrentControlSet\Control\ComputerName $acl

Save this script as sandbox.ps1 and execute.

Posted: Jun 22 2010, 04:05 by kkaradag | Comments (1) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: SharePoint 2010

Comments

blog.softartisans.com said:

pingbackPingback from blog.softartisans.com

SharePoint 2010 Sandbox Solution Failure with Single Dot Path  |  SoftArtisans, Blogged   SharePoint 2010 Sandbox Solution Failure with Single Dot Path  | The Cathedral and the Bizarre

# December 14 2011, 06:38

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading