SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have execute below script for disabling sandbox property for word automation services.

$sp = Get-SPServiceApplication | where {$_.TypeName.Equals("Word Automation Services")}
$sp.DisableSandbox = $true

but getting below exception..

enter image description here

How to disable sandbox property ?

because using Word Automation Services not generating pdf documents from word documents.

So i need to disable sandbox property..

Any Solutions...?


share|improve this question

Please check if you have Word Automation Services application is created in your farm. you can create using steps in

I could reproduce the error as below,on Line 1 $sp variable has null as the where didn't return any value

line 1: $sp = Get-SPServiceApplication | where {$_.TypeName.Equals("Word Automation Services1xyz")}

line 2: $sp.DisableSandbox = $true

line 3: $sp.Update()

Error details

Property 'DisableSandbox' cannot be found on this object; make sure it exists and is settable. At line:2 char:5 + $sp. <<<< DisableSandbox = $true + CategoryInfo : InvalidOperation: (DisableSandbox:String) [], RuntimeException + FullyQualifiedErrorId : PropertyNotFound You cannot call a method on a null-valued expression. At line:3 char:11 + $sp.Update <<<< () + CategoryInfo : InvalidOperation: (Update:String) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull

Hope this helps

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.