Skip to content

Commit d871b3e

Browse files
authored
Merge pull request #5710 from TerryGLee/tglee-installation
[install] add JSON error info from DevComm
2 parents bdccab4 + e72fe5c commit d871b3e

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

docs/install/automated-installation-with-response-file.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,4 @@ The following example installs Visual Studio Enterprise with six common workload
153153
## See also
154154

155155
* [Visual Studio workload and component IDs](workload-and-component-ids.md)
156+
* [Troubleshoot network-related errors when you install or use Visual Studio](troubleshooting-network-related-errors-in-visual-studio.md)

docs/install/create-a-network-installation-of-visual-studio.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Create a network-based installation"
33
description: "Learn how to create a network install point for deploying Visual Studio within an enterprise."
4-
ms.date: 10/11/2019
4+
ms.date: 10/29/2019
55
ms.custom: "seodec18"
66
ms.topic: conceptual
77
helpviewer_keywords:
@@ -82,8 +82,9 @@ You must have an internet connection to complete this step. To create an offline
8282

8383
## Modify the response.json file
8484

85-
You can modify the response.json to set default values that are used when setup is run. For example, you can configure the `response.json` file to select a specific set of workloads selected automatically.
86-
See [Automate Visual Studio installation with a response file](automated-installation-with-response-file.md) for details.
85+
You can modify the response.json to set default values that are used when setup is run. For example, you can configure the `response.json` file to select a specific set of workloads selected automatically. See [Automate Visual Studio installation with a response file](automated-installation-with-response-file.md) for details.
86+
87+
And, if you run into a problem with the Visual Studio bootstrapper throwing an error when you pair it with a response.json file, see the "Failed to parse ID from parent process" section of the [Troubleshoot network-related errors when you install or use Visual Studio](troubleshooting-network-related-errors-in-visual-studio.md#error-failed-to-parse-id-from-parent-process) page for more information on what to do.
8788

8889
## Copy the layout to a network share
8990

@@ -213,7 +214,7 @@ Administrators can deploy Visual Studio onto client workstations as part of an i
213214
214215
> [!IMPORTANT]
215216
> To prevent an error, make sure that your full layout path is less than 80 characters.
216-
>
217+
217218
> [!TIP]
218219
> When executed as part of a batch file, the `--wait` option ensures that the `vs_enterprise.exe` process waits until the installation is complete before it returns an exit code.
219220
>
@@ -281,6 +282,7 @@ We have other support options available, too. For a list, see our [Feedback](../
281282
282283
- [Visual Studio administrator guide](visual-studio-administrator-guide.md)
283284
- [Update a network-based installation of Visual Studio](update-a-network-installation-of-visual-studio.md)
285+
- [Troubleshoot network-related errors when you install or use Visual Studio](troubleshooting-network-related-errors-in-visual-studio.md)
284286
- [Control updates to network-based Visual Studio deployments](controlling-updates-to-visual-studio-deployments.md)
285287
- [Visual Studio product lifecycle and servicing](/visualstudio/releases/2019/servicing/)
286288
- [Update Visual Studio while on a servicing baseline](update-servicing-baseline.md)

docs/install/troubleshooting-network-related-errors-in-visual-studio.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Troubleshoot network or proxy errors"
33
description: "Find solutions for network- or proxy-related errors that you might encounter when you install or use Visual Studio behind a firewall or a proxy server."
4-
ms.date: 05/22/2019
4+
ms.date: 10/29/2019
55
ms.topic: troubleshooting
66
helpviewer_keywords:
77
- "network installation, Visual Studio"
@@ -127,6 +127,19 @@ Enable connections for the following URLs:
127127
> [!NOTE]
128128
> Privately owned NuGet server URLs may not be included in this list. You can check for the NuGet servers that you are using in %APPData%\Nuget\NuGet.Config.
129129

130+
## Error: "Failed to parse ID from parent process"
131+
132+
You might encounter this error message when you use a Visual Studio bootstrapper and a response.json file on a network drive. The error's source is the User Account Control (UAC) in Windows.
133+
134+
Here's why this error can happen: A mapped network drive or [UNC](/dotnet/standard/io/file-patch-formats#unc-paths) share is linked to a user's access token. When UAC is enabled, two user [access tokens](/windows/win32/secauthz/access-tokens) are created: One *with* administrator access, and one *without* administrator access. When network drive or share is created, the user's current access token is linked to it. Because the bootstrapper must be run as administrator, it won't be able to access the network drive or share if either the drive or the share isn't linked to a user access token that has administrator access.
135+
136+
### To fix this error
137+
138+
You can use the `net use` command or you can change the UAC Group Policy setting. For more information about these workarounds and how to implement them, see the following Microsoft support articles:
139+
140+
* [Mapped drives are not available from an elevated prompt when UAC is configured to "Prompt for credentials" in Windows](https://support.microsoft.com/help/3035277/mapped-drives-are-not-available-from-an-elevated-prompt-when-uac-is-co)
141+
* [Programs may be unable to access some network locations after you turn on User Account Control in Windows operating systems](https://support.microsoft.com/en-us/help/937624/programs-may-be-unable-to-access-some-network-locations-after-you-turn)
142+
130143
[!INCLUDE[install_get_support_md](includes/install_get_support_md.md)]
131144

132145
## See also

0 commit comments

Comments
 (0)