update-help Access to the path error

This topic contains 4 replies, has 2 voices, and was last updated by Profile photo of Jeff Taylor Jeff Taylor 8 months ago.

  • Author
    Posts
  • #35322
    Profile photo of Jeff Taylor
    Jeff Taylor
    Participant

    Getting this error on a DEV DC that has my user account account in the BuiltIn\Administrators group.

    PS C:\> Update-Help -Credential Get-Credential
    Update-Help : Failed to update Help for the module(s) 'ActiveDirectory, GroupPolicy' with UI culture(s) {en-US} : Access to the path
    'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ActiveDirectory\en-US\about_ActiveDirectory.help.txt' is denied.
    At line:1 char:1
    + Update-Help -Credential Get-Credential
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : UnknownErrorId,Microsoft.PowerShell.Commands.UpdateHelpCommand

  • #35325
    Profile photo of Don Jones
    Don Jones
    Keymaster

    Are you definitely running the shell as Administrator?

  • #35337
    Profile photo of Jeff Taylor
    Jeff Taylor
    Participant

    yep. Administrator-ISE ...updates a lot except in this particular error

  • #35338
    Profile photo of Don Jones
    Don Jones
    Keymaster

    I'd verify the file permissions, then, as a next step.

  • #37167
    Profile photo of Jeff Taylor
    Jeff Taylor
    Participant

You must be logged in to reply to this topic.