update-help Access to the path error

Welcome Forums General PowerShell Q&A update-help Access to the path error

This topic contains 4 replies, has 2 voices, and was last updated by

 
Participant
2 years, 6 months ago.

  • Author
    Posts
  • #35322

    Participant
    Points: 0
    Rank: Member

    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

    Keymaster
    Points: 1
    Rank: Member

    Are you definitely running the shell as Administrator?

  • #35337

    Participant
    Points: 0
    Rank: Member

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

  • #35338

    Keymaster
    Points: 1
    Rank: Member

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

  • #37167

    Participant
    Points: 0
    Rank: Member

The topic ‘update-help Access to the path error’ is closed to new replies.