Author Posts

March 10, 2016 at 11:31 pm

Just updated my laptop form Windows 7 to 10 Ent. and when I open PS under Administrator context and run update-help, I get these errors.

PS C:\WINDOWS\system32> update-help
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\Microsoft.ActiveDirectory.Management.dll-help.xml' is denied.
At line:1 char:1
+ update-help
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Update-Help], Exception
+ FullyQualifiedErrorId : UnknownErrorId,Microsoft.PowerShell.Commands.UpdateHelpCommand

update-help : Failed to update Help for the module(s) 'NetworkController' with UI culture(s) {en-US} : Unable to connect to Help
content. The server on which Help content is stored might not be available. Verify that the server is available, or wait until the
server is back online, and then try the command again.
At line:1 char:1
+ update-help
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Update-Help], Exception
+ FullyQualifiedErrorId : UnableToConnect,Microsoft.PowerShell.Commands.UpdateHelpCommand

update-help : Failed to update Help for the module(s) 'StorageReplica' with UI culture(s) {en-US} : Unable to retrieve the HelpInfo
XML file for UI culture en-US. Make sure the HelpInfoUri property in the module manifest is valid or check your network connection and
then try the command again.
At line:1 char:1
+ update-help
+ ~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [Update-Help], Exception
+ FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand

I've seen a similar error on DCs as well.... what gives with the access denied? I'm a local admin and PowerShell is run under Administrator.

It's not even a User Profile path.

March 11, 2016 at 3:54 am

First check whether you have a proxy settings on your machine.

netsh winhttp show proxy

If you have a proxy connection then you can reset to bypass the proxy connection to update the help.

netsh winhttp reset proxy

update-help -verbose

Or you can set the proxy settings either entering the server name or importing from the IE

netsh winhttp set proxy proxy-server="server:8080"

netsh winhttp import proxy source=ie

If that does not works out then try out by creating a new webclient object

$webclient = New-Object System.Net.WebClient
$creds = Get-Credential
$webclient.Proxy.Credentials = $creds
update-help

update-help basically connects to a download URL which will redirect to another URL which has updated help files, so your machines might be having a connection problem with the MS download servers.

April 1, 2016 at 5:21 pm

The issue was that only the TRUSTED INSTALLER had permissions (Full Control) to change the file. I changed ownership to the local admin group and assigned full control to the file and was able to update help. Fixed this on both a Windows 2012 R2 DC and a Windows 10 Ent. wkstn.

PS C:\> Update-Help -Force -Module active* -Verbose
VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390743"
VERBOSE: Your connection has been redirected to the following URI: "http://download.microsoft.c
om/download/C/8/5/C8594BD4-011D-4EB6-981A-711D85A42AF9/"
VERBOSE: Performing the operation "Update-Help" on target "ActiveDirectory, Current Version: 5.
0.0.0, Available Version: 5.0.0.0, UICulture: en-US".
VERBOSE: ActiveDirectory: Updated C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\ActiveDire
ctory\en-US\Microsoft.ActiveDirectory.Management.dll-help.xml. Culture en-US Version 5.0.0.0