I am trying to run this command PsConfig -cmd secureresources in the Windows PowerShell ISE. But I am getting following errors:

Psconfig: The term 'Psconfig' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again...

The reason I am running this command so I can fix the search indexing issues which is explained in this forum:


Can you please help me to sort this issue out?

1 Answer 1


You can simply use the SharePoint Management Shell instead which has pathing for psconfig, but instead, use PowerShell. Initialize-SPResourceSecurity is the replacement for that specific command.

  • So you mean i can use Windows power shell and run this command instead? Initialize-SPResourceSecurity?
    – mak
    Commented May 13, 2016 at 16:40
  • 1
    You can use the SharePoint Management Shell, or if you use the standard Windows PowerShell, you need to first run Add-PSSnapin Microsoft.SharePoint.PowerShell in order to load the SharePoint PowerShell module. But yes, you can (should) use that cmdlet instead.
    – user6024
    Commented May 13, 2016 at 16:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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