You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: MSIX App Attach/README.md
-139
Original file line number
Diff line number
Diff line change
@@ -107,142 +107,3 @@ MSIX app attach has four distinct phases that must be performed in the following
107
107
Each phase creates a PowerShell script. Sample scripts for each phase are available here.
108
108
109
109
After you've disabled automatic updates, you must enable Hyper-V because you'll be using the Mound-VHD command to stage and and Dismount-VHD to destage.
Before you update the PowerShell scripts, make sure you have the volume GUID of the volume in the VHD. To get the volume GUID:
115
-
116
-
- Open the network share where the VHD is located inside the VM where you'll run the script.
117
-
- Right-click the VHD and select Mount. This will mount the VHD to a drive letter.
118
-
- After you mount the VHD, the File Explorer window will open. Capture the parent folder and update the $parentFolder variable
119
-
- Open the parent folder. If correctly expanded, you'll see a folder with the same name as the package. Update the $packageName variable to match the name of this folder.
120
-
For example, VSCodeUserSetup-x64-1.38.1_1.38.1.0_x64__8wekyb3d8bbwe.
121
-
- Open a command prompt and enter mountvol. This command will display a list of volumes and their GUIDs. Copy the GUID of the volume where the drive letter matches the drive you mounted your VHD to in step 2.
122
-
For example, in this example output for the mountvol command, if you mounted your VHD to Drive C, you'll want to copy the value above C:\:
123
-
````
124
-
Possible values for VolumeName along with current mount points are:
125
-
126
-
\\?\Volume{a12b3456-0000-0000-0000-10000000000}\
127
-
*** NO MOUNT POINTS ***
128
-
129
-
\\?\Volume{c78d9012-0000-0000-0000-20000000000}\
130
-
E:\
131
-
132
-
\\?\Volume{d34e5678-0000-0000-0000-30000000000}\
133
-
C:\
134
-
````
135
-
- Update the $volumeGuid variable with the volume GUID you just copied.
136
-
- Open an Admin PowerShell prompt and update the following PowerShell script with the variables that apply to your environment.
- Configure user Group Policy loopback processing mode: Enable - Mode: merge.
225
-
226
-
## Preparing the golden master for the session hosts
227
-
To work with MSIX and have the script do the work you have to prepare your golden image:
228
-
229
-
- Make sure that you have installed the right version from the insider build
230
-
231
-
- Double-check that you have NOT prepared your image with the command line commands described in https://docs.microsoft.com/en-us/azure/virtual-desktop/app-attach#prepare-the-vhd-image-for-azure (Disable Store auto-update and so on). It’s only for the VM concerning the converting process.
232
-
233
-
- Copy the PSTools https://docs.microsoft.com/en-us/sysinternals/downloads/psexec to %Windir%\System32 (you need psexec later)
234
-
235
-
- Give the service GPSVC the right privileges to mount images:
0 commit comments